From owner-freebsd-questions@FreeBSD.ORG Wed Jan 28 08:24:06 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 E738316A4CE for ; Wed, 28 Jan 2004 08:24:06 -0800 (PST) Received: from firecrest.mail.pas.earthlink.net (firecrest.mail.pas.earthlink.net [207.217.121.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 032C743D2F for ; Wed, 28 Jan 2004 08:24:06 -0800 (PST) (envelope-from algould@datawok.com) Received: from 23-101.lctv-b4.cablelynx.com ([24.204.23.101] helo=yoda.datawok.com) by firecrest.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.33 #1) id 1AlsTv-0005Ar-00; Wed, 28 Jan 2004 08:23:59 -0800 From: "Andrew L. Gould" To: Jer , questions@freebsd.org Date: Wed, 28 Jan 2004 10:24:07 -0600 User-Agent: KMail/1.5.4 References: <6.0.1.1.2.20040128002349.01b9aed0@data.multihaven.org> In-Reply-To: <6.0.1.1.2.20040128002349.01b9aed0@data.multihaven.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401281024.07964.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4b2909dcdc354e5ef94cfa86912254af70350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c Subject: Re: OT: procmail ruleset 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, 28 Jan 2004 16:24:07 -0000 On Tuesday 27 January 2004 11:25 pm, Jer wrote: > Dear all > > I currently have a /etc/procmailrc file to send all my mail though a filter > > :0 wf > : > |/usr/local/sbin/renattach > > But I have one user that asked me to exclude him from the filtering > I was just wondering how I would write that? > > THanks > Jer I'm just learning about procmail; so be wary of my advice: First, are you **sure** you want to make an exception? If you're allowing the users to decide whether/how their email should be filtered, you can copy the procmailrc file to .procmailrc in each user's home directory. (You could even create a dot file in /usr/share/skel/ for future users.) You can then modify or delete that user's .procmailrc. Another option may be to add a delivering recipe to the top of the procmailrc file that delivers the specific user's mail unchanged. Best regards, Andrew Gould