
OfflineIMAPを使用してサーバーから新しいサーバーにメールを移行しようとしています。
私の設定は次のとおりです。
[general]
accounts = TestAccount
ui = noninteractive.Basic
[Account TestAccount]
localrepository = TestAccountSource
remoterepository = TestAccountDestination
maxsyncaccounts = 3
maxconnections = 3
[Repository TestAccountSource]
type = IMAP
remotehost = localhost
remoteuser = [email protected]
remotepass = password
[Repository TestAccountDestination]
type = IMAP
remotehost = new.machine.com
remoteuser = [email protected]
remotepass = password
ssl = yes
「古い」サーバーでこのコマンドを実行すると、同期が開始され、メールがコピーされます。ただし、ディレクトリは新しいシステムにコピーされません。
offlineimap -c /path/to/my/config
元のディレクトリは次のとおりです。
Chats
Contacts
courierimapkeywords
courierimapsubscribed
courierimapuiddb
cur
Drafts
Emailed Contacts
INBOX
Junk
new
Notes
Sent
tmp
.Subdir
.Subdir.SubSubdir1
.Subdir.SubSubdir2
.Subdir.SubSubdir3
.Subdir.SubSubdir4
受信トレイ内のすべてのメールは正しく同期されますが、ディレクトリ.SubDir
(サブディレクトリを含む)は新しいメールサーバーに到達しません。
PS 既存のメールサーバーは宅配便を利用し、新規メールサーバーはZimbraを利用します。