[exim] match local_domain with $sender_adresse_domain and or…

Top Page

Reply to this message
Author: mailto
To: exim-users
Subject: [exim] match local_domain with $sender_adresse_domain and or ${domain:$h_From:}

Im a noob in exim but I would know if it is possible to compare the domain
in the $sender_adresse_domain and or ${domain:$h_From:} value with the owned
in local_domain and reject email if it doesn't match

I tried something like

condition = ${if


condition = ${if

but I need this to work also for localhost outgoing email

Thanks in advance for help