Hello,
I've been lately switching to emacs for various uses, and I'm thanks to mu4e (version 0.9.16) & mbsync in the process of setting up it for my mails.
It almost feels like I could begin using it but I just faced the error 70 after marking for deletion (d) a message from my gmail "All Mail" maildir.
Here is the log message :
error in process filter: Error 70: error moving /home/kermorgant/mbsync/gmail/[Gmail].All Mail/new/1477232445.3194_12.myhost,U=60001:2, to /home/kermorgant/mbsync/gmail/gmail/[Gmail].Trash/cur/1477346408.fca0234a96f3c657.myhost:2,T
I guess the problem has to be related to the wrong path "/mbsync/gmail/gmail/[Gmail].Trash" being used (the gmail part should only appear once), that being related to how I've setup my 3 different accounts as 3 folders under ~/mbsync. Unfortunately, I can't find out what's wrong with my setup. Perhaps should I start a new sync but that takes some time so I prefer to ask if there's something wrong with my config.
Here's the relevant header (for the deleted message) from mu4e's header pane : "Maildir: /[Gmail].All Mail"
Some details of my setup.
#### mbsyncrc ######
MaildirStore gmail-local
Path ~/mbsync/gmail
MapInbox ~/mbsync/gmail/INBOX
Channel gmail-inbox
Master :gmail-remote:
Slave :gmail-local:
Patterns "INBOX"
Create Both
Expunge Both
SyncState *
Channel gmail-trash
Master :gmail-remote:"[Gmail]/Trash"
Slave :gmail-local:"[Gmail].Trash"
Create Both
Expunge Both
SyncState *
Channel gmail-all
Master :gmail-remote:"[Gmail]/All Mail"
Slave :gmail-local:"[Gmail].All Mail"
Create Both
Expunge Both
SyncState *
#######################
Then, here is my maildir & gmail context definition :
/***===================== mu4e's setup =
(setq mu4e-maildir (expand-file-name "~/mbsync"))
(setq gmail-mu4e-context
(make-mu4e-context
:name "gmail"
:enter-func (lambda () (mu4e-message "Switch to the Private context"))
;; leave-func not defined
:match-func (lambda (msg)
(when msg
(mu4e-message-contact-field-matches msg
:to "
mikael.k...@gmail.com")))
:vars '( (user-mail-address . "
mikael.k...@gmail.com" )
(user-full-name . "Mikael Kermorgant" )
(mu4e-compose-signature . (concat "--\n" "Mikael Kermorgant"))
(mu4e-drafts-folder . "/gmail/[Gmail].Drafts")
(mu4e-sent-folder . "/gmail/[Gmail].Sent Mail")
(mu4e-trash-folder . "/gmail/[Gmail].Trash")
(mu4e-headers-skip-duplicates . t)
(mu4e-get-mail-command . "mbsync gmail")
(mu4e-maildir-shortcuts .
(("/gmail/INBOX" . ?i)
("/gmail/[Gmail]/Starred" . ?S)
("/gmail/[Gmail].Sent Mail" . ?s)
("/gmail/[Gmail].Trash" . ?t)
("/gmail/[Gmail].All Mail" . ?a)))
(mu4e-sent-messages-behavior 'delete)
)))
=================
I'd welcome any help !
Thanks in advance
Mikael