V?ctor Rubiella Monfort:
> Hi!
>
> I'm having problems to block phishing email with this kind of header:
>
> From: "[email protected] <[email protected]>".
This could be done with header_cheks, but I think that you have
some quote in the wrong place so I won't give a specific solution.
> I want to configure postifx to allow "mydomain.com" email only for
> certain IPS.
That would require a content filter - header_checks applies only
to headers, and smtpd_xxx_restrictions applies only to SMTP events.
The Postfix built-in features are not designed for complex policies
(if the client IP address is not X, then block messages that match
header pattern Y).
An external content filter is better for doing such things. I expect
that SpamAssassin and the like will easily block such abuse.
Wietse