Author: Joachim Wieland Date: To: exim-users Subject: [Exim] "wrong" 550 message after :fail:
Hi,
I'm using exim 4.04 and have a few directors that accept mail only for
certain domains and local parts.
Now if a mail comes in for a domain my host is MX for, but has set a
local part that exim doesn't know, all the routers decline and the RCPT
verify will fail with "550 unrouteable address".
So I thought, hey, lets create a redirect router that fails with a
"user unknown" message if all other routers declined:
userbounce:
driver = redirect
domains = +local_domains:+relay_to_domains
check_local_user = false
verify = true
check_ancestor
allow_fail
data = :fail: unknown user
exim -bt ... returns "unknown user" but the RCPT command still fails
with "unrouteable address".