标签: offlineimap

加密离线IMAP密码

我正在尝试设置 OfflineIMAP 以通过 gpg 加密文件进行身份验证(这样我可以将所有加密合并到我的 gpg-agent 进程中)。

从文档来看,加密服务器密码的唯一方法似乎是使用 gnome-keyring(我不想在我的无头服务器上运行)。有没有办法像使用 mutt 一样从 gpg 文件中输入我的密码?

我知道您可以使用扩展名 python 文件向 offlineimap 添加额外功能,但恐怕我不知道从哪里开始。

encryption gpg offlineimap

20
推荐指数
3
解决办法
2万
查看次数

无法使用 OfflineIMAP 同步 Gmail

我正在尝试设置 OfflineIMAP 以将我的 Gmail 帐户同步到~/Mail/Gmail. 我~/.offlineimaprc这里使用了一个非常基本的。但 OfflineIMAP 根本无法连接到 Gmail。这是我收到的调试消息(通过将 OfflineIMAP 运行为offlineimap -o -d imap

OfflineIMAP 6.3.4
Copyright 2002-2011 John Goerzen & contributors.
Licensed under the GNU GPL v2+ (v2 or any later version).

Debug mode: Forcing to singlethreaded.
Now debugging for imap: IMAP protocol debugging
Now debugging for : Other offlineimap related sync messages
Account sync Gmail:
***** Processing account Gmail
Copying folder structure from IMAP to Maildir
Establishing connection to imap.gmail.com:993. …
Run Code Online (Sandbox Code Playgroud)

email offlineimap

11
推荐指数
2
解决办法
5779
查看次数

离线IMAPS和CA证书

这个问题是关于离线地图的,但在给定的机会下,我想要资源来了解更多关于 ssl 证书以及与它们的整个交易。

我下载了最新的离线地图 (7.0.6),在完成最小配置后,我运行命令,但出现以下错误:

Account sync Gmail:
 *** Processing account Gmail
 Establishing connection to imaps://imap.gmail.com:993 (GmailRemote)
 ERROR: No CA certificates and no server fingerprints configured.  You must configure at least something, otherwise having SSL helps nothing.
 *** Finished account 'Gmail' in 0:00
ERROR: Exceptions occurred during the run!
ERROR: No CA certificates and no server fingerprints configured.  You must configure at least something, otherwise having SSL helps nothing.

Traceback:
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/accounts.py", line 271, in syncrunner
    self.__sync()
  File "/usr/local/lib/python2.7/dist-packages/offlineimap/accounts.py", line …
Run Code Online (Sandbox Code Playgroud)

mutt ssl openssl certificates offlineimap

5
推荐指数
1
解决办法
3609
查看次数

使用 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
查看次数

标签 统计

offlineimap ×4

email ×2

certificates ×1

encryption ×1

gpg ×1

imap ×1

mutt ×1

openssl ×1

ssl ×1