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 1GXxZl-00083Y-DD for garchives@archives.gentoo.org; Thu, 12 Oct 2006 10:14:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9CAAUFE025523; Thu, 12 Oct 2006 10:10:30 GMT Received: from mail.shic.co.uk (static-195-248-105-109.adsl.hotchilli.net [195.248.105.109]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9CA6OA6006767 for ; Thu, 12 Oct 2006 10:06:25 GMT Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.shic.co.uk (Postfix) with ESMTP id AAFD14829D for ; Thu, 12 Oct 2006 11:06:23 +0100 (BST) Message-ID: <452E13F9.6030305@shic.co.uk> Date: Thu, 12 Oct 2006 11:07:53 +0100 From: "Steve [Gentoo]" User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: procmail, formail and maildir for digests... References: <452B7F62.9050609@shic.co.uk> <20061011161240.GA26527@smtp.mth.uea.ac.uk> In-Reply-To: <20061011161240.GA26527@smtp.mth.uea.ac.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: d4bc0ac6-1970-487f-9b89-0f5bccbbbbc8 X-Archives-Hash: 0de1536c100c692f7bcc8b4935c888a8 Moshe Kamensky wrote: > The -s option of formail allows you to specify an argument, which is a > program name. This program will be run for each message, with the > message on the stdin. So if you have such a program that delivers to a > maildir, you can use it. procmail itself is one such program, so you > should be able to do something like > > | formail +1 -ds procmail .procmailrc.gentoo > > and then have .procmailrc.gentoo say something like > > :0 > gentoo-user/ > That works perfectly... Thanks! I'd overlooked that -s had an optional argument with formail - and while I'd realised I probably wanted procmail to deliver messages, I hadn't realised that I could have separate configurations as easily as that. I'm surprised this example is neither one of the convenient examples in the man procmailex man page... nor widely cited in the online howtos I've seen. -- gentoo-user@gentoo.org mailing list