How to allow double extension file?

Denis Beauchemin Denis.Beauchemin at usherbrooke.ca
Mon Jul 16 18:12:37 IST 2012


Gao,

Try putting your lines at the start of the file instead. This might resolve your problem.

Denis
PS: Don't forget to restart MS afterwards.

______________________________
Denis Beauchemin
Architecte technologique - Infrastructure des serveurs
Service des technologies de l’information
Université de Sherbrooke

Tél. : 819 821-8000, poste 62252
Courriel : Denis.Beauchemin at USherbrooke.ca


> -----Message d'origine-----
> De : mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] De la part de J Gao
> Envoyé : 16 juillet 2012 12:52
> À : mailscanner at lists.mailscanner.info
> Objet : How to allow double extension file?
> 
> Hello,
> 
> We have a client send us email with zipped attachment. It contain files
> like:
> file1.shp.xml
> file2.kmz.kml
> 
> I added two lines on the bottom of the filename.rules.conf:
> allow   \.shp\.xml$                     -       -
> allow   \.kmz\.kml$                     -       -
> 
> But the MailScanner still detect them as "Bad Filename" and drop them into
> quarantine:
> 
>   MessageID: 5482680A2.A554E
> Quarantine: /var/spool/MailScanner/quarantine/20120713/5482680A2.A554E
>      Report: MailScanner: Attempt to hide real filename extension
> (aral.shp.xml)
> 
> 
> 
> How can I let MailScanner know these are safe file name and let them pass
> through?
> 
> Thanks
> 
> Gao
> 
> --
> 
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website!


More information about the MailScanner mailing list