----- Original Message -----
From: "Paul Chvostek" <[EMAIL PROTECTED]>
To: "Christian Stigen Larsen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 03, 2003 9:12 AM
> On Thu, Jul 03, 2003 at 08:53:30AM -0700, Drew Tomlinson wrote:
> > About a year or two ago, someone posted his recipe for sorting
> > lists. This particular one was nice in that it extracted the list
> > from the "From" line (I think) and then created the appropriate
> > if it didn't exist. So freebsd-questions list items were put in the
> > 'questions' folder, freebsd-stable in the 'stable' folder, and so
> > have search the archives for this post for the past two days but
> > been unsuccessful. I've tried to write it myself but this is not my
> > area of expertise. Does anyone have such a recipe they are willing
> > share?
> Easy enough:
> * List-Id:[^<]+<\/freebsd-[^.]
> This will store each list in a folder prefixed by "freebsd-". If you
> want freebsd-questions to be stored in a folder named "questions",
> move the \/ (which marks the beginning of the MATCH variable) to after
> the "freebsd-".
> And if you want it to support other RFC2919-compliant lists (that is,
> ones which include the "List-Id:" header), simply remove "freebsd-"
> the recipe.
Thank you for your reply. I have tried implementing your suggestions to
my specific environment but still do not have it quite right. I am
using Maildir delivery to my home directory and also use Courier-IMAP.
Thus a message to freebsd-questions ultimately needs to be delivered to
Maildir/FreeBSD/Questions/new relative to my home directory. If this
directory does not exist, I want it to be created.
Based on your example, the messages were all added to a file called
freebsd-questions in my home directory. I attempted to modify the
recipe to achieve my desired results. Here's what I've put in my
And I'm getting messages like this in my procmail log:
procmail: Assigning "PATH=/home/drew/bin:/bin:/usr/bin:/usr/local/bin"
procmail: Lock failure on "Maildir/FreeBSD/alpha/new.lock"
procmail: Error while writing to "Maildir/FreeBSD/alpha/new"
OK, I assume the error is because Maildir/FreeBSD/alpha/new does not
exist. How can I get procmail to create the directory it needs?
Thanks for your help. As you can probably tell, I'm real new at this
and I appreciate your assistance.
[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"