Re: [exim] secondary MX: allow only a set of users

Top Page
Delete this message
Reply to this message
Author: Wouter Verhelst
Date:  
To: Leonardo Boselli
CC: exim-users
Subject: Re: [exim] secondary MX: allow only a set of users
On Wed, Dec 19, 2007 at 10:46:01PM +0100, Leonardo Boselli wrote:
> I have two servers and two more secondary MX.
> I want: avoid that the secondary mx accept email that in turn is sent to
> the primary and then bounced.
> So i would like to set a list of possible address that are accepted.
> such list however is not just a plain list of addresses, but it could be
> also a list with some addresses written as:
> abc-g*
> to say that it must accept any address whose five characters are abc-g
> what is the easier and quicher way to accomplish this, other than
> adding many director sections in exim4.conf ???


You could use receiver callout verification on the backup MX:

    accept    domains = +local_domains
        message = No such user
        endpass
        verify = recipient/callout


--
<Lo-lan-do> Home is where you have to wash the dishes.
-- #debian-devel, Freenode, 2004-09-22