Expunging IMAP mailbox via cronjob : possible?
Garrett Cooper
youshi10 at u.washington.edu
Sun Oct 8 15:03:03 PDT 2006
Garrett Cooper wrote:
> I know this isn't really a FreeBSD question, but I was wondering if
> there was a means available where I can expunge my email automatically
> from my IMAP inboxes / folders (I have a wide variety of custom
> folders). I just find it tedious logging in via SSH to each host with
> pine and expunging the contents of the folder one-by-one, and there's
> no way in hell I'm going to use an M$ based mailclient (Outlook
> Express, Outlook) to do the same.
> Thanks,
> -Garrett
Nevermind--I think I found out how to do this with Perl:
<http://search.cpan.org/~cwest/Net-IMAP-Simple-0.95/lib/Net/IMAP/Simple.pm>.
-Garrett
More information about the freebsd-questions
mailing list