Solved

Amavis-new is blocking Office 2007 file formats.

Posted on 2009-07-13
3
2,758 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

MS outlook is a premier email client that enable you to send and receive the e-mails with various file formats of attachments such as document files, media file, and many others formats. There is some scenario occurs when a receiver of an e-mail mes…
Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
Familiarize people with the process of utilizing SQL Server functions 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 Microsoft Ac…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

760 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now