Exim Blocking of Extensions

boonchuan

Verified User
Joined
Dec 23, 2004
Messages
116
I tried putting into the exim.conf but demime doesn't seem to be recognised.

# Unpack MIME containers and reject file extensions used by worms.
# This calls the demime condition again, but it will return cached results.
# Note that the extension list may be incomplete.
#
deny
message = We do not accept ".$found_extension" attachments here.
demime = bat:btm:cmd:com:cpl:dll:exe:lnk:msi:pif:prf:reg:scr:vbs:url

Anything I have missed out?
 
You may be using a compiled exim that doesn't recognize demime.

John wrote me a few days ago that demime is deprecated.

I'll be doing some research into this at some point but I cannot guarantee a timeframe.

Jeff
 
I'm not sure if I gave you a bum steer or not...

Here's what I've found out about the latest exiscan stuff compiled into exim:

http://duncanthrax.net/exiscan-acl/

I'm having problems installing an RPM; I'm awaiting a response from John.

Jeff
 
Hi!
Is there something new on this?

I have just found myself incapable of forwarding messages that has .com in some part of it ... because it seems that EXIM thinks that the attachment is called something.com :(
 
If all you want to do is allow messages with ".com" in the name of the attachment, you can make changes to the exim systemwide filter at:

/etc/system_filter.exim

(on line 91 in my copy).

Jeff
 
Back
Top