Re: Sorting emails

From: Craig Lisowski (clisowsk@mcs.kent.edu)
Date: 10/25/96


> I'm not super great with shell scripts and email programs, and I just
> recently subscribed to a few more mailing lists. To keep the sanity, can
> someone either:
> A) Send me exampoles/show me how to set up mail filtering into folders or
> B) Actrually send me some scripts or whatnot. I can write the stuff assuming
> i know where to put the files and what exactly I should do with them.

I use procmail to sort my mail folder, since my site uses it as its 
Mail Delivery Agent. For more info, try "man -k procmail".
Note: There is no need to filter based on subject... (:
Here is my ~/.procmailrc file:
-----------------------------------------------------------------------------
PATH=/bin:/usr/bin:/usr/local/bin
MAILDIR=$HOME/Mail
DEFAULT=$MAILDIR/mail
LOGFILE=$MAILDIR/.maillog
LOGABSTRACT=yes
:0:.circle.lock
* ^Sender:.*owner-circle@
circle
:0:.cfn.lock
* ^TO(aa853|ds994)@(cleveland.freenet.edu|po.cwru.edu)
cfn
:0:.redhat.lock
* ^.*:.*rembrandt-list-request@
redhat
:0:.romp.lock
* ^Sender:.*owner-romp@
romp
:1:.large.lock
> 4500 
large
:0:.mail.lock
mail
:0:.spam.lock
* ^FROM:.*@interramp\.com
spam
-----------------------------------------------------------------------------
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST