On 17.06.22 09:51, Eduardo Maia wrote:
I need to block emails with fake FROM like :

From: "Nick Blue <n...@domain.pt>" <yk...@omega-eng.co.jp>

if you use spamassassin as spam filter, you can load plugin
Mail::SpamAssassin::Plugin::FromNameSpoof

and define rule that will catch these:

header L_FROMNAME_SPOOF eval:check_fromname_spoof()

further it's up to you

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Honk if you love peace and quiet.

Reply via email to