Problem with draft mails when using offlineimap

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Jun 9 13:27:44 PDT 2016


On Thu 2016-06-09 15:02:14 -0400, Torben Hoffmann wrote:
> I am having issues with draft mails in connection with my offlineimap
> set-up.
>
> I have everything in my ~/Maildir directory.
>
> But when I create a mail and save it it goes to
> ~/Mail/drafts
>
> I have tried changing this:
>  (setq message-auto-save-directory "~/Maildir/drafts/cur")
>
> That will put the drafts in that directory, but they will not show up in
> my searching until after I have done a sync with offlineimap.
>
> But what is worse is that the show up with a timestamp of 1970-01-01.
> And I cannot figure out how to edit a draft, which renders the whole
> concept of drafts meaningless.
>
> My IMAP is Gmail, if that has any influence.
>
> All sorts of advice appreciated.

It sounds like you're using notmuch-emacs.  If that's the case, I
recommend taking a look at the change series Mark Walters wrote for
postponing/resuming drafts, starting at:

  id:1465001026-29392-1-git-send-email-markwalters1009 at gmail.com

Regards,

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20160609/6df0d098/attachment.sig>


More information about the notmuch mailing list