A few days ago Joe Stein asked,
| I would like to write a recipe to "improve on" this:
|
| > :0
| > * ^Subject: .*cvs-all-digest
| > | formail +1 -a "Message-Id: " -a "Sender:
owner-cvs-all(_at_)freebsd(_dot_)org" -ds >>F/cvs
|
| so that I could copy the Message-Id: line from the digest message into
| each of the bursted messages.
|
| Is that possible?
Yes, but the code you show there will generate a fresh Message-Id: for each
component article. Are you really sure you want the same one on every
article burst from the same digest? Well, OK ...
:0: # should have a local lockfile even if CVS Digests never collide
* ^Subject:.*cvs-all-digest
* ^\/Message-Id:.*
| formail +1 -a "$MATCH" -a "Sender: owner-cvs-all(_at_)freebsd(_dot_)org"
-ds \
>> F/cvs
That will put the digest's Message-Id: onto every article that doesn't have
its own. Depending on the mailing list software, the individual articles
may or may not have their own Message-Id:'s; if they (or some of them) do
have their own and you want to override them, change the first -a to -I or
-i.