Email delivered after failing DMARC

Hello crew,

I have a simple 1 domain email server hosted on NS 7.9 using SOGo as a front end. Recently, I’ve added an externally hosted website that has forms being sent out via email. Before I tested the final settings I wanted to confirm that my end server (the one hosting was honoring my current DMARC policy of:

v=DMARC1; p=reject; sp=reject;; aspf=s; adkim=s; pct=100

The website is sending through & I have not added them to my SPF/DKIM records. With the strict enforcement of aspf=s & adkim=s my NS server is accepting inbound email from to even though it is failing the DMARC policy.

I expected for the NS server to reject the incoming email because it came from an unauthorized source. Instead the email is passed along without any issue right into the inbox.

Sort by:


DMARC reject policy
(2) [ : SPF not aligned (strict), DKIM not aligned (strict),reject]
MX_INVALID (0.5) []
R_SPF_ALLOW (-0.2) [+ip4:]
R_DKIM_ALLOW (-0.2) []
MIME_TRACE (0) [0:~]
FREEMAIL_TO (0) [,,]
ASN (0) [asn:36483, ipnet:, country:CA]

Hi @royceb, took me a long time to figure-out how spamd works (and still not over confident so could be wrong here)

rspamd keeps a score per “symbol” if it bad it’s add pionts if it’s good it subtracts points.

Looking at my default configuration over here DMARC reject policy is little bit bad and adds 2 points:

Which is well below the thresholds over here: Spam flag threshold: 6 , Deny message spam threshold 15.

Hope this helps…

Thank you for the reply, I appreciate it. With all of the different RFC regarding email I’m in the same bucket as many. From a technical view your answer makes sense on how rspamd is behaving - DMARC fails so add 2 points to the overall spam score.

My question is does this make sense? Shouldn’t a failure of DMARC with a specified reject declaration be treated as automatic spam that get’s scored 15 (or whatever threshold) or above, if not what is the point of DMARC beyond the reporting functionality?

Added question, am I making bad assumptions of how the default rspamd implementation should be and this is a setting that needs to be calibrated for best results?

1 Like