From: John F. <jo...@mi...> - 2004-06-21 18:32:05
|
I use fetchmail 6.2.3 passing mail onto postfix via smtp. Occasionally, I get a malformed email in my isp mailbox with an envelope from address like this peter@61.172.247.54. That is unacceptable to postfix which gives a 501 response straight after MAIL FROM This is part of the SMTP session: In: MAIL FROM:<peter@61.172.247.54> SIZE=240722 Out: 501 Bad address syntax In: RSET Out: 250 Ok However the mail stays on the pop server and mail just piles up there until I enter and cancel it manually. Once I cancel that mail, everything proceeds ok. I'm not interested in the contents of the message (it originates from a worm) but I don't like the need for manual intervention to get things unblocked. This is what fetchmail logs Jun 21 18:18:47 turate fetchmail[1145]: 1 message for isp...@ng... at pop.ngi.it (240722 octets). Jun 21 18:18:47 turate fetchmail[1145]: reading message isp...@ng...@pop.ngi.it:1 of 1 (240722 octets) Jun 21 18:18:48 turate fetchmail[1145]: flushed Jun 21 18:18:48 turate fetchmail[1145]: client/server protocol error while fetching from pop.ngi.it Jun 21 18:18:48 turate fetchmail[1145]: Query status=4 (PROTOCOL) Jun 21 18:18:56 turate fetchmail[1145]: sleeping at Mon Jun 21 18:18:56 2004 Here's fetchmailrc set daemon 300 set postmaster fet...@mi... set no bouncemail set no spambounce set syslog poll "pop.ngi.it" protocol pop3 interval 1 no envelope username "isp...@mu..." password "xxxxxxx" is loc...@mi... here fetchall smtphost mail.michaweb.net antispam 501 Any ideas while fetchmail cannot delete the message? Thanks, John |