Hallo,
ich würde meine Mails gerne mit mbsync mit gmail synchronisieren und mit notmuch taggen. Mbsync habe ich
folgendermaßen aufgesetzt:
IMAPAccount gmail
# Address to connect to
Host imap.gmail.com
User buckethead2511@gmail.com
Pass **********
# To store the password in an encrypted file use PassCmd instead of Pass
#PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mailpass.gpg"
#
#Use SSL
SSLType IMAPS
# The following line should work. If get certificate errors, uncomment the two following lines and read the "Troubleshooting" section.
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore gmail-remote
Account gmail
MaildirStore gmail-local
# The trailing "/" is important
Path ~/Mail/
Inbox ~/Mail/gmail/inbox
Channel gmail
Master :gmail-remote:
Slave :gmail-local:
# Exclude everything under the internal [Gmail] folder, except the interesting folders
#Patterns * ![Gmail]* "[Gmail]/Sent Mail" "[Gmail]/Starred" "[Gmail]/All Mail"
Patterns * ![Gmail]* "[Gmail]/All Mail"
# Or include everything
#Patterns *
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Save the synchronization state files in the relevant directory
SyncState *
das funktioniert auch, die Mails werden mit einem Aufruf von mbsync gmail abgeholt. Nun tagge ich sie mit notmuch, auch das geht aber nur beim ersten Mal. Ein erneuter Aufruf von mbsync gmail führt zu folgender Fehlermeldung:
Maildir error: found subfolder 'INBOX/.notmuch', but store 'gmail-local' does not specify SubFolders style
mbsync stört sich am .notmuch folder klar, aber ich weiß nicht, wie man das ändern kann.
Weiß jemand Abhilfe?
Viele Grüße
Thorsten