Maximum Attachment Size

Valmiki N. Ramsewak lilvalo at MIKIBOY.COM
Thu Jul 15 19:36:33 IST 2004


Well there is this:

# Attachment Filename Checking
# ----------------------------

Filename Rules = %etc-dir%/filename.rules.conf

Filetype Rules = %etc-dir%/filetype.rules.conf



thats the section and the options...I'm sure you can figure out how to do
it.. I don't have a reason to, so sorry I'm not going to dive in to get
details, but writing a ruleset should help you out.

Not sure if this needs to be considererd or not, BUT your actual message
is usually a txt or html attachment, so you need to let one attachment
through.

Which makes me think

Maximum Attachments Per Message = 200

(another setting line 232 in my mailscanner.conf) can help you.. try
setting to 0 and see what happens :)

Have fun

Valmiki


On Thu, Jul 15, 2004 at 12:32:07PM -0500, Henry Burbano wrote
> Tkanks, it works, but I need to block all attachments, How I can do it??
>
>
>
> Saludos,
>
> _________________________________
>
> Ing. Henry Burbano
> Web: www.novadevices.com
> E-Mail: hburbano at novadevices.com
> Telefono: (593-2) 225-7711
> Av. Brasil N45-08 y Condor,
> Quito-Ecuador
> _________________________________
> ----- Original Message -----
> From: "Valmiki N. Ramsewak" <lilvalo at MIKIBOY.COM>
> To: <MAILSCANNER at JISCMAIL.AC.UK>
> Sent: Wednesday, July 14, 2004 5:10 PM
> Subject: Re: Maximum Attachment Size
>
>
> > On Wed, Jul 14, 2004 at 04:54:07PM -0500, Henry Burbano wrote:
> > >  Hello everybody,
> > >
> > >  I have a problem when I try to do it:
> > >  Maximum Attachment Size = 0
> > >
> > >  When I set it, no message are allowed to delivery,
> > >
> > >  In the log file I get it:
> > >
> > >
> > >  Jul 14 16:19:27 MailScanner[17391]: Notices: Warned about 1 messages
> > >  Jul 14 16:19:27 MailScanner[17391]: New Batch: Scanning 1 messages,
> 1007
> > >  bytes
> > >  Jul 14 16:19:27 MailScanner[17391]: MCP Checks: Starting
> > >  Jul 14 16:19:27 MailScanner[17391]: Virus and Content Scanning:
> Starting
> > >  Jul 14 16:19:27 MailScanner[17391]: Attachment size check: 289 > 0
> > >  (msg-17391-57.txt)
> > >  Jul 14 16:19:27 MailScanner[17391]: Content Checks: Found 1 problems
> > >  Jul 14 16:19:27 MailScanner[17391]: Cleaned: Delivered 1 cleaned
> messages
> > >
> > >  in the body of the mail I can see it :
> > >
> > >  At Wed Jul 14 16:18:54 2004 the virus scanner said:
> > >
> > >     Attachment is too large
> > >
> > >  How I can resolve the problem??
> > >
> >
> > Try setting it to a negative number :)
> >
> > Max MESSAGE Size needs to be 0
> > Max ATTACHMENT Size needs ot be some negative number
> >
> > thats if you don't want a limit :)
> >
> > valmiki
> >
> > --
> > Got Speed?
> >
> > www.mikiboy.com
> > aim: lilvalo
> >
> > -------------------------- MailScanner list ----------------------
> > To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
> > Before posting, please see the Most Asked Questions at
> > http://www.mailscanner.biz/maq/     and the archives at
> > http://www.jiscmail.ac.uk/lists/mailscanner.html
> >
> >
>
> -------------------------- MailScanner list ----------------------
> To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
> Before posting, please see the Most Asked Questions at
> http://www.mailscanner.biz/maq/     and the archives at
> http://www.jiscmail.ac.uk/lists/mailscanner.html

--
Got Speed?

www.mikiboy.com
aim: lilvalo

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list