From owner-freebsd-questions@FreeBSD.ORG Fri Apr 20 17:43:46 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7352A16A406 for ; Fri, 20 Apr 2007 17:43:46 +0000 (UTC) (envelope-from david+dated+1177522163.c2852b@skytracker.ca) Received: from 3s1.com (3s1.com [209.161.205.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7F43A13C45E for ; Fri, 20 Apr 2007 17:43:45 +0000 (UTC) (envelope-from david+dated+1177522163.c2852b@skytracker.ca) Received: from 3s1.com (localhost [127.0.0.1]) by 3s1.com (8.13.6/8.13.6) with ESMTP id l3KHTOKX093296 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 20 Apr 2007 13:29:24 -0400 (EDT) (envelope-from david+dated+1177522163.c2852b@skytracker.ca) Received: (from david@localhost) by 3s1.com (8.13.6/8.13.6/Submit) id l3KHTOZg093275 for questions@freebsd.org; Fri, 20 Apr 2007 13:29:24 -0400 (EDT) (envelope-from david+dated+1177522163.c2852b@skytracker.ca) X-Authentication-Warning: 3s1.com: david set sender to david+dated+1177522163.c2852b@skytracker.ca using -f Received: by 3s1.com (tmda-sendmail, from uid 1000); Fri, 20 Apr 2007 13:29:23 -0400 Date: Fri, 20 Apr 2007 13:29:21 -0400 To: dan@dpcsys.com Message-ID: <20070420172920.GA91489@skytracker.ca> References: <20070420154103.GA51017@skytracker.ca> <20070420163612.GA73171@skytracker.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070420163612.GA73171@skytracker.ca> User-Agent: Mutt/1.4.2.1i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: David Banning X-Virus-Scanned: ClamAV 0.88.7/3139/Fri Apr 20 10:18:00 2007 on 3s1.com X-Virus-Status: Clean Cc: questions@freebsd.org Subject: Re: procmailrc question - solution? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 17:43:46 -0000 > It seems that anything that is not processed by the global procmailrc > file is processed by the local .procmailrc file. What I would like to > do is flag a few users only and send them to the their users .procmailrc > file. Kind of the reverse of the normal. > > If I had to improvise; > > :0 > * ^To.*david@banning > What to put here to send to home .procmailrc > > :0 > * ^To.*anyoneelse > /var/mail/$LOGNAME I may have found a solution here. It is possible to direct the email back through procmail again, using the -m option to use the private rc file; :0 * ^To.*david@skytracker.ca |/usr/local/bin/procmail -m /usr/david/.procmailrc the man page states; -m Turns procmail into a general purpose mail filter. seems to work.