Re: [exim] writing acl's

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Peter Bowyer
Data:  
Para: exim users
Asunto: Re: [exim] writing acl's
On 10/07/07, Margrit Lottmann URZ-N
<Margrit.Lottmann@???> wrote:
> For mime-, data- checking we are using the exiscan patch...
> I think, that there are not any domains-options possible ???


Well spotted.....

In the rcpt acl:

warn set acl_m1 = 1
domains = <the list of domains you want to skip later>

in the mime/data ACL

accept condition = ${if eq {$acl_m1}{1}}

This has the drawback that a message with multiple recipients, at
least one of which is in the 'skip' list, will be skipped. If you have
to avoid this, you need one of the tricks in the exiscan docs to limit
a message to a single recipient.

Peter


--
Peter Bowyer
Email: peter@???