ALLOW FILETYPES in MailScanner.conf
Julian Field
mailscanner at ecs.soton.ac.uk
Thu Aug 10 20:55:46 IST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kevin Miller wrote:
> I updated my MS to take advantage of the new Allow Filenames & Allow
> Filetypes functions and notice that the comments documenting filetypes
> seems to be a copy and paste of Allow Filenames with minor editing. I'm
> a bit confused by one thing; in the example it shows this for filetypes:
>
> # Allow Filetypes = \.txt$ \.pdf$
> # Deny Filetypes = \.com$ \.exe$ \.cpl$ \.pif$
>
> Shouldn't that rather be:
>
> # Allow Filetypes = text postscript
>
> and the like?
Yes it should. Well spotted.
>
> Looking in the filetype.rules.conf I don't see any extensions - just
> things like text, postscript, MPEG, etc.
>
> Am I out to lunch?
Not at all. For a beer, maybe, for not to lunch.
>
> What I'm doing is setting up a particular user to be able to send my
> users .mp3 files, so I have the following files set up:
>
> %etc-dir%/allow.filenames.rules
> From: joe.blow at somedomain.com \.mp3$
>
> %etc-dir%/allow.filetypes.rules
> From: joe.blow at somedomain.com MPEG
>
> Is that correct, or do I really need \.mp3$ in both the filename and
> filetype rule files?
No, you've got it absolutely correct.
>
> S'later...
>
> ...Kevin
- --
Julian Field
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 MailScanner.biz
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Get your PCs and servers from Transtec.de, very well built and reliable!
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.7.0
Charset: ISO-8859-1
wj8DBQFE249FEfZZRxQVtlQRAkbxAKCrag3nx9PE6Pbn+TKPOEkAq7Ci4QCeJr28
/TSkTFF3kmV5JJSHJHEFEfA=
=6cWp
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
More information about the MailScanner
mailing list