Re: [lug-nuts] procmail fun..?

From: Brian Lavender (brian@brie.com)
Date: Mon Jan 17 2000 - 10:54:52 PST


Ajay,

I got a bit lost with your question, so let me tell you what I know since
it is probably shorter than your question. I have basic procmail filter
rules configured. I include those below. In addition, I found the following
procmail FAQ.

http://www.ii.com/internet/robots/procmail/

HTH

brian

$ cat ~/.procmailrc

PATH=/bin:/usr/bin:/usr/bin
MAILDIR=$HOME/Mail #you'd better make sure it exists
# DEFAULT=$MAILDIR/inbox #completely optional
LOGFILE=$MAILDIR/from #recommended

:0 c
* ^TObrian
IN.priority1

:0 c
* ^to:brian@brie.com
IN.priority1

:0 c
* ^cc:brian@brie.com
In.priority1

:0 c
* ^TOlug-nuts
IN.lug-nuts

:0:
* ^TOdbi-users
IN.dbi-users

:0:
* ^TOwebcal
IN.webcal

:0:
* ^TOvox
IN.vox

:0:
* ^TOmutt-users
IN.mutt-users

:0:
* ^TOdebian-user
IN.debian-user

:0:
* ^TOnewsletter@x10.com
IN.x10

On Sat, Jan 15, 2000 at 02:49:17AM -0800, Ajay 'Hempstah' T wrote:
> Hi all,
>
> I had a quick procmail question for you guys, I was wondering about
> doing a little more complicated rules than the
> :0:
> * ^TO.*saclug.*
> IN.saclug
>
> (For example.)
>
> For example, I have several different addresses (from) going into the
> same file. I'm wondering if it's possible to combine them into one?
> Like maybe a 'if this or this or this .. then IN.here' type deal, if
> it matches any of the patterns it will follow the same directions.
> (Which.. will probably not be just a file to put the msgs into, but
> also an email address to forward (like what :0c does) to as well.)
>

-- 
Brian Lavender
http://www.brie.com/brian/
****************************************************************************
* To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts"
* in the message body to majordomo@saclug.org. Please direct other
* questions, comments, or problems to lug-nuts-owner@saclug.org.



This archive was generated by hypermail 2b29 : Fri Feb 11 2000 - 16:20:23 PST