MBSync Maildir++ nach IMAP mit Unterordner im Posteingang

MBSync Maildir++ nach IMAP mit Unterordner im Posteingang

Ich versuche, mit MBSync einen lokalen Maildir++-Ordner (Dovecot-Maildaten) mit einem Remote-IMAP-Postfach zu synchronisieren. Obwohl dies im Allgemeinen funktioniert, werden Unterverzeichnisse von INBOX ignoriert.

Die Konfiguration sieht folgendermaßen aus:

MaildirStore a-local
Subfolders Maildir++
Inbox /var/kunden/mail/a/[email protected]
IMAPAccount a
Host ***
User ***
Pass ***
SSLType IMAPS
CertificateFile ~/mail/cert

IMAPStore a-remote
Account a

Channel a
Master :a-local:
Slave :a-remote:
Patterns *
SyncState ~/mail/a-imap-transfer

Die Ausgabe sieht so aus (warum wird INBOX ignoriert?!)

pattern '*' (effective '*'): Path, no INBOX Maildir warning: ignoring
INBOX in /var/kunden/mail/a/[email protected]/ Opening slave
store a-remote... Resolving ***... ok Connecting to
*** (***:993)... Connection is now encrypted Logging in... Authenticating with SASL mechanism PLAIN... pattern '*'
(effective '*'): Path, no INBOX Opening master box INBOX... Opening
slave box INBOX...

Die Ordnerstruktur im Dateisystem sieht folgendermaßen aus:

 .Drafts
'.Entw&APw-rfe'
 .Gesendet
 .INBOX.abizeitung
 .INBOX.Bachelorarbeit
 .INBOX.bestellungen
 .INBOX.dav

die letzten 4 davon sind NICHT synchronisiert. Irgendwelche Hinweise?

Antwort1

Aus der Manpage: Note that INBOX is not matched by wildcards, unless it lives under Path.Sie müssten also ein zweites Muster hinzufügen .INBOX.*.

verwandte Informationen