首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在前20-30条消息之后,Offlineimap停止检索。

在前20-30条消息之后,Offlineimap停止检索。
EN

Stack Overflow用户
提问于 2015-12-16 14:16:42
回答 1查看 187关注 0票数 1

我一直在尝试将离线映射设置为将邮件从gmail同步到mac计算机上的本地文件夹。

我当前设置的问题是,offlineimap将开始从两个帐户同步邮件,我可以看到类似-

代码语言:javascript
复制
Copy message 3 (3 of 10966) repo1_remote:[Gmail]/Important -> repo1_local

但是,在大约20-30 copy message之后,这些线路就停止了.虽然Offlineimap仍然是连接的,它在10分钟后刷新并再次同步,但是,我不能再在repos中看到更多的copy message行了,它只是停止。我能在狗身上看到新的20到30条新信息,但不会更多。杀死和重新启动脱机地图,再次复制20-30条新消息,并再次停止。我不知道是怎么回事。我想它应该在本地复制所有的信息。这是我的offlineimaprc。我正确地设置了python文件。

代码语言:javascript
复制
[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

我想知道是什么阻止了脱机映射复制进一步的消息,以及我应该在配置中更改什么来使它正常工作。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-12-21 21:55:12

我最近在gmail上遇到了同样的问题。在我的示例中,禁用压缩和将连接限制为1解决了这个问题(没有时间进行充分调查)。你试过这样做吗?

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34314325

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档