From owner-freebsd-questions Sun Feb 18 0:58: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from joe.halenet.com.au (joe.halenet.com.au [203.37.141.114]) by hub.freebsd.org (Postfix) with ESMTP id AF0BB37B69B for ; Sun, 18 Feb 2001 00:57:57 -0800 (PST) Received: from temp19 (modem-78-st.halenet.com.au [203.55.33.78]) by joe.halenet.com.au (8.9.1/8.9.1) with SMTP id SAA05405; Sun, 18 Feb 2001 18:53:47 +1000 (EST) (envelope-from timbo@halenet.com.au) Message-ID: <2bab01c09989$36277a20$6500a8c0@halenet.com.au> From: "Tim McCullagh" To: "Alex Charalabidis" Cc: References: Subject: Re: Installing AMAVIS virus scanner (looping sendmail + starting multiple perl sessions + running out of swap space) Date: Sun, 18 Feb 2001 19:00:13 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Alex Thanks for your help. I found that the problem I was having was due to my system not having the libc.so.3 installed. To get around this I installed the compat2.1 2.2 and 3 distributions to my FreeBSD release 4.2 system and that has fixed the problem The libc.so.3 is used by the uvscan Thanks again Tim ----- Original Message ----- From: "Alex Charalabidis" To: "Tim McCullagh" Cc: Sent: Thursday, 15 February 2001 5:36 Subject: Re: Installing AMAVIS virus scanner On Thu, 15 Feb 2001, Tim McCullagh wrote: > Has anyone successfully installed the amavis-perl port on FreeBSD 4.2 ? > > Did it install straight from the ports directory or did you need to > reconfigure it to get it to work? > Straight out of the ports with uvscan and all. The only think that needed fixing was the path to sendmail.cf. > I am trying to install Amavis on a fresh install of Freebsd 4.2 and I have > gone throught the readme's etc and checked my setttings and they all seem > ok. The problem is that as soon as I send a message to the mail server > after killing the PID for sendmail the system repeatedly keeps opening > multiple perl sessions until the server runs out od swap space and sendmail > is killed off Amavis isn't *that* greedy. I suspect it's going into a loop. Normally amavis will process the message and in the second stage resend it to the local server for normal delivery with the original, non-amavis .cf using sendmail's -C flag. This sounds like the second instance of sendmail is running with the wrong .cf and sending the message back to its amavis-enabled self instead of a sendmail instance that would deliver. Given that it's on localhost, that would present you with a zillion processes within a minute. hth -ac -- ============================================================== Alex Charalabidis (AC8139) 5050 Poplar Ave, Ste 170 System Administrator Memphis, TN 38157 WebNet Memphis (901) 432 6000 Author, The Book of IRC http://www.bookofirc.com/ ============================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message