]> granicus.if.org Git - mutt/commitdiff
Generate the resent-message-id ourselves, and add it in the top of
authorThomas Roessler <roessler@does-not-exist.org>
Sat, 20 Apr 2002 08:14:59 +0000 (08:14 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sat, 20 Apr 2002 08:14:59 +0000 (08:14 +0000)
the header.

sendlib.c

index 9f5670c2ce0c3ae3b383a3ddc4375a9f9d9bd1f5..97c7c584031c2002ae049fa5ca616263a4443763 100644 (file)
--- a/sendlib.c
+++ b/sendlib.c
@@ -2239,6 +2239,7 @@ static void _mutt_bounce_message (FILE *fp, HEADER *h, ADDRESS *to, const char *
     fseek (fp, h->offset, 0);
     fprintf (f, "Resent-From: %s", resent_from);
     fprintf (f, "\nResent-%s", mutt_make_date (date, sizeof(date)));
+    fprintf (f, "Resent-Message-ID: %s\n", mutt_gen_msgid());
     fputs ("Resent-To: ", f);
     mutt_write_address_list (to, f, 11);
     mutt_copy_header (fp, h, f, ch_flags, NULL);