fetchmail-friends
[Top] [All Lists]

Re: [fetchmail] Script

2002-12-18 05:01:29
"Hierodeacon Peter" <DSFrPeter(_at_)starband(_dot_)net> writes:

The fetchmail FAQ states the following:

G5. I want to make fetchmail behave like Outlook Express.

The second-most-requested feature for fetchmail, after content-based
filtering, is the ability to have it remove messages from a maildrop after N
days, typically to be used with the keep option as a sort of poor man's
newsgroup facility. Microsoft's Outlook Express supports this.

This feature won't be added either. Repeat after me: fetchmail's job is
transport, not policy. If you want this, write a Perl or Python script, to
be run from a cron job, that deletes old messages off your maildrop. Send it
to me and I'll put it in the contrib directory.


Does anyone know of a script that is available that will do this?  I have
searched all over, and have not been able to locate one.

One such script is Charles Cazabon's getmail (in Python)
<URL:http://www.qcc.ca/~charlesc/software/getmail-2.0/>, which also does
the "transport" part, but without TLS, SSL or IMAP support, it just
speaks plain POP3, possibly with APOP, and has the delete_after feature
you're asking for. It doesn't go without fetching first, though. For
SSL, you could resort to stunnel though.

-- 
Matthias Andree

<Prev in Thread] Current Thread [Next in Thread>