[fetchmail]no '\n' at the last line
Rodolfo Borges
barrett@9hells.org
Thu, 14 Oct 2004 09:06:25 -0300
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@9hells.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@9hells.org