I setup the clamav-milter in the main sendmail.cf with unix sockets to verify that it was working, all tested well ... except for the fact that I created an infinite loop with a procmail rule, and then the clamav-milter spawned more and more and more processes past the 10 limit, until I though it would be wise to kill it.
Alex Barger ----- Original Message ----- From: "Alex Barger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 23, 2003 1:08 PM Subject: [Clamav-users] clamav-milter help setup with inet sockets > > Just recently installed clamav works fine. Yesterday finally found a post > on > > here so I could compile clamav-milter. > > I had to build the helper-progs from libmilter, so I could get lbsm.a and > to > > add libs option in Makefile. > > > > Does anyone know how to test this milter? > > > > I have a redhat 7.3 machine with chrooted virtual sites. So each domain > has > > their own sendmail.cf and mini virtual filesystem. > > Because of this I setup milter and clamd to use inet sockets rather then > > local sockets. When sendmail processes email for the > > virtual domain it is actually running in /home/virtual/site123/fst/ and > has > > no way to access the /tmp/clamd.sock > > > > So i have clamd running on its standard 3310 and I can telnet to it from > my > > box to port 3310 and type PING and it responds with > > PONG, so clamd seems to work as it should. > > > > I setup my clamav-milter with > > CLAMAV_FLAGS="--max-children=5 --server=xxx.xxx.xxx.xxx > inet:[EMAIL PROTECTED]" > > (replaced real ip address with xxx.xxx. for anonomity) > > > > I can telnet to my box to port 7736 wich is what I am telling > clamav-milter > > to run on. > > > > In my sendmail.cf I have > > Xclamav, S=inet:[EMAIL PROTECTED], F=, T=S:4m;R:4m > > O InputMailFilters=clamav > > > > I sent myself an eicar test file and it just waits the 4 mins and then > > delivers it. > > I am just not sure how to view what it is doing. I would expect that it > > isn't connecting to clamd:3310 or > > else i might see something in /tmp/clamd.log (set logging to be verbose) > > > > > > > > Thanks for your help ... any will be apretiated. > > Alex Barger > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Clamav-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/clamav-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
