From owner-freebsd-questions@FreeBSD.ORG Tue Jul 8 17:38:24 2003 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 0424637B401 for ; Tue, 8 Jul 2003 17:38:24 -0700 (PDT) Received: from mail.clubplus.net (mail.clubplus.net [216.191.22.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3661643F85 for ; Tue, 8 Jul 2003 17:38:22 -0700 (PDT) (envelope-from david@3s1.com) Received: from 3s1.com (cust29.209.188.66.dsl.accessv.com [209.188.66.29]) by mail.clubplus.net (8.12.7/8.12.7) with ESMTP id h690igpG016020; Tue, 8 Jul 2003 20:44:42 -0400 Received: (from root@localhost) by 3s1.com (8.12.9/8.12.9) id h690cKUO022979; Tue, 8 Jul 2003 20:38:20 -0400 (EDT) (envelope-from david@3s1.com) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.12.9/8.12.6) with ESMTP id h690cJ5B022953; Tue, 8 Jul 2003 20:38:19 -0400 (EDT) (envelope-from david@3s1.com) Received: (from david@localhost) by 3s1.com (8.12.9/8.12.9/Submit) id h690cJeb022952; Tue, 8 Jul 2003 20:38:19 -0400 (EDT) (envelope-from david) Date: Tue, 8 Jul 2003 20:38:19 -0400 From: David Banning To: Jason Taylor Message-ID: <20030709003818.GA22898@skytrackercanada.com> References: <20030702191058.GA60452@skytrackercanada.com> <3F09F44A.6000308@infinitebubble.com> <20030708025242.GA365@skytrackercanada.com> <3F0B52FC.7080204@infinitebubble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F0B52FC.7080204@infinitebubble.com> User-Agent: Mutt/1.4.1i X-scanner: scanned by Inflex 1.0.12.3 - (http://pldaniels.com/inflex/) X-RAVMilter-Version: 8.4.2(snapshot 20021217) (mail) cc: questions@freebsd.org Subject: Re: tmda problems - anyone using it? 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: Wed, 09 Jul 2003 00:38:24 -0000 > > Sure, here's my entire .procmailrc. I also hacked around in my .cf file > to get the delimiter to work. Between the make cf and make install, I > changed all occurrences of ' + ' to ' - ' (no quotes, but *with* the > spaces). AFAIK, doing so hasn't broken anything. Thanks. What I find interesting is that you get -anything- from $1. I get nothing set to EXTENSION using that. I tried even $@ and there was nothing. I wonder now if it's a difference in our sendmail .mc files that make the difference. > > # Set the necessary environment variables. > EXTENSION="$1" > :0 > * EXTENSION ?? . > { > DELIMITER="-" > } > RECIPIENT="$LOGNAME$DELIMITER$EXTENSION@infinitebubble.com" > SENDER=`formail -x Return-Path | sed 's/[<>]//g;s/^[ ]*//'` > > # Run the message through tmda-filter. > :0 w > |/usr/local/bin/tmda-filter > > # Take the exit code from TMDA. > EXITCODE=$? > > # TMDA takes care of final delivery > DEFAULT=/dev/null --