[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Useful mail tool for Unix users ..
Fellow Unix users on the quattro list,
I just configured procmail to automatically redirect all mail from the
quattro
list to a separate folder, which I can read at leisure. Many of you
with
Unix machines probably use it already, but here's how I did it just in
case it's useful to someone:
Create a .forward file in your home directory with the following
contents:
"|IFS=' '&&exec /usr/local/bin/procmail -f-||exit 75 #your_login_name"
Create a .procmailrc file in your home directory with the following
contents:
PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=$HOME/Mail #you'd better make sure it exists
DEFAULT=/usr/mail/<your login> #your system mailbox.
LOGFILE=$MAILDIR/from # creates a log file, which you may or may not want.
:0:
* ^Return-Path: <owner-quattro@coimbra.ans.net>
Lists/quattroList
The last line in the .procmailrc file is the name of the folder
(relative to
MAILDIR) where you want to save mail from the quattro list. Also,
procmail
may have a different path (/usr/local/bin/procmail on mine) on your
machine.
Works like a charm: hope this will be of use to someone.
-Arun
--
--
Arun Rao
Pixar Animation Studios
Pt. Richmond, CA 94804
(510) 215-3526