Solved

Amavis-new is blocking Office 2007 file formats.

Posted on 2009-07-13
3
2,799 Views
Last Modified: 2013-12-09
We have a dedicated SPAM filter running Linux Debian (Etch) implementing Postfix/Amavis/SA/Clamd. Amavis-new is blocking new MS Office 2007 with messages similar to the following:

X-Amavis-Alert: BANNED, message contains part: multipart/mixed | application/octet-stream,.zip

My company has asked me to allow docx / xlsx / pptx fomats as attachments. How should I do this without opening a huge security hole?
0
Comment
Question by:icsbudapest
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
OliverRahner earned 500 total points
ID: 24838659
Find the line starting with "$banned_filename_re" inside your amavisd config file(s).

Add the following directly under this line:

  [ qr'(\.xlsx|\.docx|\.pptx)$' => 0 ], # allow MS Office 2007 plain files

This should be rather safe, as Office 2007 only allows macros to be placed inside files with an extension which ends in 'm' (.xlsm, .docm etc).
0
 

Author Comment

by:icsbudapest
ID: 24838712
Ah, for some reason I missed that about the macro format. Thanks for the quick tip. I will send some test messages and see if it is working.

0
 

Author Comment

by:icsbudapest
ID: 24838786
All seems to be working. attachments are going through without a problem. Thanks again.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New-MailboxSearch Powershell Command and step by step approach to Search and Extract Emails form Exchange 2013 Journaling server.
Ransomware continues to be a growing problem for both personal and business users alike and Antivirus companies are still struggling to find a reliable way to protect you from this dangerous threat.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question