Here's my procmail recipe to filter mutt mailing list mail: :0 * ^TO_mutt Mutt
That's all it takes. It ends up in a mailbox called Mutt. Questions: Does your $HOME/Mail directory exist? What's the PMDIR and INCLUDERC environmental variables for? I'm running procmail-3.21-0.71, and have either of them. John On 10/24/01, 12:26:38PM -0700, Carl B . Constantine wrote: > I have a procmail rule to move list mail to a folder. But it's not > working correctly according to my procmail logs. Here's the procmail > script: > > > PATH=/public/bin:/local/bin:/usr/bin:/bin > > SHELL=/public/bin/tcsh > > VERBOSE=on > LOGABSTRACT=all > MAILDIR=$HOME/Mail > > PMDIR=$HOME/Procmail > > LOGFILE=$PMDIR/log > #INCLUDERC=$PMDIR/testing.rc > INCLUDERC=$PMDIR/lists.rc > > ################### > # Mailing lists # > ################### > > #:0: > #* X-Mailing-List: <\/[^@]+ > #lists/`echo $MATCH | sed -e 's/[\/]/_/g'` > > :0: > * ^Sender: owner-\/[^@]+ > lists/`echo $MATCH | sed -e 's/[\/]/_/g'` > > It's this last rule that doesn't work. Here's what it produced for a > mail msg to this list: > > procmail: Assigning "INCLUDERC=/home/cconstan/Procmail/lists.rc" > procmail: Assigning "MATCH=" > procmail: Matched "mutt-users" > procmail: Match on "^Sender: owner-\/[^@]+" > procmail: Executing "echo $MATCH | sed -e 's/[\/]/_/g'" > procmail: Locking "lists/.lock" > procmail: Assigning "LASTFOLDER=lists//msg.LoPC" > procmail: Opening "lists//msg.LoPC" > procmail: Acquiring kernel-lock > procmail: [15789] Wed Oct 24 11:49:59 2001 > procmail: Unlocking "lists/.lock" > >From [EMAIL PROTECTED] Wed Oct 24 11:49:57 > 2001 > Subject: Re: limit header size > Folder: lists//msg.LoPC 2991 > procmail: Notified comsat: "cconstan@0:/home/cconstan/Mail/lists//msg.LoPC" > > Notice it created a different message file instead of putting it in the > proper file. > > A listing of ~/Mail/lists: > > (cconstan@viper): ~/Procmail% ls -l ~/Mail/lists > total 9422 > -rw------- 1 cconstan 5560 Oct 24 12:14 mutt-users > -rw------- 1 cconstan 9387453 Oct 24 11:03 mutt-users.01Oct24 > -rw------- 1 cconstan 232405 Oct 18 08:26 uvsubnet > > > Anyone have ideas as to why this isn't working correctly? > > Thanks. > > -- > Carl B. Constantine University of Victoria > Programmer Analyst http://www.uvic.ca > UNIX System Administrator Victoria, BC, Canada > [EMAIL PROTECTED] -- John P. Verel Norwalk, Connecticut