Problem with draft mails when using offlineimap

Torben Hoffmann thoffmann at basho.com
Fri Jun 10 10:59:34 PDT 2016


Daniel Kahn Gillmor <dkg at fifthhorseman.net> writes:

> [ text/plain ]
> 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
> [ signature.asc: application/pgp-signature ]

You are correct about me using notmuch-emacs - totally forgot to write
that in the first mail, sorry.

The link you sent me does not work for me - even in the browser when
looking through the patches, which I think are here:
https://notmuchmail.org/pipermail/notmuch/2016/022492.html

How can I get to try out those patches?

Cheers,
Torben
-- 
Torben Hoffmann
Chief Architect, basho.com
M: +45 25 14 05 38


More information about the notmuch mailing list