From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GXeLo-0002RB-IN for garchives@archives.gentoo.org; Wed, 11 Oct 2006 13:42:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9BDeJs1029779; Wed, 11 Oct 2006 13:40:19 GMT Received: from bullet.espersunited.com (adsl-70-234-122-249.dsl.tul2ok.sbcglobal.net [70.234.122.249]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9BDcHYu018082 for ; Wed, 11 Oct 2006 13:38:18 GMT Received: from camille.espersunited.com (camille.espersunited.com [70.234.122.250]) by bullet.espersunited.com (8.13.7/8.13.7) with ESMTP id k9BDcGS3017026 for ; Wed, 11 Oct 2006 08:38:16 -0500 Subject: Re: Re: [gentoo-user] procmail, formail and maildir for digests... From: Michael Sullivan To: gentoo-user@lists.gentoo.org In-Reply-To: <452CC828.7080904@shic.co.uk> References: <452B7F62.9050609@shic.co.uk> <20061010112951.GA18370@gateway.home.shotgun-suicide.co.uk> <452CC828.7080904@shic.co.uk> Content-Type: text/plain Date: Wed, 11 Oct 2006 08:38:16 -0500 Message-Id: <1160573896.14476.18.camel@camille.gateway.2wire.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: 7f5e9d7f-fb76-4b38-81d1-e052f5789dd3 X-Archives-Hash: 42d91f42540e42baebbb73b08ba70d0d On Wed, 2006-10-11 at 11:32 +0100, Steve [Gentoo] wrote: > Kevin Fullerton wrote: > > Here's the procmail recipe I use with maildir folders and the Gentoo lists - I think as long as procmail is setup with maildir support you just need to set your MAILDIR var and use a trailing slash and it knows it'd delivering to a MailDir. > > > Ahhhh, I guess I hadn't been as clear as I could have been. I have an > almost identical setup to yours right now and that allows me to use > procmail to deliver to maildir... The problem I have is that I want to > use formail to split my digests into individual messages (because large > digests play havoc with IMAP, and to make replies easier) - but I can > only find documentation showing how to use formail to split digests into > mbox format. Unsurprisingly the silly attempt below doesn't work (as "| > formail..." is interpreted by /bin/sh.) : > -- > > :0 > * ^List-Id:.* > | formail +1 -ds >> gentoo_user/ > > -- > > Is formail the right tool for me to use here? Is there a tool to > deliver an mbox of messages to a maildir that I can use in place of '>> > gentoo_user/' above? > There's probably an easier way to do this, but couldn't you use formail to split your digests into individual mails in mbox format and then use another tool to covert those mboxes to maildir? You could use a cron job... -- gentoo-user@gentoo.org mailing list