fetchmail-friends
[Top] [All Lists]

[fetchmail]How it works

2005-06-22 07:49:37
There has been talk about keep, flush, fetchall.  I don't think I get
how flush works.

The man page says:

--  POP3/IMAP  only.   Delete  old  (previously retrieved) messages
              from the mailserver before retrieving new messages. 
<snip>



That implies to me that after it reads the message, the next time
through it will be deleted.

What is not clear to me (except for what I see when testing) is that
does it wait until the entire session is completed before it deletes
them?

I had about 107 messages in my pop3 mailbox and started downloading
them.  Just for fun I unplugged my ethernet cable to see what would
happen.

As I expected fetchmail stopped.  

When I plugged back in and ran fetchmail again, it started skipping some
of the messages through #17.  I then let it read a few more, through to
about 40 and did it again.

I thought it would have skipped the messages up through 40 the next
time, however, it just skipped the first 17 again.

This implies that it would only delete the messages after a completely
successful session.

I wonder what I am doing wrong.  Here is the fetchmail snippet:
server postoffice.prserv.net:
        proto pop3;
        user popuser there password "userpass" is username here;
flush

I'm using fetchmail-6.2.5-6
Thanks.

Barsalou <barjunk(_at_)attglobal(_dot_)net>



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