From owner-freebsd-questions@FreeBSD.ORG Thu Aug 4 07:00:16 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D4C716A41F for ; Thu, 4 Aug 2005 07:00:16 +0000 (GMT) (envelope-from mw@theatre.sax.de) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F88743D48 for ; Thu, 4 Aug 2005 07:00:15 +0000 (GMT) (envelope-from mw@theatre.sax.de) Received: from sax.sax.de (localhost [127.0.0.1]) by sax.sax.de (8.12.10/8.12.10) with ESMTP id j7470BQO086618; Thu, 4 Aug 2005 09:00:11 +0200 (CEST) (envelope-from mw@theatre.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.12.10/8.12.10/Submit) with UUCP id j7470BNZ086617; Thu, 4 Aug 2005 09:00:11 +0200 (CEST) (envelope-from mw@theatre.sax.de) Received: from theatre.sax.de (mw@localhost [127.0.0.1]) by theatre.sax.de (8.13.3/8.13.3) with ESMTP id j746iKdS005256; Thu, 4 Aug 2005 08:44:20 +0200 (CEST) (envelope-from mw@theatre.sax.de) Received: (from mw@localhost) by theatre.sax.de (8.13.3/8.13.3/Submit) id j746iHSQ005255; Thu, 4 Aug 2005 08:44:17 +0200 (CEST) (envelope-from mw) Date: Thu, 4 Aug 2005 08:44:17 +0200 From: Martin Welk To: Denny White Message-ID: <20050804064417.GA97899@theatre.sax.de> References: <20050803085535.N85321@dualman.cableone.net> <20050803211223.GB97146@theatre.sax.de> <20050803203002.B709@dualman.cableone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050803203002.B709@dualman.cableone.net> X-GPG-Fingerprint: 9B4B 528B 6220 B488 D73F FA1C EEA2 7C01 221C 8D64 User-Agent: Mutt/1.5.9i X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-7; AVE: 6.31.1.0; VDF: 6.31.1.54; host: theatre.sax.de) Cc: NKoch@demig.de, freebsd-questions@freebsd.org Subject: Re: antivir-milter question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Welk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2005 07:00:16 -0000 Good morning, on Wed, Aug 03, 2005 at 08:41:53PM -0500, Denny White wrote: > I had read where I needed to edit sendmail.mc but couldn't find > it. Then read the equivalent mc file for freebsd I needed to edit > was /etc/mail/freebsd.mc to which I added: > > INPUT_MAIL_FILTER( > `antivir-milter', > `S=unix:/var/spool/avmilter/avmilter.sock, F=T, T=S:10m;R:10m;E:10m' > )dnl > > Then I did a `make install' to rebuild, what I thought, was > sendmail.cf, but it's looking like I was way off beam. Here's > what's in /var/mail/maillog: (...) I looks like your avmilter never gets used. Please have a look at your /etc/make.conf. This might include a line stating what sendmail mc file to use for generating your individual sendmail.cf: SENDMAIL_MC=/etc/mail/theatre.sax.de.mc Than, the corresponding line in /etc/mail/theatre.sax.de.mc is: INPUT_MAIL_FILTER(`avmilter',`S=inet:3333@localhost,F=R,T=S:10m;R:10m;E:10m') This is exactly from the antivir-milter documentation, and the only thing I did afterwards was make make install make restart Since than, it's just working. Of course, I've set up a start script in /usr/local/etc/rc.d that enables avmilter at system startup. Do you probably have some older version? Mine is using sockets, not a pipe. Does your avmilter listen on some port? (Mine is using default, 3333.) Regards, Martin -- ,,Oh, there's a lot of opportunities, if you're knowing to take them, you know, there's a lot of opportunities, if there aren't you can make them, make or break them!'' (Tennant/Lowe)