Txt file considered as program?

Julian Field MailScanner at ecs.soton.ac.uk
Fri Jan 4 14:20:57 GMT 2008

An attachment has to pass *both* the filename *and* filetype tests. So 
just allowing *.txt files in filename.rules.conf won't be enough, it has 
to pass the filetype test too (filetype.rules.conf).

Budi Febrianto wrote:
> Dear all,
> I see many emails quarantine in the mailscanner server because it have 
> attachment that considered as program, but the attachment actually txt 
> attachment.
> MailScanner: No programs allowed (msg-27290-704.txt)
> I already allowed txt file in both filename.rules.conf and 
> MailScanner.conf
> in filename.rules.conf
> allow   \.txt$                  -       -
> in MailScanner.conf
> Allow Filenames = \.tmp$ \.par$ \.pce$ \.mod$ \.txt$
> I'm using MailScanner 4.65.3 in CentOS 5.


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

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

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