best way to not check attachments over 1MB?

Sergio secmas at gmail.com
Thu Apr 19 19:36:38 IST 2012


Hello Martin,
is there something else that I need to tweak in MS?

Thanks in advance.

On Wed, Apr 18, 2012 at 7:03 AM, Sergio <secmas at gmail.com> wrote:

> Thank you Martin 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/20120419/f708c83e/attachment.html


More information about the MailScanner mailing list