我正在嘗試使用 MBSync 將本地 Maildir++ 資料夾(dovecot 郵件資料)同步到遠端 IMAP 郵箱。雖然它通常有效,但 INBOX 的子目錄將被忽略。
配置看起來像這樣:
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
輸出看起來像這樣(為什麼 INBOX 被忽略?!)
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...
文件系統中的資料夾結構如下所示:
.Drafts
'.Entw&APw-rfe'
.Gesendet
.INBOX.abizeitung
.INBOX.Bachelorarbeit
.INBOX.bestellungen
.INBOX.dav
其中最後 4 個未同步。有什麼提示嗎?
答案1
來自線上說明頁:Note that INBOX is not matched by wildcards, unless it lives under Path..所以你必須加入第二個模式.INBOX.*。


