This has probably been asked a thousand times so I
will ask if there is a condensed version of the list
with these frequently asked questions in it?
Here's the question:
I am trying to setup seperate folders for mailing lists
so that each folder gets the appropriate mail and all
the mail isn't all mixed up.
I have the folowing .procmailrc file with just two lists
in it for testing. (below)
The mail I am trying to seperate is in the /var/spool/mail/larrywyb
file.
Maybe I am not finished setting procmail up (most likely) or I
don't understand how it is supposed to work but when I run:
"procmail -d larrywyb" it just sits there and does nothing until I
hit ^c.
Do I misunderstand that you can do this from the command line?
Am I using the wrong command line arguments?
How do you tell procmail where to find the "larrywyb" file?
I have RTFM but I guess I don't understand it well enough to get
the job done.
Thanks
###########################################################################
# Please check if all the paths in PATH are reachable, remove the ones that
# are not.
PATH=/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
* ^From(_dot_)*(_at_)*(_dot_)airpower(_dot_)com
prn-main
:0
* ^From(_dot_)*(_at_)returns(_dot_)onelist(_dot_)com
tgo-l
# Anything that has not been delivered by now will go to $DEFAULT
# using LOCKFILE=$DEFAULT$LOCKEXT
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail