http://bugzilla.spamassassin.org/show_bug.cgi?id=3943
Summary: Problem in "all_from_addrs"
Product: Spamassassin
Version: 3.0.0
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: Rules (Eval Tests)
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
In Row 1034 of the Module "Mail::SpamAssassin::EvalTests" there is this:
@addrs = grep { defined($_) && length($_) > 0 } map { tr/././s; $_; }
($self->get('From:addr'), # std
$self->get('Envelope-Sender:addr'), # qmail: new-inject(1)
$self->get('Resent-Sender:addr'), # procmailrc manpage
$self->get('X-Envelope-From:addr'), # procmailrc manpage
$self->get('EnvelopeFrom:addr')); # SMTP envelope
Now I have the Problem that in some of my mails there are many "X-Envelope-From"
headers. The "get"-function concat all the adresses and in @addrs there is a
value like "[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]".
If you add the following line after the first line "@addrs = ..."
map { split( /\s+/, $_ ) }
the concatted get-value will be split and the following code will cleanup the
equal adresses!
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.