procmail
[Top] [All Lists]

Re: Problem with missing "Message-ID:"

2005-04-28 10:17:33
Am 2005-04-28 10:44:38, schrieb David W. Tamkin:

So, formail can be told to do that and only that.

:0hwf
* ^Message-Id: *\/[^ ]+
* ! MATCH ?? ^<.*>$
| formail -i "Message-Id: <$MATCH>"

OK, I will try it.

Now, what exactly to do if there are two or more Message-Id: headers 
depends on how you want to handle the situation, particularly if one of 
them already has angle brackets and one doesn't.

An E-Mail can have only ONE "Message-ID:" Header.
It if has more, than it will be SPAM :-)

Oh yes, Messages mit multiple "To:" or "From:" Headers too.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail