On Sun, 2004-11-21 at 10:16 -0500, Sam Varshavchik wrote: > Ow Mun Heng writes: > > > On Sun, 2004-11-21 at 22:02, Sam Varshavchik wrote: > >> Jeff Vian writes: > >> > >> > IMAP and POP3 do not actually do a delete on the server when a session > >> > is still in progress. Having fetchmail terminate the session and start > >> > a new one will trigger the delete on the server for those messages you > >> > already have seen. > >> > >> No it won't. > > > > Yes it will > > > > [snip from man fetchmail] > > -e <count> | --expunge <count> > > Fetchmail is not a specification of the IMAP or the POP3 protocol. No one has said fetchmail is part of the POP3 or IMAP protocols. However, the OP is using fetchmail to retreive his mail, and is having the problem with duplicate messages due to improper ending of the sessions. Fixing fetchmail is the issue, and how it interacts with POP3 and IMAP is the cause. We are providing a solution for the problem, not railing on a particular protocol or package. Please address the entire picture, not just the puzzle piece.