procmail
[Top] [All Lists]

Recipe doesn't deliver

1996-05-02 08:43:15
-----BEGIN PGP SIGNED MESSAGE-----

I have these recipes in my .procmailrc:

# WFRP list:
:0
* ^From(_dot_)*wfrp(_at_)buddha(_dot_)intecom(_dot_)com
* ^TOwfrp(_at_)buddha(_dot_)intecom(_dot_)com
* ! ^X-Loop: ggeens(_at_)elis\(_dot_)rug\(_dot_)ac\(_dot_)be
* ^Subject:.*\[WFRP:[0-9]*\].*digest
{
# The list changed to digest mode :-(
# Let's undigest it: +1: ditch the first message (i.e.: the header),
# add a loop control and reply address
# -d: non-standard mail format; -s procmail: split the digest and feed it to
# procmail
:0c
| formail +1 -A 'X-Loop: ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be' \
- -A 'Reply-To: wfrp(_at_)buddba(_dot_)intecom(_dot_)com' -ds procmail

# Let's keep the header in a separate folder
:0:
| formail -1 -ds >>wfrp-digest-head
}

# These are the individual messages
:0:
* !^From(_dot_)*wfrp(_at_)buddha(_dot_)intecom(_dot_)com
* ^TOwfrp(_at_)buddha(_dot_)intecom(_dot_)com
wfrp-incoming

I'm trying to undigest a mailing list, and at the same time I want to 
keep the first `message' (a short index) in a separate folder. The 
problem is this: I do get the individual messages in the wfrp-incoming 
folder, and the first part in wfrp-digest-head (just like I want it).
For some strange reason, the second formail doesn't stop procmail, so the 
complete digest also ends up in my default mailbox. AFAIK, the second 
recipe is a delevering recipe (no f or c flags), and there is no c flag 
on the conditions before the block.
What am I missing here?

- --
Guy Geens <guy(_dot_)geens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be>: Ph.D. 
student at ELIS -- TFCG / IMEC 
Home Page: http://www.elis.rug.ac.be/ELISgroups/tfcg/staff/gg.html 
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or use 
keyserver) 

                      Say KNOW to drugs.



-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: pgp fingerprints in message headers

iQBVAwUBMYjX03wHoCha5QR1AQHi5gH/YeCUi4OBe0IkgeiaYOZo8QkZt2kDn65R
arm0+dwNSMZKRbGi+mU4AFrrKxqIhBlpBPluP6dLZCTVr5wgFhcSTw==
=w41c
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>
  • Recipe doesn't deliver, Guy Geens <=