Blocking certain filename...a question

C. Jon Larsen jlarsen at RICHWEB.COM
Fri Jun 25 17:26:32 IST 2004

> For instance, here is the file that was blocked this morning:
> CORR.NewRateSheets.06_21_04.ljb.pdf
> Since I it would be futile to try and ask the vendor to name attachments
> properly, is there a way I can customize MS so it will not block files like
> this? Could I just add .pdf as an allow file in filename.rules.conf?

in /etc/MailScanner/filename.rules.conf
comment out this line. i.e.:

# Deny all other double file extensions. This catches any hidden
# filenames.
# deny  \.[a-z][a-z0-9]{2,3}\s*\.[a-z0-9]{3}$   Found possible  .....

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at
Before posting, please see the Most Asked Questions at     and the archives at

More information about the MailScanner mailing list