13

Block outgoing mail with spoofed from address in Exim


Avatar
Infra Blocks

Found this at LET, any change we can add this in by default?

discard
condition = ${if and {
{! match_domain{${domain:${address:$h_from:}}}{+local_domains}}
{! match_domain{${domain:${address:$h_to:}}}{+local_domains}}
{! match_domain{${domain:${address:$h_cc:}}}{+local_domains}}
{! match_domain{${domain:${address:$h_bcc:}}}{+local_domains}}
}}
message = Sorry, spoofed mail denied

www.lowendtalk.com/discussion/comment/3074914/#Comment_3074914

A