Re: [exim] Exim SpamAssassin ACL to not check outgoing mail…

Góra strony
Delete this message
Reply to this message
Autor: Фадеев Виталий Львович
Data:  
Dla: Todd Lyons
CC: exim-users
Temat: Re: [exim] Exim SpamAssassin ACL to not check outgoing mails
There is error:
  error in ACL: unknown ACL condition/modifier in "sender = lsearch;/etc/exim/skip_spam_scan_users"


Mon, 1 Dec 2014 06:02:50 -0800 от Todd Lyons <tlyons@???>:
>On Mon, Dec 1, 2014 at 3:42 AM, Фадеев Виталий Львович < fvl@??? > wrote:
>>  Hi!
>> How to modify this ACL?
>>   warn    spam       = nobody
>>           add_header = X-Spam_score: $spam_score\n\
>>                        X-Spam_score_int: $spam_score_int\n\
>>                        X-Spam-Flag: YES\n\
>>                        X-Spam_bar: $spam_bar\n\
>>                        X-Spam_report: $spam_report

>>
>> I need to not check outgoing mails from authencticated user system@???
>> Thank you for the help!
>
>I would probably approach it a different way. In the MAIL acl, I
>would have this, somewhere very early (before the first accept
>statement) :
>
>warn authenticated = *
>         sender = lsearch;/etc/exim/skip_spam_scan_users
>         set acl_c_skip_spam_scan = 1
>
>Make sure that your user " system@??? " is in that text file
>(uncommented, one email address per line that you want to skip spam
>scanning for).
>
>Then in the DATA acl where you do the spam scanning, change it to
>check the status of that variable, and only scan if that variable is
>NOT set to "1":
>
>warn condition = ${if eq {$acl_c_skip_spam_scan} {1} {false}{true}}
>         spam = nobody
>         add_header = ...
>
>...Todd
>
>--
>The total budget at all receivers for solving senders' problems is $0.
>If you want them to accept your mail and manage it the way you want,
>send it the way the spec says to. --John Levine
>
>--
>## 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/