http://bugzilla.spamassassin.org/show_bug.cgi?id=3944

           Summary: get_envelope_from not handling received header
           Product: Spamassassin
           Version: 3.0.1
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: major
          Priority: P4
         Component: Libraries
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: [EMAIL PROTECTED]


Hi,

http://wiki.apache.org/spamassassin/EnvelopeSenderInReceived?action=highlight&value=SPF

suggests to put the Envelope-Sender in the Received lines. The SPF plugin uses
this information. However, check_dns_sender obviously does not (at least I am
not getting any NO_DNS_FOR_FROM hits anymore since I got rid of my
envelope_sender_header setting). If I interpret the code correctly, 
check_dns_sender gets its information from get_envelope_from. Again, if I read
the code correctly, that subroutine does not check the Received-Lines. Let me 
quote:

# procmailrc notes this, amavisd are adding it, we recommend it
# (although we now recommend adding to Received instead)

If one follows your recommendations then some of the tests will not work since
they do not get the Envelope-From unless I have my MTA (or additional software
like MailScanner) create a suitable header and specify it in the configuration. 

My personal view would be to do it consistently: Either interpret the
Received-Headers and try to get the Envelope-From out of there (and then use it
for all tests) or do not recommend its use.

Opinions?

Regards,
  JP



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to