Solved

How to allow .exe mail attachments in OS X Sever 10.6

Posted on 2011-02-26
5
727 Views
Last Modified: 2012-06-22
How do I allow .exe attachments with OS X Server 10.6?

By default, it is not allowed, and you will get an error message stating "banned contents" and the type.

I have looked through the amavisd.conf file, and commented out the two entries that contain mention of .exe file types to ban, restarted the mail service, and yet still get the same problem.
0
Comment
Question by:flyawaymike
  • 3
  • 2
5 Comments
 
LVL 15

Expert Comment

by:roylong
ID: 34989395
Don't do it... ...just get the users to compress/zip any .exe files before attaching them, so they are attached as .zip files.

It's not worth the aggro allowing .exe files through email systems - there'd sure be a lot less infections from viruses if this was practiced universally.
0
 

Author Comment

by:flyawaymike
ID: 34989526
doesn't matter if the (self-extracting PGP zip executable) is zipped again in conventional zip, it's still rejected.  

I would just have them use PGP, and send .pgp files (which are not rejected), but the issue is not in my control.
0
 
LVL 15

Accepted Solution

by:
roylong earned 500 total points
ID: 34992007
so I looked into this further and just want to know, did you comment out the following line - or just remove the exe from it
$banned_filename_re = new_RE(

### BLOCKED ANYWHERE
# qr'^UNDECIPHERABLE$',  # is or contains any undecipherable components
  qr'^\.(exe-ms|dll)$',                   # banned file(1) types, rudimentary
# qr'^\.(exe|lha|tnef|cab|dll)$',         # banned file(1) types


If you commented out the entire line, then the default position may be to ban exe attachments, if however you copy that line; comment out one of them without an edit; then delete exe from the active line; restart services; see if that helps...
0
 
LVL 15

Expert Comment

by:roylong
ID: 34992011
and the same in the following lines too::

  # block certain double extensions in filenames
  qr'\.[^./]*[A-Za-z][^./]*\.\s*(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)[.\s]*$'i,

# qr'\{[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}\}?'i, # Class ID CLSID, strict
# qr'\{[0-9a-z]{4,}(-[0-9a-z]{4,}){0,7}\}?'i, # Class ID extension CLSID, loose

  qr'.\.(exe|vbs|pif|scr|cpl)$'i,             # banned extension - basic
# qr'.\.(exe|vbs|pif|scr|cpl|bat|cmd|com)$'i, # banned extension - basic+cmd
# qr'.\.(ade|adp|app|bas|bat|chm|cmd|com|cpl|crt|emf|exe|fxp|grp|hlp|hta|
#        inf|ins|isp|js|jse|lnk|mda|mdb|mde|mdw|mdt|mdz|msc|msi|msp|mst|
#        ops|pcd|pif|prg|reg|scr|sct|shb|shs|vb|vbe|vbs|
#        wmf|wsc|wsf|wsh)$'ix,  # banned ext - long
0
 

Author Comment

by:flyawaymike
ID: 34999015
That worked! Thank you!!
0

Featured Post

Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

Question has a verified solution.

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

Nearly six years ago I was hired by a company to be their senior server engineer. One of my first projects was to implement Exchange Server 2007 on a Windows Server 2008 Single Copy Cluster for high availability. That was the easy part; read on to l…
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

863 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

24 Experts available now in Live!

Get 1:1 Help Now