标题: 用Thunderbird访问某邮件服务器 创建: 2022-04-14 14:05 更新: 2022-05-17 10:13 链接: https://scz.617.cn/misc/202204141405.txt -------------------------------------------------------------------------- 目录: ☆ 背景介绍 ☆ 配置Thunderbird 1) 下载 2) 安装 2.1) 升级 3) 全局配置 4) 添加邮箱帐户 5) Local Folders 6) 远程邮箱 (未解决) ☆ 参考资源 -------------------------------------------------------------------------- ☆ 背景介绍 2022.3.4收到一封来自某邮件服务器的通知邮件,说是从今年6月开始,只用user/ pass进行POP3/IMAP登录的邮件客户端无法访问该邮件服务器了,得换支持OAuth登录 的邮件客户端。 搜了一下,至少如下软件支持 -------------------------------------------------------------------------- Microsoft Outlook Microsoft Outlook for Mac Mozilla Thunderbird Windows Mail (included in Windows) Apple Mail (available on macOS and iOS/iPadOS) -------------------------------------------------------------------------- 过去我一直用Becky,后来是Becky+Proxifier。Becky已经很老了,还是绿色版,肯 定不支持OAuth,为此需要寻找新的邮件客户端。简单搜索研究之后决定用 Mozilla Thunderbird。 我需要将软件和邮件置于加密盘中,绿色化后便于迁移。微软Outlook估计无法绿色 化,Thunderbird虽然没有明说可以绿色化,实测下来可以。 ☆ 配置Thunderbird 1) 下载 参[2] 2) 安装 缺省安装到 C:\Program Files\Mozilla Thunderbird\ 复制到 X:\Thunderbird\ X盘是个加密盘 2.1) 升级 只能阻止Thunderbird自动升级,没法阻止Thunderbird检查更新。 https://www.thunderbird.net/download/ 下载并安装最新版,复制安装目录到加密盘,卸载Thunderbird。原来配置好的邮箱 自动加载,暂不清楚这种关联如何建立的。 用Process Monitor监控,可能是这样定位的 %APPDATA%\Thunderbird %APPDATA%\Thunderbird\profiles.ini %APPDATA%\Thunderbird\Profiles\ %APPDATA%\Thunderbird\Profiles\...\blist.sqlite 迁移系统时应该备份迁移上述目录。 3) 全局配置 在顶部右键,把Menu Bar放出来。 -------------------------------------------------------------------------- Tools Preferences General Thunderbird Start Page When Thunderbird launches, show the Start Page in the message area 清空 Default Search Engine 从缺省Google改成Bing System Integration Always check to see if Thunderbird is the default mail client on startup 清空 When Thunderbird is minimized, move it to the tray 选中 Allow Windows Search to search messages 清空 Fonts & Colors Default font Microsoft YaHei Size 16 Advanced Fonts for Simplified Chinese Plain Text Messages Display emoticons as graphics 清空 Date and Time Formatting Regional settings local: Chinese (China) When new messages arrive Show an alert 清空 Show a tray icon for unread messages 清空 Play a sound 清空 Files & Attachments PDF Always ask Always ask me where to save files Automatically mark messages as read 选中 Immediately on display Open messages in A new tab Return Receipts When sending messages, always request a return receipt 清空 When I receive a request for a return receipt Never send a return receipt Thunderbird Updates Check for updates, but let me choose whether to install them Connection Manual proxy configuration SOCKS Host: (略) Port: (略) SOCKS v5 Proxy DNS when using SOCKS v5 (很重要,必选) Offline Automatically follow detected online state 清空 Manual state when starting up Ask me for online state Send unsent messages when going online Ask me Download messages for offline use when going offline Ask me Indexing Enable Global Search and Indexer 清空 Message Store Type for new accounts File per folder (mbox) Composition Addressing Automatically add outgoing e-mail addresses to my 清空 Privacy & Security Allow remote content in messages 清空 Remember websites and links I've visited 清空 Passwords Saved Passwords 可在此删除已保存的密码 Thunderbird Data Collection and Use Allow Thunderbird to send technical and interaction data to Mozilla 清空 Allow Thunderbird to send backlogged crash reports on your behalf 清空 Tell me if the message I'm reading is a suspected email scam 清空 Allow antivirus clients to quarantine individual incoming messages 清空 When a server requests my personal certificate Ask me every time Chat When Thunderbird starts Keep my Chat Accounts offline Let my contacts know that I am Idle after 5 minutes of inactivity 清空 Send typing notifications in conversations 清空 When messages directed at you arrive 下面几项全部清空 -------------------------------------------------------------------------- Thunderbird直接支持SOCKS5,不需要Proxifier,而且实测下来,Proxifier也Hook 不住Thunderbird。 4) 添加邮箱帐户 假设要添加"nobody@somemail.com",提前创建目录 X:\somemail\nobody\ -------------------------------------------------------------------------- Tools Account Settings Account Actions Add Mail Account Your full name Nobody Email address nobody@somemail.com Password 让它空着 Continue Configure manually INCOMING SERVER Protocol IMAP Hostname imap.somemail.com Port 993 Connection security SSL/TLS Authentication method OAuth2 Username nobody@somemail.com OUTGOING SERVER Hostname smtp.somemail.com Port 465 Connection security SSL/TLS Authentication method OAuth2 Username nobody@somemail.com Advanced config -------------------------------------------------------------------------- Tools Account Settings nobody@somemail.com Server Settings Server Type IMAP Mail Server Server Name imap.somemail.com Port 993 User Name nobody@somemail.com Connection security SSL/TLS Authentication method OAuth2 Check for new messages at startup 清空 Check for new messages every 10 minutes 清空 Allow immediate server notifications when new messages arrive 清空 When I delete a message Move it to this folder Trash on nobody@somemail.com (最开始没有,回头调整成这样) Empty Trash on Exit Message Store Type File per folder (mbox) Local Directory X:\somemail\nobody\ Copies & Folders When sending messages, automatically Place a copy in Other Sent Mail on nobody@somemail.com (最开始没有,回头调整成这样) -------------------------------------------------------------------------- 5) Local Folders -------------------------------------------------------------------------- Tools Account Settings Local Folders Message Storage Empty Trash on Exit Local Directory X:\Local\ -------------------------------------------------------------------------- 我不知道这是干啥用的,但将存储目录指定到X盘,绿色化。 6) 远程邮箱 (未解决) Becky、Foxmail支持远程邮箱,可以远程看标题,无需下载直接删除。Thunderbird 不知如何达到同样效果? ☆ 参考资源 [2] Installing Thunderbird on Windows https://support.mozilla.org/en-US/kb/installing-thunderbird-windows https://www.thunderbird.net/en-US/ https://www.thunderbird.net/download/