On 1999-10-01 00:14:59 +0200, [EMAIL PROTECTED] wrote:

> This mail is a messages which has been converted by an in-house
> utility from a Lotus Notes database document, and I suspect that
> some headers are missing / incorrect.

Actually, the message-id header was missing.

Here's a quick fix for the problem.

% diff -u send.c.orig send.c
--- send.c.orig Fri Oct  1 00:32:51 1999
+++ send.c      Fri Oct  1 00:33:14 1999
@@ -566,8 +566,9 @@
       env->subject = safe_strdup ("Re: your mail");
 
     /* add the In-Reply-To field */
-    snprintf (buffer, sizeof (buffer), "In-Reply-To: %s", 
-             cur->env->message_id);
+    if (cur->env->message_id)
+      snprintf (buffer, sizeof (buffer), "In-Reply-To: %s",
+               cur->env->message_id);
 
     tmp = env->userhdrs;
     while (tmp && tmp->next)


Reply via email to