* Steve [Gentoo] <[EMAIL PROTECTED]> [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: signature.asc
Description: Digital signature

Reply via email to