Re: [exim] for-loop inside an ACL

Top Page
Delete this message
Reply to this message
Author: Cyborg
Date:  
To: exim-users
Subject: Re: [exim] for-loop inside an ACL
Am 02.01.2012 15:56, schrieb Heiko Schlittermann:
> Hi,
>
> Cyborg<cyborg2@???> (Mo 02 Jan 2012 15:37:43 CET):
>> Hi guys,
>>
>> quick question ,
>>
>> this is inside the acl_smtp_data :
>>
>> ...
>>    accept  condition  = ${if or{\
>>                                 { and{ {!def:spam_score_int}{
>> eq{$authenticated_id}{} } }}\
>>                                 { match{ ${lookup mysql { .... SQL
>> .... which uses ${domain:$recipients}   }} }{1} }\
>>                                } {1}}
>>            add_header = X-Spam-Note: SpamAssassin uebersprungen :
>> domain=${domain:$h_to:} e=${domain:$recipients}
>> ...
> The acl_smtp_data is the wrong place here. You can use the RCPT-ACL to
> track (in some acl variable) if you've at least one recipient who needs the scan.

>
> The DATA-ACL then might check this acl variable set in the RCPT ACLs.
>
>
>

Sorry my fault, wrong ACL name :

It's the "acl_check_data" , which has the original spamassassin entries
from the default config.

mit freundlichen Grüßen,
M.Schwarz