File Type Check Problem

Julian Field MailScanner at ecs.soton.ac.uk
Thu Apr 3 21:21:01 IST 2008



Mike Kercher wrote:
> I've been searching and haven't found a resolution for this yet.
>
> Periodically, we get emails with attachments coming through that are not
> being detected properly.  MailScanner reports:
>
> MailScanner: No programs allowed (msg-10410-101.txt)
>   
This is being caught by the filetype trap.
> If I go look at the quarantined email in MailWatch and download the
> attachment, it is a PDF.
That may be what the filename says, but what does the "file" command report?
>   There was talk of the file -i command switch.
> Is this something that needs to be set in MailScanner.conf?
>   
No, just read the latest filetype.rules.conf and filename.rules.conf 
files, the comments at the top of each file tell you how to use it. 
There is also an example line in filetype.rules.conf for you to copy.

> TIA
>
> Mike
>   

Jules

-- 
Julian Field MEng CITP CEng
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
PGP public key: http://www.jules.fm/julesfm.asc


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list