+# We may (=will) change the contents and send it multiple times
+# prevent wasteful Message-ID regeneration if it is just for one rcpt
+if (@rcpts>1 && defined(my $msgid=$head->get("Message-ID"))) {
+ $head->delete("Message-ID");
+ $head->replace("X-LaceMail-sendmail-Message-ID",$msgid);
+ }
+