Betr.: Re: MailScanner hates Microsoft office

Arjan Melein Amelein at dantumadiel.eu
Wed Nov 4 12:58:14 GMT 2009



>>> Op 4-11-2009 om 13:43 is door Stephen Swaney <steve at fsl.com> geschreven:


To accomodate Word 2007, add the following lines to your filename.rule.conf file being very careful to use "tabs" instead of "spaces" between the fields in each line that is not commented out. Alswo you may have different ideas about which file types to allow or deny so you should review carefully before implementing.


# Word 2007 File Type Extensions
# -------------------------------------------
allow \.docx$ Word 2007 XML Document      Word 2007 XML Document
deny \.docmx$ Word 2007 XML Macro-Enabled Document      Word 2007 XML Macro-Enabled Document
deny \.dotx$ Word 2007 XML Template      Word 2007 XML Template
deny \.dotm$ Word 2007 XML Macro-Enabled Template      Word 2007 XML Macro-Enabled Template

# Excel 2007 File Type Extension
# -------------------------------------------
allow \.xlsx$ Excel 2007 XML Workbook      Excel 2007 XML Workbook
deny \.xlsm$ Excel 2007 XML Macro-Enabled Workbook      Excel 2007 XML Macro-Enabled Workbook
deny \.xltx$ Excel 2007 XML Template      Excel 2007 XML Template
deny \.xltm$ Excel 2007 XML Macro-Enabled Template      Excel 2007 XML Macro-Enabled Template
deny \.xlsb$ Excel 2007 binary workbook      Excel 2007 binary workbook
deny \.xlam$ Excel 2007 XML Macro-Enabled Add-In      Excel 2007 XML Macro-Enabled Add-In

# PowerPoint 2007 File Type Extension
# -------------------------------------------
allow \.pptx$ PowerPoint 2007 XML Presentation      PowerPoint 2007 XML Presentation
deny \.pptm$ PowerPoint 2007 Macro-Enabled XML Presentation      PowerPoint 2007 Macro-Enabled XML Presentation
deny \.potx$ PowerPoint 2007 XML Template      PowerPoint 2007 XML Template
deny \.potm$ PowerPoint 2007 Macro-Enabled XML Template      PowerPoint 2007 Macro-Enabled XML Template
deny \.ppam$ PowerPoint 2007 Macro-Enabled XML Add-In      PowerPoint 2007 Macro-Enabled XML Add-In
deny \.ppsx$ PowerPoint 2007 XML Show      PowerPoint 2007 XML Show
deny \.ppsm$ PowerPoint 2007 Macro-Enabled XML Show      PowerPoint 2007 Macro-Enabled XML Show
# ----------- End Insert

You probably also want to change or delete the defaults for the "repetitive filename extensions", like the ones below, to accommodate the tendency of the Office programs to add some new attachment with aaaaa.xxx.yyy filenames.

     # Repeated file extension, e.g. blah.zip.zip
     allow   (\.[a-z0-9]{3})\1$      -       -

     # Other double file extensions. This catches any hidden filenames.
     deny    \.[a-z][a-z0-9]{2,3}\s*\.[a-z0-9]{3}$   Found possible filename hiding  Attempt to hide real filename extension

Best regards,

Steve

-- 
Steve Swaney
steve at fsl.com
www.fsl.com
The most accurate and cost effective anti-spam solutions available
 
Thanks Steve, I'll add these for office 2007. The problem I am having is with office XP and 2003 files however.
It affects both outgoing and incoming e-mails.
(We're not using 2007 because of the $$$ involved with upgrading and there's a good chance it'll become openoffice :-))
 
-
Arjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20091104/b485dd78/attachment.html


More information about the MailScanner mailing list