ClamAV .85 & Exim 4.50 - With or without Mime checking?

Orbserver

Verified User
Joined
May 2, 2005
Messages
20
I'm using Exim 4.50 and installed ClamAV .85. Virus detection seems to be working fine with minimal effect on performance on a VPS. However, Exim will not restart unless I omit mime checking from the Data ACL section of exim.conf. By omitting the following

demime = *

Exim starts. If I leave this line Exim stops and won't restart. Attempts to restart put out this error:

Starting exim: 2005-05-16 22:19:06 Exim configuration error in line 558 of /etc/exim.conf:
error in ACL: unknown ACL condition/modifier in "demime = *"

Comment out the line and Exim starts right up. According to instructions, the complete Data ACL section should like this:

deny message = This message contains a virus or other harmful content ($malware_name)
demime = *
malware = *
accept

ClamAV seems to be doing fine based on virus test messages not delivering and rejection details in the logs. So what am I missing out on by leaving out mime checking with Exiscan and ClamAV? Or is this by design with Exiscan and DA? Should I just leave well enough alone?

Suggestions appreciated.
 
According to what instructions, found where?

The error indicates that the command isn't recognized by your version of Exim.

Jeff
 
According to what instructions, found where?
http://www.directadmin.com/forum/showthread.php?s=&threadid=3860&highlight=clamav+exim

I used these steps except that I skipped the crontab for freshclam (and a manual install of Exiscan since it's now integrated). I realize this info is a bit dated but it closely matches what I read elsewhere for Exim and ClamAV in environments other than DA, so I figured it would be close enough.

Other info that I gathered includes
http://www.timj.co.uk/linux/Exim-SpamAndVirusScanning.php

edit: "demime = *" is depricated, at least with Exim 4.51.
http://www.directadmin.com/forum/showthread.php?s=&threadid=8078&perpage=20&pagenumber=3
Missed this one.
:rolleyes:
 
Last edited:
Back
Top