Blocked filename attachments

Michael Mansour micoots at yahoo.com
Wed Sep 14 04:00:38 IST 2005


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Many thanks to the excellent replies and references.
I've implemented it and it seems to be working fine.

Regards,

Michael.

--- Donovan Jones <d.jones at FX.NET.NZ> wrote:

> On Wed, 2005-09-14 at 08:32 +1000, Michael Mansour
> wrote:
> > Hi,
> > 
> > Currently I have my system blocking the following
> > filetypes in the filetypes.rules.conf file:
> > 
> > deny    MPEG            No MPEG movies          No
> > MPEG movies allowed
> > deny    AVI             No AVI movies           No
> AVI
> > movies allowed
> > 
> > I want to allow them through for a particular
> domain
> > _only_, while keeping the default behaviour for
> every
> > other domain, but I don't quite understand how to
> do
> > this from the explanation given in the
> > MailScanner.conf file:
> > 
> > # Set where to find the attachment filetype
> ruleset.
> > # The structure of this file is explained
> elsewhere,
> > but it is used to
> > # accept or reject file attachments based on their
> > content as determined
> > # by the "file" command, regardless of whether
> they
> > are infected or not.
> > #
> > # This can also point to a ruleset, but the
> ruleset
> > filename must end in
> > # ".rules" so that MailScanner can determine if
> the
> > filename given is
> > # a ruleset or not!
> > #
> > # To disable this feature, set this to just
> "Filetype
> > Rules =" or set
> > # the location of the file command to a blank
> string.
> > Filetype Rules = %etc-dir%/filetype.rules.conf
> 
> 
> in /etc/MailScanner/MailScanner.conf
> 
> you need to point to a file like this:
> 
> ---cut here---
> Filetype Rules = %rules-dir%/filetype.rules
> ---cut here---
> 
> then in this file (ie
> /etc/MailScanner/rules/filetype.rules) you need:
> 
> ---cut here---
> To:     otherdomain.com  
> %etc-dir%/otherdomain.filetype.rules.conf
> FromTo: default          
> %etc-dir%/filetype.rules.conf
> ---cut here---
> 
> The default ruleset has the defaults the otherdomain
> ruleset can have
> whatever you want for the domain concerned
> 
> you can do the same thing with filename rules.
> 
> Regards
> Don Jones
> 
> ------------------------ MailScanner list
> ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with
> the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki
> (http://wiki.mailscanner.info/) and
> the archives
> (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> 
> Support MailScanner development - buy the book off
> the website!
> 


Send instant messages to your online friends http://au.messenger.yahoo.com 

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list