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

Top Page
Delete this message
Reply to this message
Author: Andrew
Date:  
To: Mike Wilson
CC: Exim-users
Subject: Re: [exim] Forwarder destination is bogus, how to reject in the acl_smtp_rcpt?
Mike Wilson wrote:
> 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
>


All this does is check to see if the recipient domain is able to have
email delivered to do it, using DNS records.

There really is only 1 ways of resolving this, using callouts.

cya
Andrew


> 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
>