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


bug #58925: SPF Checks Fail for missing Received Header

Submitted by:  None
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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 ngsam@bluematt.me

    Back to the top

    Powered by Savane 3.6