Hello all,
I haven't used UNIX in the past 10 years and this is my first go at Linux,
so please be patient if some of my question seem a bit obvious to the rest
of you. Rest assured that I have looked up every FAQ and HowTo known to
Google on this subject and I still can't seem to get things to work quite
properly.
I have Exim4 running and it's sending and receiving e-mail with applomb.
However, I cannot seem to get Clam to work properly, even though I have been
following this HowTo (http://koivi.com/exim4-config/). It seems to me that
Clam isn't scanning e-mail as it arrives at the server. Clam seems to be
running:

jennifer:/var/log/exim4# ps -efa | grep clamd
root 21794 1 0 17:13 ? 00:00:00 /usr/sbin/clamd

I have included it in my
/etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs:

######################################################################
# MAIN CONFIGURATION SETTINGS #
######################################################################
# This tells what virus scanner to user
av_scanner = clamd:/var/run/clamav/clamd.ctl
# Slowing spammers down by holding their connection a bit
TEERGRUBE = 60s
<snip>


However, if I change my /etc/exim4/conf.d/acl/40_exim4-config_check_data
from:

### acl/40_exim4-config_check_data
#################################
acl_check_data:

# accept otherwise
accept

to this:
### acl/40_exim4-config_check_data
#################################
acl_check_data:
deny message = This message contains a virus ($malware_name) and has been r$
demime = *
malware = *

# accept otherwise
accept

ALL e-mail is rejected.

The /var/log/exim4/paniclog is full of this:

2005-06-25 20:37:43 1DmM5f-0006bp-Br demime acl condition: error while
creating mbox spool file

When I look in /var/log/clamav/clamav.log, I see no mention of scanning
anything. Does anyone have any idea what is happening and how I can fix it?
Thanks in advance for your time and consideration. My apologies for such a
long post, but I wanted to put in all the pertinent information I could
think of to speed a solution.

 

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.1/28 - Release Date: 6/24/2005
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to