> Okay this is what i have for clamav-milter on remote server Remote to sendmail? Or remote to clamd? Or both?
> CLAMAV_FLAGS="-qlm5 --external --server=xxx.xxx.xxx.xxx > local:/var/run/clamav/clmilter.sock" > > and I have to run clamd on that server so that clamav uses it > externally to scan for virus (if i understand this correctly) I presume by "that server" you mean the server running clamav-milter > > and on my primary server i did the same thing and clamav creates > local socket and scans thru clamd on remote server. I presume by "primary server" you mean the server running clamd, though I don't understand what you mean by you "did the same thing"? Why would you do the same on both machines? Surely one runs clamd and one runs clamav-milter? > however if i use > INPUT_MAIL_FILTER(`clamav', `S=inet:[EMAIL PROTECTED], F=, T=S:4m;R:4m')dnl > (machine name chaned to correct machine of course) By "machineb" do you mean the same as "primary server" above? Or the same as "that server"? > I still get socket errors in maillog about attempting to scan and > clamd is on the remote socket not clamav-milter on the remote socket. > I'm sure i'm doing something simple wrong but I sure can't figure it out. Sorry, but I can't figure out what you're trying to do and what you've tried to set up. The following scenarios are possible: 1) sendmail, clamav-milter and clamd all on one machine 2) sendmail and clamav-milter on one machine, clamd on another machine 3) sendmail on one machine, clamav-milter and clamd on another machine 4) sendmail, clamav-milter and clamd all on separate machines 5) sendmail and clamav-milter on one machine, clamd running on multiple machines load balanced 6) sendmail and clamav-milter on separate machines, clamd running on multiple machines load balanced, which may include the same machines. Please be very specific about what you're trying to achieve. I guess it's either scenario 2 or scenario 3? > Carl -Nigel _______________________________________________ http://lurker.clamav.net/list/clamav-users.html