Subject: Re: Procmail and ?

From: [email-masked] (Ron Ross)
Date: 26 Jun 1995 18:35:56 GMT

Sean Timm ([email-masked]) wrote:
: Could soumeone post a sample procmail file set up for filtering 
: messages.  I have tried using procmail with pine and I have failed 
: miserably.  Help would be greatly appreciated.

Hi Sean,

    The following .procmailrc file splits my mail up into several
mailboxes in my home directory.  The .forward file is what causes
procmail to be invoked.  I've also included my .pinerc
modifications to access these new mailboxes.  Hope this helps...

------- .forward file ------------------------------------------------

"|IFS=' ' && exec /u/rross/bin/procmail -f-||exit 75 #rross"

------- .procmailrc file ---------------------------------------------

MAILDIR=$HOME/Mail
DEFAULT=$MAILDIR/mbox
LOGFILE=$MAILDIR/from
VERBOSE=OFF
#
# SCT Mailing Lists
#
:0:
* ^From.*sctcorp
| formail -ds >> /u/rross/Mail/banner
#
# Underwater Photo Mailing List
#
:0:
* ^From.*uw-photo
uw-photo
#
# Winsock Digest Mailing List
#
:0:
* ^From.*winsock
| formail -ds >> /u/rross/Mail/winsock
#

----- .pinerc file ----------------------------------------------------

# Updated by Pine(tm) 3.89, copyright 1989-1993 University of Washington.
#
# Pine configuration file -- customize as needed.
#
[SNIP]

# inbox-path specifies the name/path/location of your INBOX.  Example:
# inbox-path={carson.u.washington.edu}inbox (INBOX on a remote computer)
# Normal Unix default is the local INBOX (usually /user/spool/mail/$USER)
inbox-path=/u/rross/Mail/mbox

###################### Collections, Folders, and Files #####################

# incoming-folders are those other than INBOX that receive new messages.
# Folder syntax: optnl-label {optnl-imap-hostname}folder-path
# Use only if you filter incoming email into multiple files or receive
# email on several different machines.
# Example:
# incoming-folders=Consulting       {carson.u.washington.edu}filter/to-help,
#                  Widget-Project   {carson.u.washington.edu}filter/to-widget,
#                  Old-Student-Acct {imap.berkeley.edu}inbox
incoming-folders=Banner        /u/rross/Mail/banner,
	Photo         /u/rross/Mail/uw-photo,
	Winsock       /u/rross/Mail/winsock

----------------------------------------------------------------------------

--
           ___  Oo            .:/
          (___)o_o         ,,///;,   ,;/
     //====--//(_)        o:::::::;;///         Ron Ross           
             \\ ^        >::::::::;;\\\         <[email-masked]>
                           ''\\\\\'" ';\        I'd rather be diving !!!

---

From: [email-masked] (Sean Timm)
Date: Mon, 26 Jun 1995 03:45:14 GMT

Could soumeone post a sample procmail file set up for filtering 
messages.  I have tried using procmail with pine and I have failed 
miserably.  Help would be greatly appreciated.

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
	  Sean C. Timm		   [email-masked]
                URL: http://fermi.clas.virginia.edu/~sct2m
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-