Re: using procmail with emacs RMAIL
>>>>> On Sat, 24 Aug 96 17:42 EDT, Stephen Masterman <floyd@animals.mit.edu> said:
Stephen> Can someone point me to info for the quickest, easiest way to use
Stephen> procmail with Emacs RMAIL to separate, say, the debian list into a
Stephen> separate folder? I normally have no problem putting hours into
Stephen> something like this, but lately I'm incredibly busy and there seems
Stephen> to have been loads of traffic on debian recently, so that I'd really
Stephen> like to get it working as quickly as possible.
I switched to MH about a year ago, so this is just theory:
1) set up procmail
==================
(with ~/.forward, etc) as explained by Dirk in a previous message
2) set up your ~/.procmailrc
============================
# Please check if all the paths in PATH are reachable, remove the ones that
# are not.
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:
MAILDIR=$HOME
LOCKFILE=$MAILDIR/.lockmail # default lock
# default action: keep in username mailbox
DEFAULT="/var/spool/mail/username"
#------------------------------------------------------
# Debian mailing lists go into ~/debian/inbox
:0:debian/.lock
* ^X-Loop:.*@lists.debian.org
$MAILDIR/debian/inbox
3) from emacs,
==============
do M-x rmail-input RET ~/debian/rmail RET
to open/create the file ~/debian/rmail
4) in that buffer,
==================
do M-x set-rmail-inbox-list RET inbox RET
to explain rmail where to get new messages from.
This all should work, now you only got to debug! ;-)
Amities,
Jean Orloff
+++++++++ + + + + + + + ++++++
+Tel:(33)50.09.16.75 Fax:(33)50.09.94.95 http://lapphp0.in2p3.fr/~orloff/+
+++++++++ + + + + + + + ++++++
In a Bucharest hotel lobby:
The lift is being fixed for the next day. During that time we
regret that you will be unbearable.
+++++++++ + + + + + + + +
Reply to: