Hi!
I'm having problems to block phishing email with this kind of header:
From: "h...@mydomain.com <h...@otherdomain.com>".
I want to configure postifx to allow "mydomain.com" email only for
certain IPS.
I added this ips to smtpd_client_restrictions whitelist and added on
smpd_sender_restrictions mydomain.com REJECT.
This works when sender name and sender adress is the same on From
header, but not with previous example.
I try to fix them adding restrictions with "heder_checks", but
header_checks is aplying after whitelist and aplies always. I have no
way (or I dont know) to "whitelist ip" over header_checks.
There are any mistake on my configurations? the only way is build a
custom filter to check domain and IP to reject it?.
Thank you!.