On Mon, Nov 07, 2022 at 04:21:08PM +0100, Víctor Rubiella Monfort wrote:

> I'm having problems to block phishing email with this kind of header:
> 
> From: [email protected] <[email protected]>

I removed the extraneous quotes, the address was almost certainly as
shown above.  Note that the "[email protected]" portion is not an email
address!  It is rather a "display name", and preventing forgery of
"display names" is best done in the MUA, by always displaying the
full address.

If you want to strictly enforce some policy on display names, you'll
need a milter that can carefully parse addresses in message headers,
and then look for "phishy" display name forms.  There are no built-in
feature in Postfix for this sort of thing.

-- 
    Viktor.

Reply via email to