Hi all,
I have a question about spamassassin in pmg 8.1.2. I am filtering outgoing mail. I have some questions regarding forwarded mail. SPF breaks (because of the forwarding) and spamassassin increases the SPAM score. However, since the message has also a valid DKIM signature, DMARC should kick in and prevent that the message gets a high SPAM score.
these are the SPAM headers of a message sent to our server to a user who forwards his mail to some external server:
1. header generated by spamassassing scanning the incoming message from the external server:
Apr 4 13:02:04 caspar pmg-smtp-filter[833782]: 224E6660E88A881392: SA score=0/5 time=3.560 bayes=undefined autolearn=disabled hits=DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DMARC_PASS(-0.1),RCVD_IN_DNSWL_NONE(-0.0001),SPF_HELO_NONE(0.001),SPF_PASS(-0.001)
2. header generated by spamassassin scanning the outgoing forwarded message:
Apr 4 13:02:07 caspar pmg-smtp-filter[833799]: 224EB660E88AC50522: SA score=2/5 time=3.498 bayes=undefined autolearn=disabled hits=DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DMARC_QUAR(0.1),KAM_DMARC_QUARANTINE(1),SPF_FAIL(0.919),SPF_HELO_NONE(0.001)
a) spamassassin gives SPF_FAIL(0919)
b) there is a DKIM_VALID
c) I see no DMARC_PASS but a DMARC_QUAR
question:
why do I not see a DMARC_PASS in the outgoing (forwarded) mail, but instead a DMAR_QUAR? since the DKIM is valid, ans censequently DMARC should pass.
in the above example no bad things happen, but when the mail is poorly formatted (e.g. newsletter email) or has other problems, the failing SPF is often enough to bring the message to a SPAM score > 5 and consequently the message (outgoing) is blocked.
Best,
Hp
I have a question about spamassassin in pmg 8.1.2. I am filtering outgoing mail. I have some questions regarding forwarded mail. SPF breaks (because of the forwarding) and spamassassin increases the SPAM score. However, since the message has also a valid DKIM signature, DMARC should kick in and prevent that the message gets a high SPAM score.
these are the SPAM headers of a message sent to our server to a user who forwards his mail to some external server:
1. header generated by spamassassing scanning the incoming message from the external server:
Apr 4 13:02:04 caspar pmg-smtp-filter[833782]: 224E6660E88A881392: SA score=0/5 time=3.560 bayes=undefined autolearn=disabled hits=DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DMARC_PASS(-0.1),RCVD_IN_DNSWL_NONE(-0.0001),SPF_HELO_NONE(0.001),SPF_PASS(-0.001)
2. header generated by spamassassin scanning the outgoing forwarded message:
Apr 4 13:02:07 caspar pmg-smtp-filter[833799]: 224EB660E88AC50522: SA score=2/5 time=3.498 bayes=undefined autolearn=disabled hits=DKIM_SIGNED(0.1),DKIM_VALID(-0.1),DMARC_QUAR(0.1),KAM_DMARC_QUARANTINE(1),SPF_FAIL(0.919),SPF_HELO_NONE(0.001)
a) spamassassin gives SPF_FAIL(0919)
b) there is a DKIM_VALID
c) I see no DMARC_PASS but a DMARC_QUAR
question:
why do I not see a DMARC_PASS in the outgoing (forwarded) mail, but instead a DMAR_QUAR? since the DKIM is valid, ans censequently DMARC should pass.
in the above example no bad things happen, but when the mail is poorly formatted (e.g. newsletter email) or has other problems, the failing SPF is often enough to bring the message to a SPAM score > 5 and consequently the message (outgoing) is blocked.
Best,
Hp