You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Don O'Neil <li...@lizardhill.com> on 2007/04/21 03:13:08 UTC

Problems with Error 421

Ever since I upgraded to Exim 4.66 and my server load has gone up I've been
experiencing a lot of Error 421's (disconnection errors).

>From my google search it seems we may be memory/cpu/disk bound, and there
are suggestions on limiting the file size scanned, removing large rulesets,
etc..

I have searched the exim site looking for a way to limit the file size but I
can't find anything. Can someone suggest what I need to do to my
spamassassin transport config to limit the size of messages that are sent to
spam assassin to 100k (or less) and send the remaining though un-scanned.

Here's the exerpt from my exim.conf:

spamcheck:
  driver = pipe
  batch_max = 100
  command = /usr/sbin/exim -oMr spam-scanned -bS
  current_directory = "/tmp"
  group = mail
  home_directory = "/tmp"
  log_output
  message_prefix =
  message_suffix =
  return_fail_output
  no_return_path_add
  transport_filter = /usr/bin/spamc -u
${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}
  use_bsmtp
  user = mail

Thanks!


RE: Problems with Error 421

Posted by Don O'Neil <li...@lizardhill.com>.
Thanks... That did the trick.  

-----Original Message-----
From: Duane Hill [mailto:d.hill@yournetplus.com] 
Sent: Friday, April 20, 2007 7:09 PM
To: Don O'Neil
Cc: 'exim users'; users@spamassassin.apache.org
Subject: Re: Problems with Error 421

On Fri, 20 Apr 2007, Don O'Neil wrote:

> Ever since I upgraded to Exim 4.66 and my server load has gone up I've 
> been experiencing a lot of Error 421's (disconnection errors).
>
>> From my google search it seems we may be memory/cpu/disk bound, and 
>> there
> are suggestions on limiting the file size scanned, removing large 
> rulesets, etc..
>
> I have searched the exim site looking for a way to limit the file size 
> but I can't find anything. Can someone suggest what I need to do to my 
> spamassassin transport config to limit the size of messages that are 
> sent to spam assassin to 100k (or less) and send the remaining though
un-scanned.
>
> Here's the exerpt from my exim.conf:
>
> spamcheck:
>  driver = pipe
>  batch_max = 100
>  command = /usr/sbin/exim -oMr spam-scanned -bS  current_directory = 
> "/tmp"
>  group = mail
>  home_directory = "/tmp"
>  log_output
>  message_prefix =
>  message_suffix =
>  return_fail_output
>  no_return_path_add
>  transport_filter = /usr/bin/spamc -u
> ${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}
>  use_bsmtp
>  user = mail

From: Steven Dickenson <st...@mrchuckles.net>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: Jean-Paul Natola <jn...@familycareintl.org>
Cc: users@spamassassin.apache.org
Subject: Re: Spamassassin is useless


I don't know anything about Exim. However, I was able to dig this up from a
recent thread response to something from Steven Dickenson:

     ---
     Just add the following condition to your spam checking ACL.

     condition = ${if <{$message_size}{500k}{1}{0}}
     ---

So, I assume you would replace the 500k with 100k.


Re: Problems with Error 421

Posted by Duane Hill <d....@yournetplus.com>.
On Fri, 20 Apr 2007, Don O'Neil wrote:

> Ever since I upgraded to Exim 4.66 and my server load has gone up I've been
> experiencing a lot of Error 421's (disconnection errors).
>
>> From my google search it seems we may be memory/cpu/disk bound, and there
> are suggestions on limiting the file size scanned, removing large rulesets,
> etc..
>
> I have searched the exim site looking for a way to limit the file size but I
> can't find anything. Can someone suggest what I need to do to my
> spamassassin transport config to limit the size of messages that are sent to
> spam assassin to 100k (or less) and send the remaining though un-scanned.
>
> Here's the exerpt from my exim.conf:
>
> spamcheck:
>  driver = pipe
>  batch_max = 100
>  command = /usr/sbin/exim -oMr spam-scanned -bS
>  current_directory = "/tmp"
>  group = mail
>  home_directory = "/tmp"
>  log_output
>  message_prefix =
>  message_suffix =
>  return_fail_output
>  no_return_path_add
>  transport_filter = /usr/bin/spamc -u
> ${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}
>  use_bsmtp
>  user = mail

From: Steven Dickenson <st...@mrchuckles.net>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: Jean-Paul Natola <jn...@familycareintl.org>
Cc: users@spamassassin.apache.org
Subject: Re: Spamassassin is useless


I don't know anything about Exim. However, I was able to dig this up from 
a recent thread response to something from Steven Dickenson:

     ---
     Just add the following condition to your spam checking ACL.

     condition = ${if <{$message_size}{500k}{1}{0}}
     ---

So, I assume you would replace the 500k with 100k.