小编Som*_*une的帖子

使用 XOAUTH2 在 debian linux 上使用 mbsync (isync) 同步 gmail

我正在尝试使用mbsync将我的邮件从 gmail 同步到我的本地邮件服务器。但我不断收到错误Error: SASL(-4): no mechanism available: No worthy mechs found

这是我的.mbsyncrc文件:

#IMAP server you wish to copy mails from.
IMAPAccount original
Host imap.gmail.com
User username@gmail.com
AuthMechs XOAUTH2
Pass access_token_recieved_from_google
UseIMAPS yes
CertificateFile /etc/ssl/certs/ca-certificates.crt

# The IMAP server you wish to copy mails to.
IMAPAccount target
Host local.mail.server.host
User local_user
Pass  somepass
AuthMechs LOGIN
UseIMAPS yes
CertificateFile /etc/ssl/certs/ca-certificates.crt

# Link IMAP server to remote used below. Note Account is set to     'original' now -- we'll …
Run Code Online (Sandbox Code Playgroud)

email imap offlineimap

5
推荐指数
0
解决办法
1695
查看次数

标签 统计

email ×1

imap ×1

offlineimap ×1