Mailing List Archive

svn commit: r423238 - in /spamassassin/trunk: procmailrc.example spamc/spamc.c spamc/spamc.pod
Author: jm
Date: Tue Jul 18 13:41:11 2006
New Revision: 423238

URL: http://svn.apache.org/viewvc?rev=423238&view=rev
Log:
bug 4976: increase default message size limit from 250KB to 500KB, to keep up with increasing average spam sizes

Modified:
spamassassin/trunk/procmailrc.example
spamassassin/trunk/spamc/spamc.c
spamassassin/trunk/spamc/spamc.pod

Modified: spamassassin/trunk/procmailrc.example
URL: http://svn.apache.org/viewvc/spamassassin/trunk/procmailrc.example?rev=423238&r1=423237&r2=423238&view=diff
==============================================================================
--- spamassassin/trunk/procmailrc.example (original)
+++ spamassassin/trunk/procmailrc.example Tue Jul 18 13:41:11 2006
@@ -11,8 +11,8 @@
# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'
# if you use the spamc/spamd combination)
#
-# The condition line ensures that only messages smaller than 250 kB
-# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
+# The condition line ensures that only messages smaller than 500 kB
+# (500 * 1024 = 512000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
#
@@ -20,7 +20,7 @@
# at 1 time, to keep the load down.
#
:0fw: spamassassin.lock
-* < 256000
+* < 512000
| spamassassin

# Mails with a score of 15 or higher are almost certainly spam (with 0.05%

Modified: spamassassin/trunk/spamc/spamc.c
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamc/spamc.c?rev=423238&r1=423237&r2=423238&view=diff
==============================================================================
--- spamassassin/trunk/spamc/spamc.c (original)
+++ spamassassin/trunk/spamc/spamc.c Tue Jul 18 13:41:11 2006
@@ -153,7 +153,7 @@
" Timeout in seconds for communications to\n"
" spamd. [default: 600]\n");
usg(" -s, --max-size size Specify maximum message size, in bytes.\n"
- " [default: 250k]\n");
+ " [default: 500k]\n");
usg(" -u, --username username\n"
" User for spamd to process this message under.\n"
" [default: current user]\n");
@@ -673,7 +673,7 @@
#endif

/* set some defaults */
- max_size = 250 * 1024;
+ max_size = 500 * 1024;
username = NULL;

combo_argc = 1;

Modified: spamassassin/trunk/spamc/spamc.pod
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamc/spamc.pod?rev=423238&r1=423237&r2=423238&view=diff
==============================================================================
--- spamassassin/trunk/spamc/spamc.pod (original)
+++ spamassassin/trunk/spamc/spamc.pod Tue Jul 18 13:41:11 2006
@@ -148,11 +148,11 @@
=item B<-s> I<max_size>, B<--max-size>=I<max_size>

Set the maximum message size which will be sent to spamd -- any bigger than
-this threshold and the message will be returned unprocessed (default: 250 KB).
+this threshold and the message will be returned unprocessed (default: 500 KB).
If spamc gets handed a message bigger than this, it won't be passed to spamd.

The size is specified in bytes, as a positive integer greater than 0.
-For example, B<-s 250000>.
+For example, B<-s 500000>.

=item B<-S>, B<--ssl>