Here is my procmailrc file.  All I will say is that it works for me.

# Set to yes when debugging
VERBOSE = yes

# Remove ## when debugging: set to no if you want minimal logging
LOGABSTRACT = all

# Replace $HOME/Msgs with your message directory
# Mutt and elm use $HOME/Mail
# Pine uses $HOME/mail
# Netscape Messenger uses $HOME/nsmail
# Some news clients, such as slrn & nn, use $HOME/News
MAILDIR=/home/john/mail           # Make sure this directory exists!

# Directory for storing procmail-related files
PMDIR=$HOME/Procmail

:0:
* ^TO_tclug
$MAILDIR/TCLug

:0:
* ^TO_php-general
$MAILDIR/PHPGeneral

:0:
* ^TO_php-db
$MAILDIR/PHPDB

:0:
* ^TO_lists\.mysql\.com
$MAILDIR/MySql

:0:
$MAILDIR/INBOX

John Miller


On Sun, 1 Jul 2001, David Christian wrote:

> Okay, so I'm trying to set up procmail, to go along with my newfound friend mutt -- just for reference, I started using mutt *before* the recent thread about mailers and have to agree that mutt has a lot of great features.
>
>
> However, I can't seem to get procmail to run right.  Right now I just have one rule that sends the mail from tclug to a folder.  That rule works, but I don't get the rest of my mail.  It's an RH7.1 system.  Does anyone know why?
>
> I have a .forward that looks like this:
>
> FS=' ' && p=/usr/bin/procmail && test -f $p && exec $p -Yf- || exit 75 #dchristi"
>
> And a .procmailrc that looks like this:
>
> PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
> MAILDIR=$HOME/Mail  # You'd better make sure it exists
> DEFAULT=$MAILDIR/mbox
> LOGFILE=$MAILDIR/from
> LOCKFILE=$HOME/.lockmail
>
> :0        # Anything from people at tclug
> * ^From.*@mn-linux.org
> tclug     # will go to $MAILDIR/tclug
>
>
> Thanks,
> Dave
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list
>