I have smtp server exim. I want to forbid to sent bounce message if the e-mail came to a non-existent address. I added to the beginning of acl in the config:
begin acl
acl_check_rcpt:
deny domains = +local_domains
message = Can't verify recipient
!verify = recipient
but it not helped me.
in the log can see that working router:
rcpt_check_router:
driver = redirect
allow_fail
no_verify
data = "${if eq{}{${lookup mysql{ SQLUSR }}}{:fail: unknown local user}{$local_part@$domain} }"
when :fail: was replaced :blackhole:
rcpt_check_router:
driver = redirect
allow_fail
no_verify
data = "${if eq{}{${lookup mysql{ SQLUSR }}}{:blackhole: unknown local user}{$local_part@$domain} }"
no bounce message. but exim receive message.
How to use :fail: without e-mail to sender from Mail Delivery System ?