retitle 336674 pan: Supersede references a false MID stop Am Montag, den 31.10.2005, 21:42 +0100 schrieb Daniel Leidert: > It seems, that pan does not read the MID of a posting when trying to > Cancel/Supersede a posting.
Only Supersede is affected. Cancel silently fails. I will open a new bug-report soon. > When e.g. trying to supersede a message, it > reads > > Message-Id: <[EMAIL PROTECTED]> > References: <[EMAIL PROTECTED]> > Supersedes: <[EMAIL PROTECTED]> The reason: pan searches .pan/messages/folders/pan.sent for the article to supersede. If it is not found, pan will refuse to proceed. But if it is found, pan reads the MID from this local copy in the sent-folder. But often the News-Server sets the MID. So pan should read in every case the MID from the downloaded article, not from the pan.sent archive. The (simple) patch is attached. Regards, Daniel
--- pan-0.14.2.91.orig/pan/article-actions.c +++ pan-0.14.2.91/pan/article-actions.c @@ -162,7 +162,7 @@ char * new_message_id; /* get the new message-id */ - old_message_id = g_mime_message_get_message_id (ours); + old_message_id = g_mime_message_get_message_id (message); pch = g_strdup (old_message_id); domain = strchr (pch, '@'); if (domain)

