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

Re: procmail filtering



lee:
> 
> I've looked at formail + procmail , but formail forces it into mailbox
> format which I dont want.

Formail doesn't actually save the mailboxes anywhere, procmail does
that. And if you append a slash to the mailbox name, procmail generates
maildirs. Example:

MAILDIR=$HOME/Maildir/
LOGFILE=$HOME/.procmail.log
DEFAULT=$MAILDIR

:0:
* ^X-Mailing-List: <debian-.+@lists.debian.org>
* ^X-Mailing-List: <debian-\/[-a-zA-Z0-9]+
.lists.debian.$MATCH/

J.
-- 
My medicine shelf is my altar.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: