Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2004 10:24:07 -0600
From:      "Andrew L. Gould" <algould@datawok.com>
To:        Jer <jer@multihaven.org>, questions@freebsd.org
Subject:   Re: OT: procmail ruleset
Message-ID:  <200401281024.07964.algould@datawok.com>
In-Reply-To: <6.0.1.1.2.20040128002349.01b9aed0@data.multihaven.org>
References:  <6.0.1.1.2.20040128002349.01b9aed0@data.multihaven.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401281024.07964.algould>