From 3b3d0ddb6bb88448ddfe155c9cb1bf8ab2e2e5f0 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 22 May 2004 00:33:26 +0000 Subject: [PATCH] Bugfix: remove hdr.thread_orig property before storing message in mail base. --- exec/mlistgate.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/exec/mlistgate.js b/exec/mlistgate.js index 1a36ee8f2a..a438a26eea 100644 --- a/exec/mlistgate.js +++ b/exec/mlistgate.js @@ -153,6 +153,8 @@ for(i in area) { body += tearline; body += tagline; + delete hdr.thread_orig; /* we're not replying a message that exists in the mail database */ + while(area[i].length) { /* For each list server... */ listserv=area[i].shift(); @@ -169,8 +171,8 @@ for(i in area) { printf("Exported message %lu to list server: %s\r\n",ptr,listserv); exported++; } else - printf("ERROR %s exporting message %lu to list server: %s\r\n" - ,msgbase.error, ptr, listserv); + printf("!ERROR %s exporting message %lu to list server: %s\r\n" + ,mailbase.error, ptr, listserv); } } if(ptr > msgbase.last_msg) -- GitLab