Gmail から Mac マシンのローカル フォルダにメールを同期するためにofflineimapを設定しようとしています。
私の現在のセットアップの問題は、offlineimap が両方のアカウントからのメールの同期を開始し、次のような行が表示されることです -
Copy message 3 (3 of 10966) repo1_remote:[Gmail]/Important -> repo1_local
しかし、約 20-30 の後copy message
、これらの行は停止します。Offlineimap はまだ接続されていますが、10 分後に更新されて再び同期されますがcopy message
、リポジトリにそれ以上の行が表示されなくなり、停止するだけです。これらの新しい 20 ~ 30 件の新しいメッセージは mutt で確認できますが、それ以上は確認できません。offlineimap を強制終了して再起動すると、20 ~ 30 個の新しいメッセージがコピーされ、再び停止します。何が悪いのかわかりません。すべてのメッセージをローカルにコピーする必要があると思います。これが私のofflineimaprc
です。Pythonファイルを正しくセットアップしました。
[general]
metadata = ~/.offlineimap
accounts = repo1, repo2
maxsyncaccounts = 10
#ui = blinkenlights
ui = ttyui
pythonfile = ~/Development/OfflineIMAP/mail/offlineimap.py
#socktimeout = 60
[mbnames]
[Account repo2]
localrepository = repo2_local
remoterepository = repo2_remote
autorefresh = 10
status_backend = sqlite
synclabels = yes
[Account repo1]
localrepository = repo1_local
remoterepository = repo1_remote
autorefresh = 10
status_backend = sqlite
synclabels = yes
[Repository repo2_local]
type = GmailMaildir
nametrans = get_remote_name
localfolders = ~/Development/OfflineIMAP/mail/repo2
sep = /
restoreatime = yes
[Repository repo1_local]
type = GmailMaildir
nametrans = get_remote_name
localfolders = ~/Development/OfflineIMAP/mail/repo1
sep = /
restoreatime = yes
[Repository repo2_remote]
type = Gmail
folderfilter = is_included
nametrans = get_local_name
cert_fingerprint = 3ffdb8519c1c8242ce8387d3d9fccc208a776b4a
remoteuser = asd@gmail.com
remotepasseval = get_password('asd')
usecompression = yes
maxconnections = 3
[Repository repo1_remote]
type = Gmail
folderfilter = is_included
nametrans = get_local_name
cert_fingerprint = 3ffdb8519c1c8242ce8387d3d9fccc208a776b4a
remoteuser = qwe@gmail.com
remotepasseval = get_password('qwe')
usecompression = yes
maxconnections = 3
offlineimap がさらにメッセージをコピーするのを妨げている原因と、正しく機能させるために構成で何を変更する必要があるかを知りたいです。