Exim4: Deny outgoing emails with specific destination domains to being sent to the smarthost
- by Yoann P
I try to deny outgoing emails with specific destination domains to being sent to the smarthost but unsuccessfully.
I'm on a debian "squeeze" configured to use a smarthost.
vi /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt
Add right after "acl_check_rcpt:"
deny
message = Domain $domain is prohibited for outgoing mails
domains =…