首页 最近更新 网站讯息 页面索引 这是什么?

DotOfflineimaprc

在cron job里面调用offlineimap时使用

[general]
accounts = Gmail 
maxsyncaccounts = 1
ui = Noninteractive.Quiet

[Account Gmail]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = IMAP 
remotehost = localhost
port = 143
remoteuser = ...
remotepass = ...

[Repository Remote]
type = IMAP
remotehost = imap.gmail.com
remoteuser = ...
remotepass = ...
ssl = yes
maxconnections = 1
realdelete = no
folderfilter = lambda foldername: foldername in ['[Gmail]/All Mail']