amavisd-new-20030616-p7 (Debian) clamav 0.67-1 (from Debian stable -- I think)
One interesting discovery I've made setting up amavisd-new and clamav. Amavisd-new seems to expect to find the clamd.ctl socket at /var/run/clamd.ctl and the default on the version of clamav I have seemed to be /var/run/clamav/clamd.ctl. It's easy to reset that in /etc/clamav/clamav.conf but it puzzled me as, at first, things to work fine, if perhaps slowly, despite amavisd-new debug showing that it wasn't finding the socket. Long story below and I'm sure I've looked through documentation of this, but for the record. Long story which still puzzles me: I installed amavisd-new from debian backports I think: I noted that amavisd-new debug showed that amavisd-new was connecting to clamav internally (at least, that's how I read a line that appears before the primary antiviral connection list). Reading on I saw complaints that amavisd-new couldn't find the socket /var/run/clamd.ctl but things seemed to run fine, detecting virii fine. So I decided it would be more efficient to comment out all the primary and secondary antiviral calls in /etc/amavis/amavisd.conf (since amavisd-new seemed to be trying all the ones that weren't commented out and failing to find them at launch). I think that's the only change I made, but then all my mail started to pile up and amavisd-new continued to complain that it couldn't find that socket (previously this hadn't caused the mail to block). I had a look at /etc/clamav/clamav.conf and saw that I could change the socket location from /var/run/clamav/clamd.ctl to /var/run/clamd.ctl. Did that, restarted clamav, mail queue cleared rapidly. Still don't understand that and assume I must have done something else that caused this change but it was all this morning and I can't think of anything. Chris PSYCTC: Psychotherapy, Psychology, Psychiatry, Counselling and Therapeutic Communities; practice, research, teaching and consultancy. Chris Evans & Jo-anne Carlyle http://psyctc.org/ Email: [EMAIL PROTECTED] ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users