On Wed, 16 Jun 2004 at 13:04:45 +0200, Harald Arnold wrote: > Yesterday I installed amavis_new together with clamav V 0.71
Just for completeness: You probably mean amavisd-new (note "d"). > under SuSE 9.0. Amavis and clamav are both running under vscan > and amavis is installed in dir /var/spool/amavis. Amavis is > configured to be running in a dual sendmail configuration. > > When receiving an email, I get following entry in amavis.log: > > Jun 15 18:27:14 sauron amavisd[29102]: (29102-01) Clam > Antivirus-clamd: Empty result from /var/spool/amavis/amavisd.sock, > retrying (2) > Jun 15 18:27:20 sauron amavisd[28963]: (28963-01) RX_tempdir FAILED, > retry: Invalid temporary directory 'CONTSCAN > /var/spool/amavis/amavis-20040615T182713-29102/parts\n' at (eval 51) > line 52. > Jun 15 18:27:20 sauron amavisd[28963]: (28963-01) TIMING [total 2 ms] - > rundown: 2 (100%) > > Prozesslist: > > sauron:/var/spool/amavis # ps -ef | grep "vscan" > vscan 28544 1 0 18:17 ? 00:00:00 /usr/sbin/clamd -c > /etc/clamav/clamav.conf > vscan 28619 1 0 18:18 ? 00:00:03 amavisd (master) > vscan 28963 28619 0 18:24 ? 00:00:01 amavisd (child) > vscan 29102 28619 0 18:26 ? 00:00:01 amavisd (29102-06) > > Socket-entry in amavis.conf: Shouldn't it be spelled amavisd.conf?... > ['Clam Antivirus-clamd', > \&ask_daemon, ["CONTSCAN {}\n", '/var/spool/amavis/amavisd.sock'], You should call clamd's socket, not amavisd's one. I use such a fragment: \&ask_daemon, ["CONTSCAN {}\n", '/var/run/clamav/clamd.ctl'], > Socket-entry in clamav: > LocalSocket /var/spool/amavis/amavisd.sock Mine: $ grep LocalSocket /etc/clamav/clamav.conf LocalSocket /var/run/clamav/clamd.ctl Hmm, on the other hand, sockets used by you are consistent (the same in amavisd.conf and in clamav.conf), so it should work (though using other names than processes' is misleading. I.e., my corrections of your definitions can be totally unneeded. > Socket definition: > srwxr-x--- 1 vscan vscan 0 Jun 16 10:29 amavisd.sock Again, just for completeness (the difference may have no negative results, but...), my socket: $ v /var/run/clamav/clamd.ctl srwxrwxrwx 1 amavis amavis 0 Jun 7 19:55 /var/run/clamav/clamd.ctl= > Please help me, because I don't know where I can continue looking > for errors, thanks Harald Seems that my message won't help you, sorry. -- Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only [EMAIL PROTECTED] http://www.lodz.tpsa.pl/iso/ | ones and zeros. [EMAIL PROTECTED] http://www.ClamAV.net/ A GPL virus scanner ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users