I’ve deployed mailcow-dockerized, and tested it against - it gave me 10/10 from the begining… cool
Next I wanted to test spoofing protection with this site
It sends 10 emails - E1-E10 with spoofed SPF,DKIM,DMARC etc.. If Your email server configured to reject all possible combinations of spoofs, You should recieve only 1 mail - E1. I recieve all 10 mails - it mean that none of SPF, DKIM, DMARC checks are not rejecting any email…
I see couple of possibilities to configure rspamd service:
- via command line
- I added this to /etc/rspamd/lacal.d/force_actions.conf and it has no effect
R_SPF_FAIL_REJECT {
action = “reject”;
expression = “R_SPF_FAIL”;
}
- I added this to /etc/rspamd/lacal.d/force_actions.conf and it has no effect
- via webUI
- I’ve configured R_SPF_FAIL, R_SPF_DNSFAIL, R_SPF_SOFTFAIL to be 15.00 (15 is reject) - no effect
- via Rsapmd settings map
- I didn’t change anything - is there a presets for this options to reject all spoofing techniques?
How to prevent this from happening?
Thank You
- I didn’t change anything - is there a presets for this options to reject all spoofing techniques?