Re: [exim] check local parts for specific domain

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Peter Bowyer
Fecha:  
A: exim-users
Asunto: Re: [exim] check local parts for specific domain
On Fri, 10 Sep 2004 14:41:46 +0100, Peter McEvoy <pete@???> wrote:
> Hi,
> I'm running exim 4.30 for a few virtual domains and to forward mail for
> one domain to an exchange 5.5 box on the internal network, It's working
> well but I'd like to do some checks on the local part for the domain
> going to the exchange box. Ive looked at the configuration example at
> http://www.exim.org/exim-html-4.30/doc/html/C043.txt which would seem to
> do what I need, but I only have 30 or so users so I think I'd prefer to
> stick all the valid local parts in a file and have exim check that in an
> acl. Trouble is, I'm a bit unsure as to how I could go about getting
> that check done for that one domain, leaving all the other checks for my
> other domains intact.
> If anyone could give me a steer on this I'd most appreciate it


Make a file of valid local parts (ie without the domain)
Put a router like this at the top of your routers:

checkexchange:
driver = accept
domains = <your exchange domain>
local_parts = lsearch;/path/to/file
verify_only = yes

Make sure your RCPT acl calls for 'verify=recipient'

Peter