Solved

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

Posted on 2011-02-26
5
724 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
Resolve DNS query failed errors for Exchange
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…
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…

708 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

12 Experts available now in Live!

Get 1:1 Help Now