More filetype/filename questions: jsp, js, mno files

Julian Field MailScanner at ecs.soton.ac.uk
Thu Aug 9 23:04:04 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



dnsadmin 1bigthink.com wrote:
> At 05:22 PM 8/9/2007, you wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Have you checked they are allowed through both the filename checks and
>> filetype checks?
>>
>> dnsadmin 1bigthink.com wrote:
>> > Hello All,
>> >
>> > I have attempted to search for and test allowing the following file
>> > types which are frequently passed among my developers in .zip files. I
>> > cannot seem to figure out how to allow them. I've figured out how to
>> > overload the ruleset for just these users, but still cannot get these
>> > filetypes/names through:
>> >
>> > *.mno
>> > *.jsp
>> > *.js
>> >
>> > It's pretty aggravating. Can anyone help?
>> >
>> > Thanks,
>> > Glenn Parsons
>> >
>>
>> Jules
>
>
> Hello all,
>
> Thanks for the response Julian. I have included both in filetypes and 
> filenames and double checked my MailScanner --lint.
>
> I suspect I just don't know how to format the filetypes.rules.conf
It's looking for things in the output of the "file" command when run on 
your files.
>
> Here are what I tried in filetypes rules.conf: (tab-separated)
>
> # Especially for Developers
>
>
> allow   \.js$           -                       -
> allow   \.jsp$          -                       -
> allow   \.mno$          -                       -
That's for filenames, not filetypes
>
> allow   JScript         -                       -
> allow   JavaServerPages -                       -
> allow   mno             -                       -
That's not what the "file" command outputs.
Please read the docs. This is explained in the comments prior to the 
"Filetype Rules" setting in MailScanner.conf.

>
> Here is what I have in filename.rules.conf:
>
> ### ! Special allowances for Developers ! ###
>
> allow   \.js$                   -       -
> allow   \.jsp$                  -       -
> allow   \.mno$                  -       -
>
> Thanks,
> Glenn Parsons

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.2 (Build 2014)
Charset: ISO-8859-1

wj8DBQFGu49VEfZZRxQVtlQRAhMqAJ0eDOZlaD1rl0g2mI9E83bXH/HmHgCeIEoZ
8Nphl3wCyb/mj1XsH38Gesw=
=+3lO
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list