From owner-freebsd-questions Mon Aug 19 13:47:26 2002 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 603A937B400 for ; Mon, 19 Aug 2002 13:47:23 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9382643E42 for ; Mon, 19 Aug 2002 13:47:22 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g7JKlMIo043603; Mon, 19 Aug 2002 15:47:22 -0500 (CDT) (envelope-from dan) Date: Mon, 19 Aug 2002 15:47:22 -0500 From: Dan Nelson To: Kirk Strauser Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Use spamass-milter only on local delivery? Message-ID: <20020819204721.GH70455@dan.emsphone.com> References: <87vg66bnmg.fsf@pooh.int> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87vg66bnmg.fsf@pooh.int> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Aug 19), Kirk Strauser said: > I've installed and configured spamass-milter on my mailserver, and it > seems to be working exactly as intended. However, I'm a tertiary MX > for a friend who is also running SpamAssassin on his primary server. > In general, I'd like to only process emails that are bound for local > delivery (and *not* those that I'm relaying onward). Is this > possible? That's difficult, since the milter routines are called as sendmail receives the message. You would have to manually process all the envelope recipients and scan them against /etc/mail/aliases. You might be better off installing a global procmailrc file that calls spamc. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message