best way to not check attachments over 1MB?

Martin Hepworth maxsec at gmail.com
Wed Apr 18 06:26:50 IST 2012


What are the content of the rules files used for max message and attachment
size ?

Martin

On Tuesday, 17 April 2012, Sergio wrote:

> Hello all,
> what is the best way to tweak MS to not check or scan for attachments
> larger than 1MB but that could delete messages with attachments larger than
> 15MB?
>
> I have already set the following settings, but when an email larger thatn
> 30MB enters, the load on the server goes high and the deliver is stopped
> until the message has been scanned:
>
> - *Gunzip Command: /bin/gunzip
> - **Gunzip Timeout: 50
> - **Unrar Command: {blank}
> - **Unrar Timeout: 0
> - **Maximum Message Size: %rules-dir%/max.message.size.rules
> - **Maximum Attachment Size: %rules-dir%/max.attach.size.rules
> - **Minimum Attachment Size: -1
> - **Maximum Archive Depth: 0
> - **Virus Scanners: clamd
> - **Virus Scanner Timeout: 60
> - **ClamAVmodule Maximum Recursion Level: 8
> - **ClamAVmodule Maximum Files: 1000
> - **ClamAVmodule Maximum File Size: 1000000 # (1 Mbytes)
> - **ClamAVmodule Maximum Compression Ratio: 250
> - **Clamd Use Threads: yes*
> *- **ClamAV Full Message Scan: no
> - **Max Spam Check Size: 200K
> - **Max SpamAssassin Size: 200K
> - **SpamAssassin Timeout: 75
> - **Max SpamAssassin Timeouts: 10
>
> I think all this commands are relevant to what I want to accomplish, if I
> need another one, please tell me and if this commands needs to be fixed,
> please tell me as well.
>
> Your help is appreciated.
>
> Regards,
>
> Sergio
> **
>
> *



-- 
-- 
Martin Hepworth
Oxford, UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20120418/61ed9f50/attachment.html


More information about the MailScanner mailing list