Page 1 of 1

Docx of office blocked

Posted: 30 May 2008, 14:42
by leozim
Hello,

New files of office 2007, using extension docx is blocked by default from mailscanner.

example:

MailScanner: Attempt to hide real filename extension

(document.xml.rel)

What is the best solution to not block this file, but without remove checking for hide filename extensions?

Thanks

Posted: 30 May 2008, 15:14
by Sarah
Try adding this line just above the double file extensions rule in /usr/mailscanner/etc/filename.rules.conf:

# Allow .rel files
allow \.rel$ - -

Be sure to put tabs in between the fields.

Regards,
Sarah

Posted: 29 Oct 2009, 10:26
by puffin
This solution didn't work for me in all docx cases:

# Allow .rel files
allow \.rel$ - -

But this worked:

# Allow friggin MS Office hidden files
allow \.x(ml)?\d{0,}\.rel$

Don't forget to tab fields and then restart MailScanner.