https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6420

           Summary: [PATCH] Extend fetchmail parsing restart to cover
                    other mail fetchers
           Product: Spamassassin
           Version: 3.3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rules
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=4751)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4751)
Fixup mail fetcher detection logic to be more generic

Currently, we only restart parsing of headers when encountering a Fetchmail
marker. This patch extends that to any mail received via POP3 or IMAP, which
can be assumed to have been fetched when we're in trusted_networks.

Also, initialize $self->{allow_fetchmail_markers} to 1 so we don't tell the
user in dbg that the first header is untrusted, if it is generated by a mail
fetcher.

Furthermore, remove already obsolete Received: parsing try which would have
been caught by the test this patch replaces, and is certainly caught by this
patch.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to