Henry Kwan wrote:
Hi,

Is there a way to have SA skip messages over a certain size?

I tried using this procmailrc recipe:

:0fw
* < 256000
| /usr/bin/spamc

But it resulted in this error:

spamd[2492]: razor2: razor2 check failed: razor2: razor2 had unknown error
during check at
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/Razor2.pm line 211,
<GEN25> line 1. at
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/Razor2.pm line 326.

man spamc

       -s max_size, --max-size=max_size
      Set the maximum message size which will be sent to spamd -- any
      bigger than this threshold and the message will be returned unpro-
      cessed (default: 500 KB).  If spamc gets handed a message bigger
      than this, it won't be passed to spamd.  The maximum message size
      is 256 MB.

Regards,

Rick

Reply via email to