I read throught the archives and found the thread below...
I'm using fetchmail 5.6 and had this problem yesterday..
my ISP informed me that qmail on their server does no checking of
messages for validity and just dumps them into my pop box.
I'm using fetchmail like this...
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
set daemon 60
poll mailserver.here.com with proto IMAP
user 'brad' there with password 'xxxx' is 'bwlang' here options
fetchall
I can manually delete the message by telnetting to port 110
why can't fetchmail do the same?
is this only a problem with a qmail server?
brad
Ian Young iyoung(_at_)one(_dot_)net
Sat, 6 Apr 2002 18:23:16 -0500
Ideally, there'd be an option to delete the message on the nth
try, replacing the body text with the error (since otherwise, I get
a copy of the message, with no body, delivered to my local MTA,
over and over and over)
I'd rather delete malformed mail than get endless copies
of it.
-----Original Message-----
From: Eric S Raymond [mailto:esr(_at_)thyrsus(_dot_)com]
Sent: Thursday, April 04, 2002 11:10 AM
To: Ian Young
Cc: fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
Subject: Re: [fetchmail]Fetchmail chokes on spam I can't seem to
avoid:
"message delimiter found while scanning headers"
Ian Young <iyoung(_at_)one(_dot_)net>:
> I keep getting wonderful emails from
"esteban3(_at_)fullmanagement(_dot_)com"
> that don't have CR/LF after the headers, and fetchmail never
retrieves the
> message and loops forever until I log in and delete the mail
interactively.
>
> Is there a way to avoid this sort of behavior? ...through spam
filtering
in
> fetchmail, or configuring it to just drop poorly constructed
messages? (I
> can't filter on the remote mail server, and I'm stuck with POP3 :(
)
There is currently no good way for fetchmail to handle this. I'm
open
to suggestions.