Solved

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

Posted on 2011-02-26
5
736 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
To show how to generate a certificate request 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 >> Certificates…

710 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