Solved

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

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
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 …
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

623 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