Error:
MailScanner: Attempt to hide real filename extension (document.xml.rel)
This is becuase M$ Office 2007 documents (.docx, .xlsx etc, etc.) seem to be archived XML documents and MailScanner does not like that.
The solution is to put this in filename.rules.conf
allow \.xml\.rel$ - -
allow \.rel$ - -
allow \.docx$ - -
allow \.xlsx$ - -
allow \.xml\d*\.rel$ - -
allow \.x\d+\.rel$ - -
allow \.bin$ - -
allow \.wmf$ - -
allow \.dat$ - -
Put this just above the “# Deny all other double file extensions..” line
allow .doc$ - -
allow .xls$ - -
And in MailScanner.conf change Maximum Archive Depth to 3
Maximum Archive Depth = 3
This makes MailScanner recognize the Office 2007 XML stuff as legit files and deliever them. Or take the alternative route and install OpenOffice for everybody.
Comments (2)
Sorry, the solution did not work you cite above.
there is another solution to this problem???
Thanks!!
Then you are doing someting wrong. filename.rules.conf uses regular expressions to match allowed filenames. .docx is essentially an archive though.
Did you restart the mailscanner service?