fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]no '\n' at the last line

2004-10-14 05:13:08
On Sat, Oct 09, 2004 at 11:04:09AM -0300, Rodolfo Borges wrote:
On Fri, Oct 08, 2004 at 10:14:09AM +0200, Matthias Andree wrote:
Rodolfo Borges <barrett(_at_)9hells(_dot_)org> writes:

There's a nasty spam without a '\n' on the last line.
Fetchmail retrieves it, but when delivering to the local SMTP,
it includes the final ".\n" on this last line, so there's
no ".\n" to end the transaction, and it hangs there until
the timeout.

How can we work around this?

Which fetchmail version?

6.2.5
I wouldn't report a problem before trying the latest version.


Does the forcecr option help?

This is new to me! Thanks, I'll try it..

No, it does not help.  :(

I just left the .fetchmailrc as it was, and waited for another offending
message.  I keep watching a tail -f on the log file to detect the problem..
Today I saw it was stalled, so I
$ kill `pidof fetchmail`
$ echo forcecr >> ~/.fetchmailrc
and restarted it, just to see it still stalls.


Maybe I should try to patch fetchmail myself?

Or just write a script that watches the logfile, detect the situation,
and telnet mail.example.com 110 to delete the message.

-- 
rodolfo
barrett(_at_)9hells(_dot_)org


<Prev in Thread] Current Thread [Next in Thread>