[pkg-fetchmail-maint] Bug#494418: fetchmail loses mail when From address malformed

bruce robson bns_robson at hotmail.com
Sat Aug 9 10:16:57 UTC 2008


Package: fetchmail
Version: 6.3.9~rc2-3
Severity: grave

I'm running lenny/testing and have fetchmail fetching mail from pop3 mailboxes and
passing it to exim (packages exim4, exim4-base, exim4-config and exim4-daemon-light
all version 4.69-6).

fetchmail has just lost 3 out of 10 messages. I think because the From address
in the message is malformed.

Fetchmail needs to be able to deliver messages with malformed From addresses.
The From line is quite likely to be malformed as the pop3 server uses the SMTP
envelope From address when placing the message in the pop3 mailbox.
In fact the pop3 server recorded the envelope-from address in the received
line it added.

If fetchmail can't get a valid From address by parsing the message it should make
one up (e.g mailer-daemon at localhost).

/var/log/mail.log contains
Aug  9 10:20:52 compaq fetchmail[2642]: awakened at Sat Aug  9 10:20:52 2008
Aug  9 10:21:03 compaq fetchmail[2642]: 10 messages for bns_robson at pop.mail.yahoo.co.uk (26810 octets).
Aug  9 10:21:04 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:1 of 10 (3773 octets) flushed
Aug  9 10:21:04 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:2 of 10 (979 octets) (log message incomplete)
Aug  9 10:21:04 compaq fetchmail[2642]: SMTP error: 501 : domain missing or malformed
Aug  9 10:21:04 compaq fetchmail[2642]:  flushed
Aug  9 10:21:04 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:3 of 10 (1554 octets) (log message incomplete)
Aug  9 10:21:04 compaq fetchmail[2642]: SMTP error: 501 : domain missing or malformed
Aug  9 10:21:04 compaq fetchmail[2642]:  flushed
Aug  9 10:21:05 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:4 of 10 (1831 octets) flushed
Aug  9 10:21:05 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:5 of 10 (3775 octets) flushed
Aug  9 10:21:05 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:6 of 10 (3418 octets) flushed
Aug  9 10:21:06 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:7 of 10 (3729 octets) flushed
Aug  9 10:21:06 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:8 of 10 (2561 octets) flushed
Aug  9 10:21:07 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:9 of 10 (4271 octets) flushed
Aug  9 10:21:07 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:10 of 10 (919 octets) (log message incomplete)
Aug  9 10:21:07 compaq fetchmail[2642]: SMTP error: 501 : domain missing or malformed
Aug  9 10:21:07 compaq fetchmail[2642]:  flushed
Aug  9 10:21:07 compaq fetchmail[2642]: sleeping at Sat Aug  9 10:21:07 2008 for 300 seconds

/var/log/mail.err contains
Aug  9 10:21:04 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:2 of 10 (979 octets) (log message incomplete)
Aug  9 10:21:04 compaq fetchmail[2642]: SMTP error: 501 : domain missing or malformed
Aug  9 10:21:04 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:3 of 10 (1554 octets) (log message incomplete)
Aug  9 10:21:04 compaq fetchmail[2642]: SMTP error: 501 : domain missing or malformed
Aug  9 10:21:07 compaq fetchmail[2642]: reading message bns_robson at pop1.mail.vip.ukl.yahoo.com:10 of 10 (919 octets) (log message incomplete)
Aug  9 10:21:07 compaq fetchmail[2642]: SMTP error: 501 : domain missing or malformed

/var/log/exim4/mainlog shows 7 messages being received but doesn't show anything for the 3 lost messages.


_________________________________________________________________
Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia Contest
http://www.gowindowslive.com/summergames?ocid=TXT_TAGHM




More information about the pkg-fetchmail-maint mailing list