public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Moshe Kamensky <samvimes@fastmail.fm>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: procmail, formail and maildir for digests...
Date: Wed, 11 Oct 2006 17:12:40 +0100	[thread overview]
Message-ID: <20061011161240.GA26527@smtp.mth.uea.ac.uk> (raw)
In-Reply-To: <452B7F62.9050609@shic.co.uk>

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

* Steve [Gentoo] <gentoo_steve@shic.co.uk> [11/10/06 09:34]:
> I'm familiar with this procmail recipe:
> 
> --
> :0
> 
> * ^List-Id:.*<gentoo-user.gentoo.org>
> | formail +1 -ds >> gentoo_user
> --
> 
> However... I need to use maildir.... is there a straightforward way to deliver directly to maildir folders with formail from procmail?

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/

Moshe
> 
> 
> 
> 
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2006-10-11 16:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-10 11:09 [gentoo-user] procmail, formail and maildir for digests Steve [Gentoo]
2006-10-10 11:29 ` Kevin Fullerton
2006-10-11 10:32   ` Steve [Gentoo]
2006-10-11 10:40     ` Rasmus Andersen
2006-10-11 14:07       ` Steve [Gentoo]
2006-10-11 12:17     ` [gentoo-user] " reader
2006-10-11 13:38     ` Re: [gentoo-user] " Michael Sullivan
2006-10-11 16:12 ` Moshe Kamensky [this message]
2006-10-12 10:07   ` [gentoo-user] " Steve [Gentoo]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061011161240.GA26527@smtp.mth.uea.ac.uk \
    --to=samvimes@fastmail.fm \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox