Re: [Exim] Text string search using lsearch

Top Page
Delete this message
Reply to this message
Author: Nico Erfurth
Date:  
To: tom.frost
CC: exim-users
Subject: Re: [Exim] Text string search using lsearch
tom.frost@??? wrote:

> Exim Guru's,
>
> I have what i am sure is a small and easy problem with my exim config and
> hopefully one of you will take two minutes to point out the fix for me.
>
> I am trying to set an acl condition on the rcpt acl that basically says; if
> your email address is not in the list you not getting in. The list of email
> address is actually the aliases file for that domain and so only contains
> the email address that we need/want to allow to receive emails, postmaster
> etc...


Not really what you've asked for, but this should solve your problem of
accepting mails for undeliverable recipients.

inside of your rcpt-acl use

require message = Unable to route this message
         verify  = recipient


When exim receives the RCPT TO, it will try to check all routers and
look for one that can deliver the mail. The address will be rejected, if
no router matches.

Nico