MBSync Maildir++ 到 IMAP,并在收件箱中包含子文件夹

MBSync Maildir++ 到 IMAP,并在收件箱中包含子文件夹

我正在尝试使用 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.*

相关内容