From: Gary S. <ga...@ga...> - 2004-07-23 12:13:58
|
Hi, This is a problem which is on going on the fetchmail-friends list at ccil.org. I thought I would post it here as well in case people have migrated. Any help will would mich appreciated. +++++++++++++ I have a dial up connection and I am using latest fetchmail (6.2.5) to get the mail from a POP3 mailbox and I am using postfix (V1.1.11) as the local SMTP server and all this is running on RedHat 9.0. In general my email is getting through but I do get the following errors in my mail logs. Jul 18 13:25:51 exodus postfix/smtpd[25020]: warning: Illegal address syntax from unknown[127.0.0.1] in MAIL command: <column-greekthoughts-return-23-gary=gar...@li...ceived: (qmail 21055 invoked from network); 18 Jul 2004 07:09:56 -0000> It is about a message which I am expecting... I am guessing the error is occuring when fetchmail talks to postfix to submit the message for local delivery. Looking at the "illegal address" it is clear that the Received line is mixed in with the address. I have now traced one of my problem messages with fetchmail -v -v and this is what I get fetchmail: POP3> LIST 7 fetchmail: POP3< +OK 7 8568 fetchmail: POP3> TOP 7 99999999 fetchmail: POP3< +OK headers follow. reading message gar...@ma...:7 of 8 (8568 octets) About to rewrite Return-Path: <c615952fff0eb8febd27fbc7b1dd4792bdeb77a3023419e0f4063f69cReceived: (qmail 22262 invoked from network); 23 Jul 2004 04:01:03 -0000 Rewritten version is Return-Path: <c615952fff0eb8febd27fbc7b1dd4792bdeb77a3023419e0f4063f69cReceived: (qmail 22262 invoked from network); 23 Jul 2004 04:01:03 -0000 About to rewrite Reply-To: c61...@eb... Rewritten version is Reply-To: c61...@eb... About to rewrite From: "BBC daily email" <dai...@bb...> Rewritten version is From: "BBC daily email" <dai...@bb...> About to rewrite To: ga...@ga... Rewritten version is To: ga...@ga... fetchmail: forwarding to localhost fetchmail: SMTP> MAIL FROM:<c615952fff0eb8febd27fbc7b1dd4792bdeb77a3023419e0f4063f69cReceived: (qmail 22262 invoked from network); 23 Jul 2004 04:01:03 -0...@ma...> BODY=8BITMIME SIZE=8568 fetchmail: SMTP< 501 Bad address syntax fetchmail: SMTP error: 501 Bad address syntax fetchmail: SMTP< 220 exodus.aca-vulcan.ro ESMTP Postfix fetchmail: SMTP> HELO localhost fetchmail: SMTP< 250 exodus.aca-vulcan.ro fetchmail: SMTP> MAIL FROM:<FETCHMAIL-DAEMON@exodus> fetchmail: SMTP< 250 Ok fetchmail: SMTP> RCPT TO:<c615952fff0eb8febd27fbc7b1dd4792bdeb77a3023419e0f4063f69cReceived: (qmail 22262 invoked from network); 23 Jul 2004 04:01:03 -0000> fetchmail: SMTP< 501 Bad address syntax fetchmail: SMTP> QUIT fetchmail: SMTP< 221 Bye fetchmail: SMTP> RSET fetchmail: SMTP< 250 Ok ...... flushed fetchmail: POP3> DELE 7 fetchmail: POP3< +OK Deleted. Clearly the address which fetchmail is submitting to the SMTP server in the MAIL FROM command is broken. Of course the question is what was the origial like. The problem is that I don't know as the message has now been deleted. Before this I removed the antispam option from my fetchmailrc file. However the email is still being deleted even though it was not delivered or non-delivered. Is that behaviour correct? Any more clues? Thanks, Gary -- Gary Sims (ga...@ga...) Vulcan, Brasov, Romania |