From: Matthias A. <mat...@gm...> - 2007-04-15 14:27:42
|
(sorry Volker, this message was meant for the list, of course) On Sun, 15 Apr 2007, Volker Kuhlmann wrote: > On Sun 15 Apr 2007 22:04:25 NZST +1200, Antonio Capanna wrote: > > > Yes, the server sends invalid data, but IMHO fetchmail should NEVER > > lose a message (except where stated in the documentation), i.e.: > > - fetchmail understands the message -> it handles it and deletes it > > - fetchmail does not understand the message -> it forgets about it but > > does not delete it from the server. This means, it's true, that the > > message will be downloaded and discarded again all the subsequent > > times, > > In this case it would also be necessary to send a warning somehow, > because you're DoS'ing yourself: ignoring the wasted traffic, eventually > your mailbox at your mail provider will be full and no more mail is > accepted for you. Indeed. Well, a way in between would be to take junk at the beginning and prepend X-Fetchmail-Garbage-Before-Header: and consider the next invalid header the begin of the body and terminate the header there, put a message there and then continue - which might however corrupt MIME multiparts. Whatever fetchmail is doing at that time, someone will be upset... -- Matthias Andree |