Allowing .pr3 files through
Res
res at ausics.net
Fri Dec 8 21:25:40 GMT 2006
On Fri, 8 Dec 2006, Michael Mansour wrote:
> Hi Stef,
>
> I put the rule to the top of the list and the "bad content" was still tagged on the message.
>
> I believe this is tagged from the "filetype" rules area not "filename".
It might think its an executable PR3 can be used as postsrcipt extension
so I'm suprised it's not allowed with what you have
Filetype rules will over-ride filename everytime, filetype is based on
system " file " where filename I don't beleive uses file in tests and just
takes your word for it on filename, making filetype a much more sensible
approach to be the top level guardian.
try :
file /full/path/to/file.pr3
and see what it says it thinks it is
>
> If that's the case, what sort of rule would I need to put in to allow .pr3 files?
>
> The filetype fules I have for this domain are:
>
> allow text - -
> allow script - -
> allow archive - -
> allow postscript - -
> deny self-extract No self-extracting archives No self-extracting archives allowed
> deny ELF No executables No programs allowed
> deny executable No executables No programs allowed
> allow MPEG Yes MPEG movies MPEG movies allowed
> allow AVI Yes AVI movies AVI movies allowed
> allow MNG Yes MNG/PNG movies MNG movies allowed
> allow Quicktime Yes Quicktime movies Quicktime movies allowed
> allow ASF Yes Windows media Windows media files allowed
> allow BMP Yes BMP files BMP graphics files allowed
> deny Registry No Windows Registry entries No Windows Registry files allowed
>
> Thanks.
>
> Michael.
>
> Michael Mansour wrote:
>> I have their setup as:
>>
>> /etc/MailScanner/example.com.filename.rules.conf
>> allow \.pr3$ - -
>>
>> at the end of the file, but that does not seem to work.
>
> As far as I know, the rules file is parsed in order and stops when a
> match is found.
>
> Thefore, try putting it at the beginning instead, so that it matches for
> .pr3 and allows it before matching the general disallow rules for
> executables.
>
> Regards
>
> Stef
> Stefan Morrell | Operations Director
> Tel: 0845 3452820 | Alpha Omega Computers Ltd
> Fax: 0845 3452830 | Incorporating Level 5 Internet
> stef at aoc-uk.com | stef at l5net.net
>
--
Cheers
Res
"Just a world that we all must share, it's not enough just to stand and
stare, is it only a dream that there'll be no more turning away" - Floyd
More information about the MailScanner
mailing list