Anders,

> got a problem with SA from qmail auto-reply mail.
> The users got a full mbox and thats makes SA to timeout when checking the
> mail.
>
> Apr  7 14:16:50 spam.jll.se /usr/local/sbin/amavisd[27353]: (27353-02-63)
> LMTP:[127.0.0.1]:10024
> /var/amavis/amavis_temp/amavis-20090407T141038-27353: <> ->
> <dan.anneg...@jll.se> SIZE=5622554 Received: from spam.jll.se ([127.0.0.1])
> by localhost (spam.jll.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP
> for <dan.anneg...@jll.se>; Tue,  7 Apr 2009 14:16:50 +0200 (CEST)

A 4.4 MB auto-reply message?

> any hints ? whats wrong in the drugs.cf rule that cause this

Probably just takes too long for all these rules to check the full message.

> Apr  7 14:16:51 spam.jll.se /usr/local/sbin/amavisd[27353]: (27353-02-63)
> Checking: Oob4QYskTbDh [213.186.47.132] <> -> <dan.anneg...@jll.se>
> Apr  7 14:22:25 spam.jll.se /usr/local/sbin/amavisd[27353]: (27353-02-63)
> (!)SA TIMED OUT, backtrace: at
> /var/lib/spamassassin/3.002005/updates_spamassassin_org/20_drugs.cf, rule
> / __DRUGS_PAIN13, line 1\n\teval {...}

You should be limiting the size of a message passed to SpamAssassin,
set it to something like:
  $sa_mail_body_size_limit = 420*1024;


Mark

Reply via email to