Re: Setting send(1)'s draftfolder breaks mhmail.

David Levine <[email protected]>
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
Andy wrote:

> Thus said Ralph Corderoy on Thu, 18 Jan 2024 15:22:28 +0000:
>
> > The  suggestion  was  to  duplicate   the  setting  by  adding  "send:
> > -draftfolder drafts". I think this breaks mhmail(1).
>
> Except, according to the man page for mhmail:
>
> PROFILE COMPONENTS
>        mhmail does not consult the user's .mh_profile
>
> Perhaps it breaks send?

The fault is with mhmail.  When its -profile switch was added to use send instead of post, this interaction wasn't considered.

mhmail currently uses a tmp file, always, for the draft.  I think the fix should depend on if mhmail has been instructed to use send and send has a draftfolder switch in the profile.  In that case it should create the draft as a new draft message in the draftfolder, instead of as a tmp file.

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.