[Mimedefang] Max File Size

Albert Whale aewhale at ABS-CompTech.com
Mon Nov 3 20:23:24 EST 2003



David L. Aldridge wrote:

>I hope I have not missed the obvious, but can someone tell me how to lower
>the maximum file size from 256kb the MimeDefang / Spamassassin deals with?
>
>I need to lighten the load.
>Thank you,
>Dave
>
>____
>
Sure, look for the following in the mimedefang-filter:

        if (-s "./INPUTMSG" < 100*1024) {
            # Only scan messages smaller than 100kB.  Larger messages
            # are extremely unlikely to be spam, and SpamAssassin is
            # dreadfully slow on very large messages.
 This is what controls how big of a file gets examined.  HTH.

-- 
Albert E. Whale, CISSP - Sr. Security, Network, and Systems Consultant
--------------------------------------------------------------------------------
http://www.abs-comptech.com & http://www.No-JunkMail.com 
ABS Computer Technology, Inc. - ESM, Computer & Networking Specialists
SPAM Zapper - www.No-JunkMail.com - SPAM Stops Here.
Founding Board of Directors of Pittsburgh FBI - InfraGard




More information about the MIMEDefang mailing list