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

Re: .procmailrc




On Sun, 5 Oct 2003 andun@mjaau.com wrote:

> How do I make procmail sort out the debian user list?
> I've tried:
>
> #Debian user
> :0
> * ^To:.*debian-user@lists.debian.org
> debian
>
> But it doesn't work.

Hi Anjun,
this procmailrc contains a few helpful options. A logfile, a default
mailbox and a backup copy of every message before it goes to any rules
that you add
---------------------------------------
PATH=/usr/local/bin:/usr/bin:/bin
MAILDIR=$HOME/mail      #put all sorted mail here
DEFAULT=$HOME/mbox   #default mail box
LOGFILE=$MAILDIR/from   #log file
# backup copy of all mail
:0 c
$MAILDIR/backup
# rule for debian-user list
:0
* ^To:.*debian-user@lists.debian.org
$MAILDIR/daily/debian-user
# add other rules here
------------------------------
-Kev



Reply to: