I have an email service in domain example.com
. How can I protect it from spoofing USER email addresses in From
header?
Scenario:
Attacker sends email from malory@example.com - connect to my SMTP service, authenticate correctly as malory and sends message with header
From: alice@example.com
SPF can't help, because attacker use my legitimate SMTP service, have own account and correctly authenticate.
DKIM can't help either, from the same reasons - attacker uses real, legitimate email account, so massage have proper digital signatures.
DMARC can't help, because only checks if envelope and RFC5322.From domains matches, not user accounts.
Is there any way to check if an envelope and From
WHOLE addresses matches? How can I protect properly SMTP service against spoofing?
Thanks for the help!