Hi,

Cyborg <[email protected]> (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.

-- 
Heiko

Attachment: signature.asc
Description: Digital signature

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to