[exim] Forwarder destination is bogus, how to reject in the …

Top Page
Delete this message
Reply to this message
Author: Mike Wilson
Date:  
To: Exim-users
Subject: [exim] Forwarder destination is bogus, how to reject in the acl_smtp_rcpt?
Consider this case, I am running a mail server for my domain
example.com. I have a redirect router that checks out /etc/aliases. In
that file one of my users has created a forwarder to an email address
that doesn't exist. I would like to be able to detect this at SMTP
time and reject it instead of having to generate a bounce. But a
simple

verify = recipient

doesn't seem to work. It seems to be satisfied that it can find a
match and not really care where the destination goes. Anyone know if
there is a way to do this in exim. I only want to do this at SMTP time
for local domains, if it's a remote domain I'll just take my chances,
no callout necessary.

/etc/aliases:
jon@???: addressthatdoesntexists@???


Thanks,
Mike