cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
665
Views
0
Helpful
2
Replies

Can't use DMARC, how to label msg with spoof of our domain?

We're unable to block incoming messages that don't meet DKIM / SPF requirements. And our own DMARC record is set to p=none for reasons. 

That means that email from (spoofed address) "Voicemail Delivery Service <executive@domain.ca>" will get through to staff@domain.ca.

We have a filter that labels messages from "Mr. Executive <spammer@spammer.com>" based on "Mr. Executive" (executive spoof filter). A rule that checks that validates "Mr. Executive <mr.executive@domain.ca>" isn't going to work as that can be spoofed. 

Can I write a DKIM / SPF checking filter for only our domain? Suggestions as to how?

 

2 Replies 2

You can write DKIM, SPF record rule for only your domain...
Easiest way is a simple content filter where the conditions are:
Envelope sender ends with domain.ca (mail-from == "domain.ca$")
SPF Verification status is fail (spf-status == "fail")
Then do what you want to with the mail... drop, quarantine, put in spam quarantine, whatever...
You might want to check the From header instead, and check contains, instead of ends with.
header("From") == "domain.ca"

We have a similarish situation - but we have added a big ugly tag to the subject if they fail incoming SPF.

However, you will no doubt still find people will respond to random emails say "Hi, I'm [your CEO] please do this" regardless of what domain it comes from.