I get this error with sendmail 8.13.1 (Deferred 451 4.3.2 Please try again
later ), when I have in clamd.conf USER clamav specified, but don`t know
why.
Without setting USER it`s OK, but I don`t like this warning in log :
spamd[835]: info: setuid to root succeeded
spamd[835]: Still running as root: user not specified with -u, not found, or
set to root.  Fall back to nobody.

<<sendmail.mc>>
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=,
T=S:4m;R:4m')

<<clamav-milter.sh>>
: ${clamav_milter_socket="/var/run/clamav/clmilter.sock"}
:
${clamav_milter_flags="--quiet --local --outgoing --quarantine-dir=/zavirovane
 --max-children=50 --server=127.0.0.1 --dont-log-clean"}

<<clamav-clamd.sh>>
pidfile=/var/run/clamav/clamd.pid
required_dirs=/usr/local/share/clamav
required_files=/usr/local/etc/clamd.conf
: ${clamav_clamd_flags="-c /usr/local/etc/clamd.conf"}
: ${clamav_clamd_socket="/var/run/clamav/clamd.sock"}

ls -ld /var/run/clamav
drwxr-xr-x  2 clamav  clamav  512 Oct 23 22:00 /var/run/clamav

 ls -ld /var/run/clamav/*
-rw-rw----  1 clamav  clamav  3 Oct 23 22:00 /var/run/clamav/clamd.pid
srwxrwxrwx  1 clamav  clamav  0 Oct 23 22:00 /var/run/clamav/clamd.sock
srwx------  1 clamav  clamav  0 Oct 23 22:00 /var/run/clamav/clmilter.sock

Any idea what can be wrong ?
Thanks.

BK

_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to