我正试图让gmail下运行的公司邮件与mbsync同步,后者位于user@company.com域中。我使用mailctl进行身份验证,这似乎很有效,因为我看到了一些像Error: channel myacc: near side box [name of a label I made in gmail] cannot be opened.这样的错误,所以至少在我的标签上也出现了类似的错误(我的个人gmail上也有类似的错误)。
但是不像我的个人电子邮件,它似乎在做什么(虽然我还没有真正看到电子邮件),这个帐户给出了以下错误:
Socket error: secure read from imap.gmail.com (64.233.184.108:993): error:0A000126:SSL routines::unexpected eof while reading
这是它的配置:
IMAPAccount myacc
# Address to connect to
Host imap.gmail.com
User [...]
AuthMechs XOAUTH2
# To store the password in an encrypted file use PassCmd instead of Pass
PassCmd "mailctl access myacc"
#
# Use SSL
SSLType IMAPS
# The following line should work. If you get certificate errors, uncomment the two following lines and read the "Troubleshooting" section.
CertificateFile /etc/ssl/certs/ca-certificates.crt
#CertificateFile ~/.cert/imap.gmail.com.pem
#CertificateFile ~/.cert/Equifax_Secure_CA.pem
IMAPStore myacc-remote
Account myacc
MaildirStore myacc-local
SubFolders Verbatim
# The trailing "/" is important
Path ~/.mail/myacc/
Inbox ~/.mail/myacc/Inbox
Channel myacc
Far :myacc-remote:
Near :myacc-local:
Patterns *
# Automatically create missing mailboxes, both locally and on the server
Create Both知道我做错什么了吗?
发布于 2022-08-05 21:49:04
在经历了很多乱七八糟的事情之后,我在这里所称的myacc实际上包含了@,这似乎是一个很大的不-不。移除它并使用下划线工作。
https://stackoverflow.com/questions/73248641
复制相似问题