You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2017/10/17 13:33:32 UTC
[Bug 7479] New: Mutliple From addresses incorrectly parsed
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7479
Bug ID: 7479
Summary: Mutliple From addresses incorrectly parsed
Product: Spamassassin
Version: 3.4.1
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P2
Component: Libraries
Assignee: dev@spamassassin.apache.org
Reporter: rwmaillists@googlemail.com
Target Milestone: Undefined
The following header, mentioned in the user list, isn't parsed correctly:
From: Struthers@psfc.mit.edu, "Lorraine M." <al...@glcamerica.com>
using these rules
header __FROM_NAME From:name =~ /.*/
header __FROM_ADDR From:addr =~ /.*/
I get:
__FROM_ADDR ======> got hit: "alexa.morales@glcamerica.com"
__FROM_NAME ======> got hit: "Struthers@psfc.mit.edu, Lorraine M."
i.e the first address has ended-up in the display name of the second address.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7479] Mutliple From addresses incorrectly parsed
Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7479
Kevin A. McGrail <km...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kmcgrail@apache.org
--- Comment #1 from Kevin A. McGrail <km...@apache.org> ---
Not sure it can be parsed correctly. Isn't it an invalid header for From? Was
it a ham or a spam in the sample?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7479] Mutliple From addresses incorrectly parsed
Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7479
Henrik Krohns <ap...@hege.li> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|Undefined |4.0.0
CC| |apache@hege.li
--- Comment #2 from Henrik Krohns <ap...@hege.li> ---
Curreny parser is pretty lame and doesn't support multiple addresses. We need
to either write our own RFC 5322 parser (*groan*) or use Email::Address::XS
(which is not packaged in major distributions, *groan*).
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 7479] Mutliple From addresses incorrectly parsed
Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7479
Henrik Krohns <ap...@hege.li> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Henrik Krohns <ap...@hege.li> ---
This was fixed in Revision 1889337.
--
You are receiving this mail because:
You are the assignee for the bug.