From owner-freebsd-questions@FreeBSD.ORG Mon Apr 12 21:32:53 2004 Return-Path: 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 8C6A916A4CE for ; Mon, 12 Apr 2004 21:32:53 -0700 (PDT) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0ACC43D31 for ; Mon, 12 Apr 2004 21:32:51 -0700 (PDT) (envelope-from ws+freebsd-questions@au.dyndns.ws) Received: from lillith-iv.ovirt.dyndns.ws (ppp141-168.lns1.adl2.internode.on.net [150.101.141.168]) i3D4WjvM002833; Tue, 13 Apr 2004 14:02:47 +0930 (CST) X-Envelope-From: ws+freebsd-questions@au.dyndns.ws X-Envelope-To: freebsd-questions@freebsd.org Received: from [192.168.100.132] (ppp141-168.lns1.adl2.internode.on.net [150.101.141.168])i3D4Wi6p035461; Tue, 13 Apr 2004 14:02:44 +0930 (CST) (envelope-from ws+freebsd-questions@au.dyndns.ws) From: Wayne Sierke To: Matt Navarre In-Reply-To: <200404121935.05402.mnavarre@cox.net> References: <200404121935.05402.mnavarre@cox.net> Content-Type: text/plain Message-Id: <1081830763.699.7.camel@ovirt.dyndns.ws> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 13 Apr 2004 14:02:44 +0930 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.39 X-Scanned-By: SpamAssassin 2.63(2004-01-11) X-Scanned-By: F-Prot X-Scanned-By: ClamAV X-Spam-Score: 0 () cc: freebsd-questions@freebsd.org Subject: Re: MIMEDefang/Sendmail problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2004 04:32:53 -0000 On Tue, 2004-04-13 at 12:05, Matt Navarre wrote: > I've been trying to get MIMEDefang/SpamAssassin/ClamAV running as described in > this article: > http://www.onlamp.com/pub/a/bsd/2004/04/01/Big_Scary_Daemons.html?page=1 > > I think I've got everything set up right, but nothing seems to be getting > processed by the milter. Mail still ends up in my inbox, but no headers get > inserted in the mail and I don't see anything from MIMEDefang in maillog. It > almost seems like sendmail isn't sending the mail through mimedefang. > > All the sockets seem to be in the right place (/var/spool/MIMEDefang) but I'm > not seeing anything from the filter. > > I'm using the default mimedefang-filter file with just some email address > changes > > Here's the milter lines from my sendmail mc file: > MAIL_FILTER(`mimedefang', `S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=, > T=C:15m;S:4m;R:4m;E:10m')dnl > define(`confMILTER_LOG_LEVEL', 7)dnl > define(`confINPUT_MAIL_FILERS', `mimedefang')dnl > > This is on 4.9-STABLE from march 6 with ports CVSuped this weekend. > Here's what I have (on 5.2-RELEASE): INPUT_MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=C:15m;S:4m;R:4m;E:10m')dnl dnl define(`confINPUT_MAIL_FILTERS', `mimedefang')dnl not required when INPUT_MAIL_FILTER used - Note that the last entry you listed contains a spelling error: confINPUT_MAIL_FILERS s/FILERS/FILTERS/ - that alone may solve your problem - I have no idea what the distinction is between using 'S=local:' and 'S=unix:' - may not be significant. - I don't recall where I got the info about the define('confINPUT_MAIL_FILTERS' not being required when INPUT_MAIL_FILTER used, probably from the spamassassin docs. Wayne