Having trouble with amavisd - clamav integration

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

scalixuser
Posts: 21
Joined: Sat Mar 17, 2007 3:26 pm

Having trouble with amavisd - clamav integration

Postby scalixuser » Sat Apr 28, 2007 4:11 am

Having trouble with amavisd - clamav integration.
We made a couple of changes to amavisd.conf (e.g. change amavisd.sock to amavisd-milter.sock because amavisd.sock does not exist on our system) but that has not been helpful. Most recent maillog output comes first.

service amavisd status says amavisd dead; subsystem locked.

Centos 4.4/Scalix 11.0.2

/var/log/maillog

Apr 28 09:44:17 mydomain sm-msp-queue[23663]: l3OAZXdG005282: to=<someone@somewhere.net>, delay=3+21:08:44, xdelay=00:00:00, mailer=relay, pri=502321188, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later

amavisd.conf


# @bypass_virus_checks_maps = (1); # uncomment to DISABLE anti-virus code
# @bypass_spam_checks_maps = (1); # uncomment to DISABLE anti-spam code

$max_servers = 2; # num of pre-forked children (2..15 is common), -m
$daemon_user = 'vscan'; # (no default; customary: vscan or amavis), -u
$daemon_group = 'vscan'; # (no default; customary: vscan or amavis), -g

$mydomain = 'example.com'; # a convenient default for other settings

$MYHOME = '/var/amavis'; # a convenient default for other settings, -H
$TEMPBASE = "$MYHOME/tmp"; # working directory, needs to exist, -T
$ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR
$QUARANTINEDIR = '/var/virusmails'; # -Q
# $quarantine_subdir_levels = 1; # add level of subdirs to disperse quarantine

# $daemon_chroot_dir = $MYHOME; # chroot directory or undef, -R

# $db_home = "$MYHOME/db"; # dir for bdb nanny/cache/snmp databases, -D
# $helpers_home = "$MYHOME/var"; # working directory for SpamAssassin, -S
$lock_file = "$MYHOME/amavisd.lock"; # -L
$pid_file = "$MYHOME/amavisd.pid"; # -P
#NOTE: create directories $MYHOME/tmp, $MYHOME/var, $MYHOME/db manually

@local_domains_maps = ( [".$mydomain"] );
# @mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
# 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 );

$log_level = 0; # verbosity 0..5, -d
$log_recip_templ = undef; # disable by-recipient level-0 log entries
$DO_SYSLOG = 1; # log via syslogd (preferred)
$syslog_facility = 'mail'; # Syslog facility as a string
# e.g.: mail, daemon, user, local0, ... local7
$syslog_priority = 'debug'; # Syslog base (minimal) priority as a string,
# choose from: emerg, alert, crit, err, warning, notice, info, debug

$enable_db = 1; # enable use of BerkeleyDB/libdb (SNMP and nanny)
$enable_global_cache = 1; # enable use of libdb-based cache if $enable_db=1

#$inet_socket_port = 10024; # listen on this local TCP port(s) (see $protocol)
#$unix_socketname = "$MYHOME/amavisd.sock"; # amavisd-release or amavis-milter
$unix_socketname = "$MYHOME/amavisd-milter.sock"; # amavisd-release or amavis-milter


clamd.conf
Changed LocalSocket to match socket as defined in amavisd.conf:

LocalSocket /var/amavis/clamd.sock

scalixuser
Posts: 21
Joined: Sat Mar 17, 2007 3:26 pm

Suggestions

Postby scalixuser » Sun Apr 29, 2007 11:27 am

Nobody?


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 9 guests