Exiscan + ClamAV

error running clamav?

Starting exim: 2006-01-19 05:10:37 Exim configuration error in line 556 of /etc/exim.conf:
error in ACL: unknown ACL condition/modifier in "demime = *"

my exim version is da_exim-4.50-2

changes made in the server
[root@copy2 root]# diff /etc/group group
12c12
< mail:x:12:mail,clamav
---
> mail:x:12:mail

changes made in exim.conf file
[root@copy2 root]# diff /etc/exim.conf exim.conf_backup
208c208
< av_scanner = clamd:/var/run/clamav/clamd.sock
---
>
554,557d553
< # Virus Check
< deny message = This message contains a virus or other malware ($malware_name)
< demime = *
< malware = *

[root@copy2 root]# /etc/init.d/exim stop
Shutting down exim:
[root@copy2 root]# /etc/init.d/exim start
Starting exim: 2006-01-19 05:10:37 Exim configuration error in line 556 of /etc/exim.conf:
error in ACL: unknown ACL condition/modifier in "demime = *"


cat /var/log/exim/paniclog

2006-01-19 05:10:37 Exim configuration error in line 556 of /etc/exim.conf:
error in ACL: unknown ACL condition/modifier in "demime = *"
2006-01-19 05:11:00 Exim configuration error in line 556 of /etc/exim.conf:
error in ACL: unknown ACL condition/modifier in "demime = *"
2006-01-19 05:11:14 Exim configuration error in line 556 of /etc/exim.conf:
error in ACL: unknown ACL condition/modifier in "demime = *"
2006-01-19 05:11:25 Exim configuration error in line 556 of /etc/exim.conf:
error in ACL: unknown ACL condition/modifier in "demime = *"
2006-01-19 05:12:01 Exim configuration error in line 556 of /etc/exim.conf:
error in ACL: unknown ACL condition/modifier in "demime = *"

if i upgrade my exim like this is this problem will be solved?
procedure for upgrade exim4 and integrate with ClamAv http://files.directadmin.com/servic...-4.60-1.src.rpm
rpm -ivh da_exim-4.60-1.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bb exim.spec
cd /usr/src/redhat/RPMS/i386
rpm -Uvh --force --nodeps da_exim-4-60-1.i386.rpm

or can I add
WITH_OLD_DEMIME=yes
in Makefile.pl to work it
 
I couldn´t install with RPMs (due to dependencies) so I decided to download sources and compile.

After the compilation I followed the same steps mentioned above.

It compiled fine and after some reboots,
and edition of config files it is working fine.

I am using CentOS 4
 
btw I have noticed that the previous version of this "how to" had also these instructions.

Why are they no longer required?

We now need to make it so clamav has access to mail files so type:

pico /etc/group

Change:

mail:x:12:mail

to:

mail:x:12:mail,clamav

Ctrl-X and save.
 
Back
Top