procmail
[Top] [All Lists]

using procmail recursively

1996-10-15 13:10:04
-----BEGIN PGP SIGNED MESSAGE-----

Hello.

procmail man page says:

   For really complicated processing you  can  even  consider
   calling procmail recursively.

Well, how I do that?

My problem is the following:

I'm subscribed to "linux-announce", which is a digest list. I have an
awk-script that transforms each single mail into a chain of concatenated
individual messages.

Currently I have this in my .procmailrc:

:0
* ^From.*Linux-Announce-Request
| undigestify.linux-announce >> linux-announce

But undigestify.linux-announce adds a new header, which I would like to
filter with this:

:0
* ^Sender.*owner-linux-announce
linux-announce

i.e. as if they were received from an undigestified majordomo.

How do I make the first rule to tell undigestify to send output
recursively through procmail again? I would like mailstat to say "You have
5 messages from linux-announce" instead of "you have 1 message from
undigestify..."

Any hint would be appreciated.

Please Cc: to me, since I'm not subscribed to this mailng list. Thanks.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1

iQCVAgUBMmPgUyqK7IlOjMLFAQGe0gP/Q3+s3j+nqOgOhifZawMr+DY7RbcrXxXo
vAxl4xYznps60OZuUbEqIZsJJ8qblsaPDfOUHKSDQgurUZPWY0SreDDWxus0WlGZ
oohwC2IN+2MEhjxTMOvuweK8NkRFqZpazXjDjje70rJQVyNQ1dpaTcNvTh4PzwPa
fSpsfO1DxW4=
=RjLP
-----END PGP SIGNATURE-----

Santiago Vila <sanvila(_at_)ctv(_dot_)es>

<Prev in Thread] Current Thread [Next in Thread>