block mails with sender equal to receiver

Maurizio Marini maumar at
Thu Jan 7 12:38:57 CET 2016

is there an easy way to block mail where (forged) From: equal to To:
if ( from_address == to_address) then discard;

best regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5772 bytes
Desc: not available
URL: <>

More information about the amavis-users mailing list