Le 2015-08-20 15:04, Joe Quinn a écrit :
On 8/20/2015 2:56 PM, John Hardin wrote:
On Thu, 20 Aug 2015, Olivier Coutu wrote:
I believe that SA may be removing the <presid...@company.com> part
from the From:name, am I correct?
Define this rule:
header __ALL_FROMNAME From:name =~ /.*/
...and run spamassassin on a test message using:
--debug area=all,rules,rules-all
You'll be able to see exactly what's available to match against.
I'd suggest for a From address like that, if it *is* dropping the
email address within the comment a bug should be filed.
Already opened a bug. The fact that From: name =~ /\@/ didn't match is
proof enough for me that something is wrong.
I can confirm we have a bug, I followed the instructions and this is
what I got.
header __ALL_FROMNAME From:name =~ /.*/
aoû 20 15:08:46.025 [3459] dbg: rules: ran header rule __ALL_FROMNAME
======> got hit: ""Mister President"
Thanks for your help, I will use the
From =~ /\@[^\@]*\@/
solution in the meantime.
I can attach the stripped e-mail to the bug if that helps.