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

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
A: exim-users
Assumpte: 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