From: Frederic M. <fre...@wo...> - 2006-05-08 12:48:04
|
Hello, I quote the man page of version 6.3.2: -F | --flush POP3/IMAP only. Delete old (previously retrieved) messages from the mailserver before retrieving new mes- sages. This option does not work with ETRN or ODMR. Warning: if your local MTA hangs and fetchmail is aborted, the next time you run fetchmail, it will delete mail that was never delivered to you. What you probably want is the default setting: if you don't specify `-k', then fetchmail will automatically delete messages after successful delivery. Is it still true that a mail is lost if the MTA hangs ? It sounds like a known bug and may have been fixed in the code but not in the man page. I explain my situation: if the connection with the pop3 server drops, all the DELE commands are forgotten (as required by the pop3 protocol if I understand it right) and the mails reappear on the next poll. But since fetchmail knows about those messages, it ignores them and doesn't delete them either. They keep showing up in the UIDL at every poll and remain on the server until I delete them manually. The -F option solves this problem but I don't want to loose any mail. Frederic |