procmail
[Top] [All Lists]

Re: adding missing Message-Id headers

2003-01-12 12:18:35
At 10:39 2003-01-12 -0800, Zack Brown wrote:

A friend of mine has a problem where some email comes into his system without
a Message-Id header. Is there a procmail recipe that can detect this condition, and add a proper Message-Id before sorting the mail into folders?

Uh, your MTA should probably be configured to do this.

I know 'formail -a' will do something like this, but I don't see a way to
incorporate that into a standard procmail recipe.

:0f
* ! ^Message-ID:
| formail -a Message-ID:

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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