by westoque · 6y ago · 0 comments
Email validation exists; gmail will let you know if email arrived over TLS or not. Validation that the source of an email matches the "From:" header is generally done by checking the domain's SPF record.
https://en.wikipedia.org/wiki/Sender_Policy_Framework
https://en.wikipedia.org/wiki/Email_spoofing#Countermeasures
If you are using CAs then homoglyph attacks are the simplest of many attacks based on a system of minimal technical compliance.
in /etc/dnsmasq.conf add something like:
# Add domains which you want to force to an IP address here.
address=/:xn--*:/0.0.0.0
(in case your dnsmasq doesn't support this then there is a patch here: https://github.com/spacedingo/dnsmasq-regexp_2.76)