SA Bugzilla – Bug 4867
[review] UNPARSEABLE_RELAY is fetchmail
Last modified: 2006-05-01 20:33:24 UTC
i386 Fedora Core 5, spamassassin-3.1.0-5.fc5.2 The version of fetchmail I use (i386 FC5 - fetchmail-6.3.2.1-1.2) does not include an IP address in the 'Received:' line it adds, triggering an UNPARSEABLE_RELAY hit on all messages, ham or spam. e.g. Received: from imap.tiscali.co.uk by myhost.localnet with IMAP (fetchmail-6.3.2) for <me@mail.example.com> (multi-drop); Thu, 13 Apr 2006 07:00:18 +0100 (BST) Tracked it down to '/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Message/Metadata/Received .pm', line 1183. Changing the line from: if (/^from (\S+) \[(${IP_ADDRESS})\] by (\S+) with \S+ \(fetchmail/) { to: if (/^from (\S+) (\[(${IP_ADDRESS})\] )?by (\S+) with \S+ \(fetchmail/) { appears to fix the problem by making the IP address optional.
i386 FC5 now using spamassassin-3.1.1-1.fc5 - same issue. Now at line 1232 in Received.pm, same fix.
yep, verified. it's harmless, of course, but would be useful to fix. Committed revision 394297 in svn trunk, aiming this patch for 3.1.2...
Created attachment 3473 [details] fix for b310
+1
Sending lib/Mail/SpamAssassin/Message/Metadata/Received.pm Transmitting file data . Committed revision 398790.