Hi,

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
!match{${domain:$h_From}}{${domain:+local_domains}}{yes}{no}}

or 

condition = ${if
!match{${domain:$sender_address_domain}}{${domain:+local_domains}}{yes}{no}}


 

 

but I need this to work also for localhost 127.0.0.1 outgoing email 

Thanks in advance for help

 

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to