Re: Spliting messages between different mail-boxes?
Here is a procmail recipe that I use to (successfully) filter several
debian lists. This goes in your ~/.procmailrc
You also need to set up a .forward file in the form below.
Look at 'man procmailex' for more examples.
You will need to tell your mail user agent about the locations of these
new mailboxes, and you will need to arrange for your 'backup' folder to
be emptied from time to time (put a line in your crontab to run savelog
on the file -- man savelog).
Carl Mummert
--cut .forward--
|/usr/bin/procmail
#your-name
--end .forward--
--cut .procmailrc--
#procmailrc
MAILDIR=$HOME/mail
LOGFILE=$HOME/.pm-log
LOGABSTRACT=all
VERBOSE=yes
PATH=/usr/lib/nmh:/usr/bin/mh:/usr/bin:/usr/local/bin:/bin
#Everything else goes into backup
:0 c:
/home/tinuviel/Majors/mummert/mail/backup
:0H:
* .*debian-user.*
in.deb.user
:0H:
* .*debian-devel-changes
{
:0B
* Arch.*i386
in.deb.i386
:0B
* Arch.*all
in.deb.i386
:0
/dev/null
}
:0H:
* .*debian-devel.*
in.deb.devel
:0H:
* .*debian-announce.*
in.deb.user
#everything else
:0:
in.box
Reply to: