fetchmail-friends
[Top] [All Lists]

[fetchmail]Fetchmail stops - incorrect header line found while scanning headers

2005-12-12 23:53:45
Hi fetchmail-friends.

I am a fetchmail newbie.
It is mostly working fine. MTA is postfix with amavis (spamassasin).

I use Version 6.2.3+POP2+RPA+NTLM+SDPS+SSL+OPIE+NLS
on Linux suse-pound 2.4.21-297-default

I found some informations in the web regarding my problem. But there was only 
one solution and that didn't work. I tried many different options.


Sometimes fetchmails fetches mails with a incorrect header / message delimiter. 
Mostly spam mails with an attachment. But fetchmail tries to fetch the mail 
every poll cycle and so very cycle i will get the same mail in my inbox (only 
Headers and subject - without the attachment)
This error accours until i delete the mail manualy on the POP3 server using 
telnet.

Can somebody help me?

Best regards
Dirk

/root/.fetchmailrc looks:

set logfile "/var/log/fetchmail.log"
set postmaster "root"
set no bouncemail
set no spambounce
set showdots
set properties ""
set daemon 60

poll 'yyy.xxx.zzz.de' with proto POP3 and options no dns tracepolls
user 'abcde' there with password 'gfhijk' is 
'meyer(_at_)localhost(_dot_)12345(_dot_)6789(_dot_)de' here options no keep;

Logfile:

fetchmail: POP3< +OK message 1 (77373 octets)
fetchmail: reading message xxx(_at_)yyy(_dot_)de:1 of 6 (77373 octets)
fetchmail: About to rewrite Return-Path: <^M">Postmaster(_at_)Ebay(_dot_)com>^M 
Rewritten version is Return-Path: <^M">Postmaster(_at_)Ebay(_dot_)com>^M
fetchmail: About to rewrite From: Postmaster(_at_)Ebay(_dot_)com^M Rewritten 
version is From: Postmaster(_at_)Ebay(_dot_)com^M
fetchmail: About to rewrite To: x_mail-list(_at_)poper(_dot_)de^M Rewritten 
version is To: x_mail-list(_at_)poper(_dot_)de^M
fetchmail: incorrect header line found while scanning headers
fetchmail: SMTP< 220 suse-pound.poper.ipactiv.de ESMTP Postfix
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-suse-pound.poper.ipactiv.de
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 10240000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XVERP
fetchmail: SMTP< 250 8BITMIME
fetchmail: forwarding to localhost
fetchmail: SMTP> MAIL FROM:<Postmaster(_at_)Ebay(_dot_)com> BODY=7BIT SIZE=77373
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT TO:<yyyy(_at_)localhost(_dot_)yyyyy>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
fetchmail: message delimiter found while scanning headers
fetchmail: message xxx(_at_)yyyyv(_dot_)de:1 was not the expected length (676 
actual != 77373 expected)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok: queued as DB772138F0
fetchmail: flushed
fetchmail: POP3> DELE 1
fetchmail: POP3<
fetchmail: POP3> QUIT
fetchmail: POP3< --b422d96.112e86e782
fetchmail: client/server protocol error while fetching from yyyyy.de
fetchmail: 6.2.3 querying winroute.poper.ipactiv.de (protocol POP3) at Mon Dec 
12 09:57:03 2005: poll completed
fetchmail: Query status=4 (PROTOCOL)
<Prev in Thread] Current Thread [Next in Thread>