On 2016-04-24 17:39:37 [+0200], xavier quost wrote: > It seems that clamav-daemon does not start with thes sames options when using > systemd or sysvinit. > This leads to problem with clamsmtp / clamd communication breaking mail > checking systeme.
>From browsing through the logs here I can't spot the difference / error. > when using sysv > clamd process is started with those default options : > clamav 8357 1 0 16:57 ? 00:00:00 /usr/sbin/clamd -c > /etc/clamav/clamd.conf --pid=/run/clamav/clamd.pid > clamsmtp 8409 1 0 16:58 ? 00:00:00 /usr/sbin/clamsmtpd default config + pid file > ## check systemd > ## it seems that clamav-daemon is no more start with good options > clamsmtp 747 1 0 17:11 ? 00:00:00 /usr/sbin/clamsmtpd > clamav 791 1 7 17:11 ? 00:00:07 /usr/sbin/clamd > --foreground=true depends on what you mean by good. It runs in foreground mode and reads the same config file. > Communication beetween clamsmtp and clamd is now failing > Apr 24 17:14:02 pc251270 clamsmtpd: 100000: clamav error: > /var/spool/clamsmtp/clamsmtpd.9g7gF4: lstat() failed: Permission denied. ERROR > Apr 24 17:14:02 pc251270 clamsmtpd: 100000: > from=xqu...@pc251270.valfontenay.ratp, to=xquost@localhost, > status=CLAMAV-ERROR Can you find out what the difference here is? My guess is that for $reason the /var/spool/clamsmtp/ folder has different owner/permissions set. Unless you find something I would have to install it as you have and reproduce it. > Thanks, best regards > > XQ Sebastian _______________________________________________ Pkg-clamav-devel mailing list Pkg-clamav-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clamav-devel