From: Sunil S. <sh...@bo...> - 2005-08-29 12:38:04
|
Hi, Quoting from Matthias Andree's mail on Sun, Aug 21, 2005 at 11:12:45PM +0200: > Rob MacGregor <rob...@gm...> writes: > > > On 21/08/05, David Laight <dav...@l8...> wrote: > >> > >> But, IIRC, the code got broken at some point. > >> ISTR patching my local copy. > > > > Then report the bug to the fetchmail-devel list, detailing what you > > believe is broken. > > No need, I found a similar report (IIRC in bugs.debian.org) and > investigated. The upcoming fetchmail release and IIRC the latest -pre > release from BerliOS.de also will delete oversized messages if NOT run > in daemon mode - be sure to use the --flush option. The 'flush' option is very dangerous as it can even delete mails which have been read by another email client. In particular, if one has the habit of checking a remote mailbox through an interactive email client, new mails can get marked as read. Then, when fetchmail polls that mailbox, it will think that those mails have already been downloaded and just delete those mails due to the 'flush' option. Here, I am assuming a setup like: poll server protocol imap # or "pop3 no uidl" fetchall limit 1000000 flush # this has been put to delete oversized only Without the 'flush' option, mails which are read through another email client also get downloaded without problems. With the 'flush' option, such apparently read mails get deleted. I had created a patch which adds another option to fetchmail. The old patch (against 6.2.4) along with some discussion can be found at: <http://lists.ccil.org/pipermail/fetchmail-friends/2003-October/008017.html>. Eric was against adding new options, hence that patch was not accepted then. If the idea of the above patch is acceptable, I can recreate it for the latest fetchmail. In any case, it would be better if the 'flush' option is not overloaded to delete oversized mails. -- Sunil Shetye. |