From owner-freebsd-questions Sat May 31 13:36:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA11355 for questions-outgoing; Sat, 31 May 1997 13:36:22 -0700 (PDT) Received: from kevin.sunshine.net (pme36.sunshine.net [204.191.205.36]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA11346 for ; Sat, 31 May 1997 13:36:17 -0700 (PDT) Received: from localhost (cagey@localhost) by kevin.sunshine.net (8.8.5/8.8.5) with SMTP id NAA00274; Sat, 31 May 1997 13:30:07 -0700 (PDT) X-Authentication-Warning: kevin.sunshine.net: cagey owned process doing -bs Date: Sat, 31 May 1997 13:29:58 -0700 (PDT) From: Kevin Eliuk X-Sender: cagey@kevin.sunshine.net Reply-To: Kevin Eliuk To: "Victor A. Sudakov" cc: Randy Katz , questions@FreeBSD.ORG Subject: Re: 2 reply addresses In-Reply-To: <199705310556.NAA05131@vas.tomsk.su> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 31 May 1997, Victor A. Sudakov wrote: > Randy Katz wrote: > > > You can even specify that if it's from so&so (specifically) that it gets > > treated a certain way. It's all in procmail...little complicated but once > > it's working and you understand the syntax it's *REAL COOL*. > > I would be very grateful if you or somebody else could post here his/her > .procmailrc file tweaked for the freebsd mailing lists. It is always > difficult to start. Now I use the elm filter that looks less scary. > > And another question. When you use procmail, does the .forward file really > have to be so complicated as described in the manual? Why cannot it be > simple something like > > "|/usr/local/bin/procmail" > I'm a bit scared of the scripts that were recommended to me, I figured I would go slow and automate as I felt more confident. I use pine and decided to keep my incoming in usr/home/$USER/inbox because I want to make sure I read it all anyways. Then I enabled the pipe command in setup-config [ [X] enable-unix-pipe-cmd ] after reading mail I <|> and it comes up: -- Pipe message `#' to :[] ^G Help ^W Raw Text ^R With Delimiter ^C Cancel Ret Accept ^Y Free Output -- I ^R, and then procmail(only needs to be done the first time) and delete to move to the next one. I know It's not as automated as it can be but, control freak that I am, I prefer it :) [.. .procmailrc ..] #Set on when debugging VERBOSE=off #Replace `mail' with your mail directory (Pine uses mail, Elm uses Mail) MAILDIR=$HOME/mail #Directory for storing procmail log and rc files PMDIR=$HOME/.procmail LOGFILE=$PMDIR/log #INCLUDERC=$PMDIR/rc.testing INCLUDERC=$PMDIR/rc.maillists [.. .procmail/rc.maillists ..] [.. clip ..] :0: * ^Sender:.*owner-questions@freebsd.org IN.freebsd-questions [.. /clip ..] ps it took me a while to figure out to use the Sender: field to have a consistant string to sort by. I have them turned on in the reader just for my own paranoia :) _______________________________________ |\ /| | \ kevin_eliuk@sunshine.net / | | \ Kevin G. Eliuk / | | /^\_________________________/^\ | | / \ | |/--===### Powered By FreeBSD 2.2.1 \| | www.freebsd.org | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~