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 1GXglP-0003KE-9B for garchives@archives.gentoo.org; Wed, 11 Oct 2006 16:16:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9BGEmmW001713; Wed, 11 Oct 2006 16:14:48 GMT Received: from sun7.mth.uea.ac.uk (sun7.mth.uea.ac.uk [139.222.9.16]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9BGCfgN006926 for ; Wed, 11 Oct 2006 16:12:41 GMT Received: from l31 (l31.mth.uea.ac.uk [139.222.80.71]) by sun7.mth.uea.ac.uk (8.13.6+Sun/8.13.6) with ESMTP id k9BGC4Ya007272 for ; Wed, 11 Oct 2006 17:12:04 +0100 (BST) Date: Wed, 11 Oct 2006 17:12:40 +0100 From: Moshe Kamensky To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: procmail, formail and maildir for digests... Message-ID: <20061011161240.GA26527@smtp.mth.uea.ac.uk> References: <452B7F62.9050609@shic.co.uk> 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 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline In-Reply-To: <452B7F62.9050609@shic.co.uk> X-Accept-Language: en X-Location: UEA, Norwich, England X-Editor: Vim 7.0 http://vim.sf.net/ User-Agent: Mutt/1.5.9i X-Archives-Salt: 638856bc-bdc9-4bcc-9013-5cfee7df6954 X-Archives-Hash: 5137b3c1c55e3d232c40a067b64ac325 --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Steve [Gentoo] [11/10/06 09:34]: > I'm familiar with this procmail recipe: >=20 > -- > :0 >=20 > * ^List-Id:.* > | formail +1 -ds >> gentoo_user > -- >=20 > However... I need to use maildir.... is there a straightforward way to de= liver directly to maildir folders with formail from procmail? The -s option of formail allows you to specify an argument, which is a=20 program name. This program will be run for each message, with the=20 message on the stdin. So if you have such a program that delivers to a=20 maildir, you can use it. procmail itself is one such program, so you=20 should be able to do something like | formail +1 -ds procmail .procmailrc.gentoo and then have .procmailrc.gentoo say something like :0 gentoo-user/ Moshe >=20 >=20 >=20 >=20 >=20 >=20 > --=20 > gentoo-user@gentoo.org mailing list >=20 --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFFLRf4kBjmVsKMBeMRAkQKAKCYNq8w2P+CiYvF89vINWNJowZ8CQCcCLEf SNAubYckyiCvgZs3TwNX1qQ= =NSNk -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q-- -- gentoo-user@gentoo.org mailing list