bugSpamAssassin Milter Plugin - Bugs: bug #58925, SPF Checks Fail for missing...


bug #58925: SPF Checks Fail for missing Received Header

Submitter:  None
Submitted:  Sun 09 Aug 2020 07:34:45 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Mon 10 Aug 2020 01:31:46 AM UTC, comment #1: 

This is due to a missing _ in milter_mail_macros in default postfix config. It would likely be useful to warn on this without any debug given its rather important for spamassassin (like the spurious missing-i macro warning).

Matt <mattcorallo>
Sun 09 Aug 2020 07:34:45 PM UTC, original submission:  

I started using spamass-milter and noticed that spamassassin thinks that roughly everything fails SPF, even when it should pass. From the X-Spam-Report spamassassin only read the Received: header immediately prior to the one that postfix created (I presume the milter ran before Postfix added the Received header). If I run spamassassin -t with the message as delivered it lists SPF_PASS instead.

This seems to also have been the issue in this 13-year-old thread: https://spamass-milt-list.nongnu.narkive.com/OfNob6dW/going-from-procmail-based-sa-to-spamass-milter-produces-more-spam.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mattcorallo (Posted a comment)
  • -email is unavailable- added by mattcorallo (+CC)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-08-09 mattcorallo Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code