best way to not check attachments over 1MB?

Sergio secmas at gmail.com
Wed Apr 18 14:03:56 IST 2012


Thank you Marti for answering back, this is what I have on both rules:

max.message.size.rules:
FromOrTo: default           15M

max.attach.size.rules:
FromOrTo: default           15M

Regards,

Sergio

On Tue, Apr 17, 2012 at 11:26 PM, Martin Hepworth <maxsec at gmail.com> wrote:

> 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
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20120418/1d50d39c/attachment.html


More information about the MailScanner mailing list