Re: [Exim] equivalent of domains = in data ACL

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Bowyer
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] equivalent of domains = in data ACL
Kurt Lieber <klieber@???> wrote:
> I run all my mail through SpamAssassin using the following data ACL:
>
> acl_check_data:
>   warn message = X-Spam-Score: $spam_score
>     spam = nobody:true
>     [snip rest for brevity]

>
> As a courtesy, I act as a secondary mail spool for a couple of
> domains.
> Their mail gets caught up in the above SpamAssassin check, which is
> undesirable. What I'd like to do is something like:
>
> acl_check_data:
>   warn message = X-Spam-Score: $spam_score
>     domains = ! +relay_to_domains
>     spam = nobody:true

>
> However, according to the docs, domains = can only be used in a rcpt
> ACL.


Yes, because at the data acl time you may have multiple recipients, perhaps
from different domains.

> I'm fairly new to the whole concept of ACLs, so there may be a much
> easier way of accomplishing the above. All I want is for any mail
> addressed to a domain that exists in +relay_to_domains to bypass the
> acl_check_data entirely or, at a minimum, bypass the SA checks.
>
> Any suggestions?


VFAQ.

http://duncanthrax.net/exiscan-acl/exiscan-acl-examples.txt section 6.


Peter