惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
About on SuperTechFans
C
Cybersecurity and Infrastructure Security Agency CISA
N
News and Events Feed by Topic
C
Cisco Blogs
Cisco Talos Blog
Cisco Talos Blog
A
Arctic Wolf
Scott Helme
Scott Helme
P
Palo Alto Networks Blog
S
Schneier on Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
Tor Project blog
量子位
G
Google Developers Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
B
Blog RSS Feed
NISL@THU
NISL@THU
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
AWS News Blog
AWS News Blog
爱范儿
爱范儿
Last Week in AI
Last Week in AI
Y
Y Combinator Blog
L
LINUX DO - 最新话题
Security Archives - TechRepublic
Security Archives - TechRepublic
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Secure Thoughts
Cloudbric
Cloudbric
aimingoo的专栏
aimingoo的专栏
L
Lohrmann on Cybersecurity
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Hacker News: Ask HN
Hacker News: Ask HN
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
有赞技术团队
有赞技术团队
S
Security @ Cisco Blogs
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Cyber Attacks, Cyber Crime and Cyber Security
G
GRAHAM CLULEY
P
Proofpoint News Feed
V
V2EX
Martin Fowler
Martin Fowler
C
CERT Recently Published Vulnerability Notes
Attack and Defense Labs
Attack and Defense Labs
C
CXSECURITY Database RSS Feed - CXSecurity.com
The Cloudflare Blog
SecWiki News
SecWiki News
罗磊的独立博客
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
小众软件
小众软件
The Last Watchdog
The Last Watchdog

程序员笔记(huoyijie.cn)

generate new dataset with llm and knowledge graph resume deepseek applications Implement the classic huarongdao game with react Implement the classic tetris game with react Writing admin dashboard template with Nextjs How to AuthN user with OpenLDAP share whiteboard with websocket ocr overview tech notes subscribe topic with sse multi devices github an algorithm used for image text detect an algorithm used for image text detect facial expression recognition technology based on neural network oauth2 mysql store a real time collaborative whiteboard with infinite space How to perform load testing with Grafana k6 fix split of undefined with gitbook theme nodejs http proxy middleware analyze referer of express website writing a CDN origin server with Django a personal lightweight CMS tool writing in Golang profile introduce the post processing introduce the text detect method blockchain for dummies medical applications on ai facial expression recognition study facial expression recognition auth auth with oauth2 auth with jwt chat with sse react chat with websocket react http message signatures infinite whiteboard with socket.io multi factor auth with totp subscribe topic with sse capture screen to gif Golang 经典入门实践教程 · GitBook EFS 加密文件系统 · GitBook 弈杰围棋智能终端 · GitBook 如何把手机触摸屏变成触控板(Touchpad) · GitBook 基于 SOCKET.IO 搭建个人电脑 HTTP 静态服务器代理 · GitBook 三百行代码搭建一个简单的 SOCKS5 代理服务器 · GitBook 微信小程序(蓝牙BLE)远程遥控树莓派小车 · GitBook 语音远程遥控树莓派小车 · GitBook 树莓派的一些使用经验 · GitBook 从零开始制作树莓派小车 · GitBook UDPack 2.0 协议 · GitBook 前言 · GitBook 升级 Ubuntu 到 20.04 LTS 长期维护版本 · GitBook 反向代理服务器实现原理 · GitBook 网站支持 HTTP 2.0 · GitBook 使用 Git 与 Gitbook 创建管理电子书 · GitBook 网站图片视频接入CDN · GitBook a personal lightweight self hosted git server written in Golang 快速搭建CDN回源服务器 · GitBook 基于 Git 搭建代码托管服务器 · GitBook
搭建配置邮件服务器 · GitBook
huoyijie · 2024-05-24 · via 程序员笔记(huoyijie.cn)

搭建配置邮件服务器

现在的邮箱服务商提供了很好的服务,用户可以几乎无空间限制的随时随地的收发邮件,企业用户可以付费使用高阶功能。作为用户不用关心邮件服务器怎么搭建、配置,有没有收到和转发垃圾邮件,是否中继邮件时被别的邮件服务商当垃圾邮件拒收了,也不需要关注邮件服务器的性能监控、数据备份、安全和空间等等很多问题。

与之相比,自己维护一个邮件服务器是一件挺费劲的事情,但是好处是,邮件数据完全自己可控,也不用时刻担心数据泄漏,对于企业用户来说,很多重要的业务数据都在上面,虽然都声称是加密存储的,有没有偷偷读取用户邮件数据进行数据业务分析和反垃圾邮件模型训练等,估计哪个服务商也不敢完全打包票。

首先先介绍几个概念:

  1. 发送邮件服务器: 负责邮件地址的解析以及邮件的路由和投递,实现 SMTP 等协议。如 postfix、sendmail等
  2. 接收邮件服务器: 负责邮件的存储以及配合 MUA 来取邮件,实现 POP、IMAP 等协议。如 dovecot
  3. 邮件用户代理 Mail User Agent (MUA): 是一个用于收发邮件的应用程序。发邮件时把邮件交给发送邮件服务器,收邮件时,从接收邮件服务器下载邮件,如 foxmail、Thunderbird 等客户端软件。

用户通过客户端软件编辑邮件点发送,邮件首先会交给客户端软件本身配置的 SMTP 服务器,由后者进行解析和路由,经过多个邮件传输代理的转发,最终投递到目标邮件服务器。目标邮件服务器会存储邮件,并等到目标用户登录邮件客户端软件查收邮件时,会请求客户端软件配置的 IMAP/POP 收件服务器,此时邮件传输到用户的电脑或者手机上。