[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Procmail and Pine



	Subject: Procmail and Pine
	Date: Thu, Jul 15, 1999 at 10:26:22PM -0700

In reply to:Mark Wagnon

Quoting Mark Wagnon(mwagnon1@home.com):
> Hi all,
> 
> I'm trying to get procmail to sort my messages into several folders under
> ~/mail. Right now they're all in my inbox and it's hell reading through
> them. 
> 
> I've read through the man pages for procmail and procmailrc, and I've
> checked out a few links from the procmail FAQ (I think). I ran across this
> link on setting up my files:
> 
> http://acsweb.ucis.dal.ca/fsg/notes/procmail.html
> 
> It seems pretty straight forward, but so far, nothing's getting sorted :(
> 

Mark

  I don't use procmail now but I also found it pretty stright forward
when I did us it.  Here are some examples from my working scripts

> Here are the files that I've set up for the task of sorting my mail:
> 
> .forward:
> 
>    "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #mwagnon1"
> 

.forward


"|IFS=' ' && p=/usr/bin/procmail && test -f $p && exec $p -Yf- || exit
75 wtopa"


Thats 3 years old and I really don't remember even writing it but it
did work.

> .procmailrc:
> 
>    VERBOSE=off
> 
>    MAILDIR=$HOME/mail
> 
>    PMDIR=$HOME/.procmail
> 
>    LOGFILE=$PMDIR/log
> 
>    INCLUDERC=$PMDIR/rc.debian
> 
>    #INCLUDERC=$PMDIR/rc.kplug
> 
>    #INCLUDERC=$PMDIR/rc.suse
> 
>    INCLUDERC=$PMDIR/rc.test
> 
> .procmail/rc.debian:
> 
>    :0:
>    * ^Resent-From:debian-user@lists.debian.org
>    Debian
> 
> .procmail/rc.test:
> 
>    :0:
>    * ^Subject:.*test
>    * ^From.*mwagnon
>    test
> 
 The only receipe I can find

BULKFOLDER = $MAILDIR/bulk

:0:
* ^Subject:.*(subscribe*|unsubscribe*)
$BULKFOLDER

Notice that the 3rd line  tell it which folder to put main into.


Thats all I can find.  I thought I had saved everything but can't find
any more.  Sorry.

HTH, YMMV, HAND

-- 
Our OS who art in CPU, UNIX be thy name.
        Thy programs run, thy syscalls done,
        In kernel as it is in user!
_______________________________________________________
Wayne T. Topa <wtopa@mindspring.com>


Reply to: