Bug#317093: fetchmail: does not delete downloaded messages before finishing downloading everything
On 06-Jan-07 16:08, Matthias Andree wrote: This looks like the regular POP3 safety measure to not delete messages unless the session completes with a QUIT command. Please try the uidl option and see if it helps. Note we will close the report in a few week if you don't reply to Goswin's and my questions. Go ahead, and close it. I have checked, and true enough, the POP3 server won't delete the messages if the connection is just dropped. I will give uidl a try, thanks for the suggestion. Cheers, Gabor -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317093: fetchmail: does not delete downloaded messages before finishing downloading everything
tags 317093 upstream wontfix thanks This looks like the regular POP3 safety measure to not delete messages unless the session completes with a QUIT command. Please try the uidl option and see if it helps. Note we will close the report in a few week if you don't reply to Goswin's and my questions. Regards, -- Matthias Andree -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317093: fetchmail: does not delete downloaded messages before finishing downloading everything
Hi, I'm assuming you are using pop to download your mails, right? The pop protocol has an inherent flaw that deletion of mail differs between implementations. Some implementations will delete the mails you fetched when the connection is broken while other require a correct goodby message at the end of the fetch cycle before they delete anything. So there is nothing fetchmail can do to fix this problem directly. What fetchmail can do is: - not download messages it downloaded already This should be the default. I don't remeber ever changing anything there and fetchmail skips already seen messages when my mailserver fails to delete some on a previous cycle. You might hit the following (from man fetchmail): Note that while running in daemon mode polling a POP2 or IMAP2bis server, transient errors (such as DNS failures or sendmail delivery refusals) may force the fetchall option on for the duration of the next polling cycle. This is a robustness feature. It means that if a mes- sage is fetched (and thus marked seen by the mailserver) but not deliv- ered locally due to some transient error, it will be re-fetched during the next poll cycle. (The IMAP logic doesn't delete messages until they're delivered, so this problem does not arise.) - only fetch a limited number of mails total in one go - terminate and reestablish the connection every few mails -B number | --fetchlimit number (Keyword: fetchlimit) Limit the number of messages accepted from a given server in a single poll. By default there is no limit. An explicit --fetchlimit of 0 overrides any limits set in your run control file. This option does not work with ETRN or ODMR. -e count | --expunge count (keyword: expunge) Arrange for deletions to be made final after a given number of messages. Under POP2 or POP3, fetchmail can- not make deletions final without sending QUIT and ending the session -- with this option on, fetchmail will break a long mail retrieval session into multiple subsessions, sending QUIT after each sub-session. This is a good defense against line drops on POP3 servers that do not do the equivalent of a QUIT on hangup. ... I believe you will want to add something like -e 100 to your fetchmail config. Avoid too low a value (like 1) as breaking and remaking the connection costs extra time. MfG Goswin PS: If this solves your problem plese send a mail to [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317093: fetchmail: does not delete downloaded messages before finishing downloading everything
Package: fetchmail Version: 6.2.5-12 Severity: normal I connect to the Internet using a dialup connection. Fetchmail fetches the mails. After fetching one, it logs that it is flushed. However, if the dialup link is broken, it seems that the flushed messages are not deleted. When I reconnect to the net, and restart fetchmail, it starts to get all the messages again. If I have a lot of mails waiting, and my connection keeps breaking, I can receive the same mails 3-4 times. This is quite embarassing. A bigger problem is that with my freemail account, I can connect to my freemail account for 10 minutes only. The problem is that when I have a lot of mails, in 10 minutes fetchmail does not finish. When I can reconnect, fetchmail starts with the already downloaded messages again, and there's no way fetchmail can finish with my mails. So I have to connect manually, dele the already downloaded mails by hand, so that fetchmail can download the rest. I would like fetchmail to delete the mails that it could deliver. Cheers, Gabor -- System Information: Debian Release: 3.1 APT prefers sarge APT policy: (99, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.23 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages fetchmail depends on: ii adduser 3.63 Add and remove users and groups ii base-files 3.1.2Debian base system miscellaneous f ii debconf 1.4.30.13Debian configuration management sy ii debianutils 2.8.4Miscellaneous utilities specific t ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libssl0.9.7 0.9.7e-3 SSL shared libraries -- debconf information: * fetchmail/confwarn: * fetchmail/systemwide: true * fetchmail/initdefaultswarn: * fetchmail/runasroot: true fetchmail/fetchidswarn: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]