Setting send(1)'s draftfolder breaks mhmail.

Ralph Corderoy <[email protected]>
Newsgroups gmane.mail.nmh.devel
Message-ID <[email protected]>
Hi,

A while ago, I pointed out send(1) ignores the profile's ‘draft-folder’.
The suggestion was to duplicate the setting by adding ‘send:
-draftfolder drafts’.  I think this breaks mhmail(1).

    mhmail \
        -from $from \
        -to $to \
        -headerfield 'dcc: ralph' \
        -subject $subject \
        -body '' \
        -attach `mhpath $msg` 

The prescence of -draftfolder causes

    send: bad message list /home/ralph/mail/mhmailJxHE1P

because it changes the interpretation of the argument from a file.
This is despite send(1)'s synopsis saying ‘[file...]’.

-- 
Cheers, Ralph.
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.