You should have the same thing here as you have in the clamav.conf. Below is my configuration.
clamav.conf # Path to the local socket. The daemon doesn't change the mode of the # created file (portability reasons). You may want to create it in a directory # which is only accessible for a user running daemon. # LocalSocket /var/run/clamd/clamd.sock LocalSocket /var/amavisd/clamd.sock amavisd.conf ['Clam Antivirus-clamd', \&ask_daemon, ["CONTSCAN {}\n", '/var/amavisd/clamd.sock'], qr/\bOK$/, qr/\bFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], -----Original Message----- From: Jason Williams [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 2:25 PM To: [EMAIL PROTECTED] Subject: [clamav-users] Question on clamd and amavis Hello everyone. Im currently setting up my mail server with amavis-new and clamav. I've been making very good progress, but I have a couple of questions that I wanted to ask this list. In the amavisd.conf file, there is a section for Clam Antivirus that looks like the following: ['Clam Antivirus-clamd', \&ask_daemon, ["CONTSCAN {}\n", '/var/amavis/clamd'], qr/\bOK$/, qr/\bFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ], My only question, and this may sound very stupid (better safe than sorry though) is that, for the line that read /var/amavis/clamd im guessing that they are assuming that is where clamd is? But since my clamd is located in different areas: /usr/local/sbin/clamd /etc/rc.d/init.d/clamd I should just change the path accordingly, correct? Sorry if this sounds newbish. I've had one heck of a day and I dont see any sign of anything getting easier here. :) I appreciate it. Cheers, Jason --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]