From owner-freebsd-questions@FreeBSD.ORG Mon Jun 14 23:35:50 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 07F6F16A4CE for ; Mon, 14 Jun 2004 23:35:50 +0000 (GMT) Received: from wonkity.com (wonkity.com [65.173.111.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CF8343D54 for ; Mon, 14 Jun 2004 23:35:49 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.11/8.12.11) with ESMTP id i5ENZSHn092417; Mon, 14 Jun 2004 17:35:28 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.11/8.12.11/Submit) with ESMTP id i5ENZSmN092414; Mon, 14 Jun 2004 17:35:28 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 14 Jun 2004 17:35:28 -0600 (MDT) From: Warren Block To: "Rajamani, Rajarajan (Rajarajan)" In-Reply-To: <1B8C2E08B21B8743A2B3AED07407DA760822B210@nj7460exch002u.ho.lucent.com> Message-ID: <20040614173258.O92323@wonkity.com> References: <1B8C2E08B21B8743A2B3AED07407DA760822B210@nj7460exch002u.ho.lucent.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.3.8 (wonkity.com [127.0.0.1]); Mon, 14 Jun 2004 17:35:28 -0600 (MDT) cc: "'freebsd-questions@freebsd.org'" Subject: Re: spamassassin, clamav with sendmail - not scanning local mails. 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: Mon, 14 Jun 2004 23:35:50 -0000 On Mon, 14 Jun 2004, Rajamani, Rajarajan (Rajarajan) wrote: > I have installed the spamassassin milter and the clam av milter ports > and have made the following changes to the freebsd.mc file. > > INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, > F=,T=C:15m;S:4m;R:4m;E:10m') > INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, > F=,T=S:4m;R:4m')dnl > define(`confINPUT_MAIL_FILTERS', `spamassassin, clmilter') > > then restarted sendmail by # make, # make install,# make restart, # > newaliases > > Now I am noticing that all mails that are being sent directly to my > machine are tagged properly both for spam and viruses. Mails that are > sent from one account to another are not being scanned. > > Am I missing something. How do I force sendmail to use the mail > filters for local mails. Any info would be appreciated. See the options for clamav-milter(5). In particular, --local and --outgoing; these are set in /etc/rc.conf. Spamassassin may have similar options. -Warren Block * Rapid City, South Dakota USA