Discuss our MailScanner install script and MailScanner itself
-
leozim
- Junior Member
- Posts: 18
- Joined: 30 May 2008, 14:35
Post
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
-
Sarah
- Moderator
- Posts: 934
- Joined: 09 Dec 2006, 22:49
Post
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
-
puffin
- Junior Member
- Posts: 6
- Joined: 29 Oct 2009, 10:09
Post
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.