https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8340
--- Comment #9 from Giovanni Bechis <giova...@paclan.it> --- Better with this: Index: lib/Mail/SpamAssassin/Util.pm =================================================================== --- lib/Mail/SpamAssassin/Util.pm (revision 1927536) +++ lib/Mail/SpamAssassin/Util.pm (working copy) @@ -2640,9 +2640,14 @@ if (defined $2) { # Remove comments (no nested support here) $address =~ s/\((?:|(?:[^()\\]++|\\.)*+)\)//gs; + # Remove extra chars added after the domain + if($address =~ /(.*\@.*)[\x00-\x1F\x7F\s<>()[\]\\,;:\/"]/) { + $address = $1; + } - # Validate as somewhat email looking - if ($address !~ /^$header_address_mailre$/) { - $address = undef; - } } -- You are receiving this mail because: You are the assignee for the bug.