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