Date: Mon, 3 Dec 2001 03:58:34 -0800 From: "Crist J . Clark" <cristjc@earthlink.net> To: Josef Karthauser <joe@tao.org.uk> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: Problem Splitting Branches with Procmail Message-ID: <20011203035834.A35129@blossom.cjclark.org> In-Reply-To: <20011203112528.A1070@tao.org.uk>; from joe@tao.org.uk on Mon, Dec 03, 2001 at 11:25:28AM %2B0000 References: <20011203022809.D31748@blossom.cjclark.org> <20011203112528.A1070@tao.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 03, 2001 at 11:25:28AM +0000, Josef Karthauser wrote: > On Mon, Dec 03, 2001 at 02:28:09AM -0800, Crist J . Clark wrote: > > I thought I had heard this discussed somewhere on this list before, > > but I can't find a thread in the archives. I finally got around to > > sorting commits from different branches into separate mailboxes using > > the "X-FreeBSD-CVS-Branch:" header. Then I immediately ran into the > > problem that followups people post to the lists do not have the above > > header and are not dropped into the right box. > > > > The "X-FreeBSD-CVS-Branch:" header is specifically there for this use, > > so I assume some people are using it? Is there a way to configure > > procmail(1) to figure this out and get replies in the same box with > > the original message? I can think of some very elaborate ways to try > > to do this, but I don't like them. Any procmail wizards have come nice > > recipes for this? > > Can't you get procmail to keep a database of message ids against the box > that it dropped the email it. New emails could be sorted into the same > box based on references. Yeah, that's the "very elaborate" way I thought about. Something like (writing this off of the top of my head, not tested in anyway), # Send email from the various FreeBSD lists to inboxes of their own :0 *^Sender: owner-\/[^@]+@FreeBSD.ORG { :0 *^Sender: owner-cvs-committers@FreeBSD\.org { :0 *^X-FreeBSD-CVS-Branch: \/.* { :0 hc | grep ^Message-ID: >> .msgids_cvs-committers :0 BSDcvs-${MATCH} } :0 *^Message_ID: \/.* *? grep "^Message-ID: ${MATCH}" .msgids_cvs-committers BSDcvs-${MATCH} } LISTNAME=${MATCH} :0 * LISTNAME??^\/[^@]+ BSD${MATCH} } But that seems kind of... well, kind of ugly. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011203035834.A35129>