On Wed, 10 Nov 2010 13:07:58 +0000, Martin Gregorie wrote: > FWIW the thing that really irritated me about fetchmail is the way it > only deletes messages at the end of a session and never cleans up after > itself. If a session gets timed out or otherwise interrupted the messages > that were read in it are left in the server's mail marked 'read'. > Subsequent sessions won't re-read them but won't go expunge them either. > This leads to a gradual build-up of read but not expunged messages in the > server's mailbox.
The --flush option will delete any "seen" messages before retrieving new messages. The --fetchall option will retrieve both seen and unseen messages. -- http://mail.python.org/mailman/listinfo/python-list