Arturo 'Buanzo' Busleiman wrote:
> 
> Matt Comer wrote:
> > Here are the guts of my maildroprc (some extraneous stuff removed):
> 
> Only process messages that have $SIZE < some_good_value
> 
> nice pointers in:
> 
>
http://gentoo-wiki.com/HOWTO_Install_Courier_with_maildrop_and_ClamAV_and_Sp
amAssassin

Spamc already does this for you.  By default, spamc will not process
messages larger than 250K.

>From the spamc man page:

   -s 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).  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, -s 250000.

SpamAssassin usage is a bit off topic here.  If you have further questions
on why SpamAssassin is hanging on those messages, ask the SpamAssassin list.

-- 
Bowie

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to