From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 21 16:43:22 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CEEA16A43E for ; Thu, 21 Jul 2005 16:43:22 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C49E43D69 for ; Thu, 21 Jul 2005 16:43:18 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j6LGhH6P042783; Thu, 21 Jul 2005 11:43:17 -0500 (CDT) (envelope-from dan) Date: Thu, 21 Jul 2005 11:43:17 -0500 From: Dan Nelson To: Patrick Dung Message-ID: <20050721164317.GA10043@dan.emsphone.com> References: <20050721161831.63615.qmail@web52101.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050721161831.63615.qmail@web52101.mail.yahoo.com> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i Cc: freebsd hackers Subject: Re: sendmail and clamav milter setting X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2005 16:43:22 -0000 In the last episode (Jul 21), Patrick Dung said: > I have a clamd server(antivirus server), opening TCP connection > instead of the unix domain socket. > > Next, I have another separate sendmail server. Now I want to do virus > scanning. > > So, should the clamav-milter daemon be on the sendmail server or the > antivirus server? > > I have this configuration and this works: > > Sendmail SRV <-local domain socket-> clamav-milter <- tcp -> clamd > server (server A) (server A) (server b) This is probably slightly faster than the one below, since the sendmail-milter connection is more chatty (you may get a callback for each header, etc). > Or this is the correct one: > Sendmail SRV <-tcp-> clamav-milter <- tcp/domain socket -> clamd server > (server A) (server b) (server b) -- Dan Nelson dnelson@allantgroup.com