spam acl condition: error reading from spamd socket: Connection timed out
Rainer Dorsch
contact at bokomoko.de
Sun Mar 29 11:45:15 UTC 2015
Many thanks, Andreas, for you quick reply.
I "prefixed" all occurences of the ACL condition spam now with
condition = ${if < {$message_size}{10K}}
such that I have now
# from http://www.exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.html
# put headers in all messages (no matter if spam or not)
warn condition = ${if < {$message_size}{10K}}
spam = Debian-exim:true
add_header = X-Spam-Score: $spam_score ($spam_bar)
add_header = X-Spam-Report: $spam_report
# add second subject line with *SPAM* marker when message
# is over threshold
warn condition = ${if < {$message_size}{10K}}
spam = Debian-exim
add_header = X-Spam-Flag: Yes
# reject spam at high scores (> 12)
deny message = This message scored $spam_score spam points.
condition = ${if < {$message_size}{10K}}
spam = Debian-exim:true
condition = ${if >{$spam_score_int}{120}{1}{0}}
Thanks again,
Rainer
On Sunday 29 March 2015 12:37:45 Andreas Metzler wrote:
> On 2015-03-29 Rainer Dorsch <ml at bokomoko.de> wrote:
> > I get from time to time this error message on my spamassassin+exim4 setup:
> >
> > 2015-03-26 20:46:22 1YbDhW-00062f-G2 spam acl condition: error reading
> > from
> > spamd socket: Connection timed out
> >
> > I suspect that on this virtual machine, sometimes there are really long
> > processing times.
> >
> > I am wondering if
> >
> > local_scan_timeout
> >
> > is the right parameter to modify.
>
> No, local_scan_timeout and the spam ACL are not related. See
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-adding_a_local_s
> can_function_to_exim.html
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-content_scannin
> g_at_acl_time.html#SECTscanspamass
>
> Usually this error happens when large messages are passed to
> spamassassin, best practice is to limit the message size of messages
> passed on to spamassassin.
>
> cu Andreas
--
Rainer Dorsch
Lärchenstr. 6
72135 Dettenhausen
07157/734133
More information about the Pkg-exim4-maintainers
mailing list