On Mon, May 15, 2000 at 05:17:47AM -0400, Russell Hoover wrote:
> Since procmail 3.14 supports the maildir mailbox format, I would assume that
> means, using it with mutt, that I can get rid of the maildir.c delivery program
> I've been using for the last couple of years,
> 
> and that I can change my procmail recipes from one like this:
> 
> :0
> * ^TO.*mutt-(users|users-request)
> |maildir Mail/m/
> 
> to one like this:
> 
> :0
> * ^TO.*mutt-(users|users-request)
> ~/Mail/m/
> 
> and have things work smoothly.  But when I get rid of maildir.c and remove
> "|maildir " from the recipes, all my messages end up in the ~/Mail/m/ directory
> *alongside* the cur/, new/ and tmp/ subdirectories, not *inside* any of them, as
> they should.
> 
> So how do I get the new procmail to deliver to maildirs without the previously
> necessary add-ons?  I know that I'm calling version 3.14 of procmail in my
> .forward file, and I use the trailing slash in all recipes.
> 
> Also -- is it still necessary with the new procmail to generate a lines header?
> In other words, can I remove the following from my .procmailrc?
> 
> # -----------------------------------------------
> # Generate a "Lines:" header
> # (needed for maildir mailbox format)
> # Only msg-body lines are counted (not the hdrs):
> 
> :0 bw
> LINES=|wc -l | tr -d " "
> 
> :0 fhw
> |formail -a "Lines: $LINES"
> # -----------------------------------------------
> 
> Thanks.
> 
> -- 
>                                  // [EMAIL PROTECTED] //
> 
> 
I'm using 3.14 with Maildirs and it works great.
My .procmailrc looks like this

MAILDIR=$HOME

:0
* ^[EMAIL PROTECTED]
./qmaildir/

:0
* ^[EMAIL PROTECTED]
./muttdir/

and so on. I made separate mailboxes under my home directory.
Cheers
Bob

-- 
******************************************************
Bob Waskosky   Homepage:  http://www.nobhead.com/perl/
USA            email:     [EMAIL PROTECTED]
******************************************************

Reply via email to