[vexim] skip spamd for outgoing mail
lists.jc.michel at symetrie.com
lists.jc.michel at symetrie.com
Wed Feb 11 15:27:26 PST 2009
Hi,
Le 10 févr. 09 à 13:02, Goetz Bock a écrit :
>> I'd like to move spam detection using spamd from acl to
>> transport_filter, to avoid the cpu load when sending a newsletter
>> from a site.
>
> keep it where it is, but add a condition (like != authenticated).
I changed the conf like this :
# This access control list is used for content scanning with the
exiscan-acl
# patch. You must also uncomment the entry for acl_smtp_data (scroll
up),
# otherwise the ACL will not be used. IMPORTANT: the default entries
here
# should be treated as EXAMPLES. You MUST read the file doc/exiscan-
acl-spec.txt
# to fully understand what you are doing ...
acl_check_content:
# 2 li added by jcm on 2009-02-11
accept authenticated = *
control = submission
# Include Vexim specific rcpt ACLs
.include /etc/vexim/vexim-acl-check-content.conf
# finally accept all the rest
accept
and I made my process use authentication with smtp to send mails.
But I'm quite sure that spamd is still being called...
(cpu load reaches 50 to 60% in top for a minute when trying to send
10 mails).
More information about the Vexim
mailing list