https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6871
Bug ID: 6871
Summary: FreeMail plugin not checking Reply-To properly
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: Plugins
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Long standing rookie mistake with index(). Recommended for everyone to upgrade
the plugin. :-)
Any Reply-To header (or similar) with "" or <> stanza would not be detected
(except when the domain to match was a wildcard one like yahoo.*).
--- lib/Mail/SpamAssassin/Plugin/FreeMail.pm (revision 1416456)
+++ lib/Mail/SpamAssassin/Plugin/FreeMail.pm (working copy)
@@ -425,7 +425,7 @@
}
}
- my $email = lc($pms->get(index($header,':') ? $header : $header.":addr"));
+ my $email = lc($pms->get(index($header,':') >= 0 ? $header :
$header.":addr"));
if ($email eq '') {
dbg("header $header not found from mail");
--
You are receiving this mail because:
You are the assignee for the bug.