[Bug 8342] Detect invalid emails

[email protected]
Newsgroups gmane.mail.spam.spamassassin.devel
Message-ID <[email protected]/SpamAssassin/>
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8342

Giovanni Bechis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from Giovanni Bechis <[email protected]> ---
(In reply to Kent Oyer from comment #5)
> Please include data/spam/fromnamespoof/spoof2 in your diff file.
> 
> Instead of this:
> 
>   $pms->{address_details}{$from_addr}
>   $pms->{address_details}{$replyto_addr}
> 
> How about this:
> 
>   $pms->{address_details}{from}
>   $pms->{address_details}{replyto}
> 
in PerMsgStatus, we parse all headers searching for email addresses, we do not
know if the parsed line is a From or Reply-To in that phase.
$pms->get value is probably read from cache in any case

> Then you can eliminate:
> 
>   my $from_addr = lc $pms->get('From:addr');
>   my $replyto_addr = lc $pms->get('Reply-To:addr');

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.