From 63462def106cf9901ee080986f0fb2147854c3ac Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Sat, 16 Oct 1999 08:52:08 +0000 Subject: [PATCH] Fix Debian bug #47408: When the postponed folder is a maildir, messages should only be written to the _new_ subdirectory. --- send.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/send.c b/send.c index b013e7929..ed97deb75 100644 --- a/send.c +++ b/send.c @@ -1192,6 +1192,13 @@ main_loop: /* postpone the message until later. */ if (msg->content->next) msg->content = mutt_make_multipart (msg->content); + + /* + * make sure the message is written to the right part of a maildir + * postponed folder. + */ + msg->read = 0; msg->old = 0; + if (!Postponed || mutt_write_fcc (NONULL (Postponed), msg, (cur && (flags & SENDREPLY)) ? cur->env->message_id : NULL, 1, fcc) < 0) { msg->content = mutt_remove_multipart (msg->content); -- 2.40.0