cancel
Showing results for 
Search instead for 
Did you mean: 

deny .exe files

SOLVED
Go to solution
Jennifer Lugar
Occasional Contributor

deny .exe files

How do I set up my openmail or sendmail 8.9.3 to not allow sending or recieving .exe files.
2 REPLIES
Robin Wakefield
Honored Contributor
Solution

Re: deny .exe files

Hi Jennifer,

According to HP, the following should work for messages coming in through the Unix Gateway:

1) edit ~openmail/sys/mime.types
After line
0 application/octet-stream
Add the following line
2188 */* exe

2) edit ~openmail/sys/general.cfg
Change the following line from:

SR_FILTER_TYPES_OF_ATT=TRUE

to:

SR_FILTER_TYPES_OF_ATT=1734,2188

3) Stop and restart service router and unix gateway

I didn't have time to try this out, but you may have better luck.

Rgds, Robin (apologies for late reply).
James Meadows
Occasional Advisor

Re: deny .exe files

Robin,

We tried the mime.types route and it didn't work at all for us. We ended up blocking much more than we wanted and could never tweak it to only filter exactly as we desired. It seems that the mime type is too unpredictable, depending on the sending PC, email client, and mail servers. We could send an Excel document from two different PCs on our network and the attachments would have differing mime encodings.

James Meadows
Director of University Computing
University of Charleston
Charleston, WV