TOC

电子邮件行业技术全景

1. Standards(标准)

1.1 Core RFCs

  • RFC 5321 - SMTP
  • RFC 5322 - Internet Message Format
  • RFC 2045–2049 - MIME
  • RFC 9051 - IMAP4rev2
  • RFC 1939 - POP3

1.2 Authentication RFCs

  • RFC 4954 - SMTP AUTH
  • RFC 7208 - SPF
  • RFC 6376 - DKIM
  • RFC 7489 - DMARC
  • RFC 8617 - ARC
  • RFC 6531 - SMTPUTF8

1.3 Security RFCs

  • RFC 7672 - DANE SMTP
  • RFC 8461 - MTA-STS
  • RFC 3461 - DSN
  • RFC 3464 - Delivery Status Notification

2. Protocols(协议)

2.1 Message Transfer

SMTP Family

  • SMTP
  • ESMTP
  • LMTP

SMTP Extensions

  • SMTP AUTH
  • STARTTLS
  • SMTPUTF8
  • PIPELINING
  • CHUNKING
  • DSN
  • SIZE
  • 8BITMIME
  • BINARYMIME

2.2 Mail Access

Mail Retrieval

  • IMAP4
  • POP3
  • JMAP

Legacy

  • NNTP

2.3 Web Protocols

HTTP

  • HTTP
  • HTTPS
  • WebSocket

3. DNS & Domain(DNS 与域名)

3.1 DNS Records

Basic Records

  • MX
  • A
  • AAAA
  • PTR
  • TXT
  • NS
  • SOA
  • CNAME

Mail Records

  • SPF Record
  • DKIM Selector
  • DMARC Record
  • BIMI Record
  • TLSA

3.2 DNS Security

DNS Protection

  • DNSSEC
  • DANE
  • MTA-STS

3.3 Domain Management

Domain Configuration

  • Reverse DNS: 发信 IP 需要有反解记录,且反解记录不能是云服务商默认的
  • FCrDNS (Forward-confirmed reverse DNS)
    rDNS 要求的升级版,发信 IP 的反解域名的 A/AAAA 记录必须等于发信 IP 本身,形成闭环。
  • HELO/EHLO Domain: 这个域名必须等于发信 IP 的反解域名
  • MX Priority
# Received: from mx65.b.outbound.createsend.com (mx65.b.outbound.createsend.com. [27.126.146.65]) by mx.google.com with ESMTPS id a92af1059eb24-13b43818c1asi27216370c88.59.2026.07.04.03.02.54 for <kwicoo@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Jul 2026 03:02:56 -0700 (PDT)

-> % dig +noall +answer -x 27.126.146.65
65.146.126.27.in-addr.arpa. 1800 IN PTR mx65.b.outbound.createsend.com.

-> % dig +noall +answer a mx65.b.outbound.createsend.com.
mx65.b.outbound.createsend.com. 300 IN  A   27.126.146.65

4. Authentication(邮件认证)

4.1 Sender Authentication

SPF

  • Mechanism
  • Qualifier
  • Macro
  • Flattening

DKIM

  • Selector
  • Canonicalization
  • Key Rotation
  • Body Hash

DMARC

  • Alignment
  • Policy
  • rua
  • ruf

ARC

  • ARC-Seal
  • ARC-Message-Signature
  • ARC-Authentication-Results

BIMI

  • BIMI Record
  • VMC

4.2 User Authentication

SMTP AUTH

  • SASL
  • LOGIN
  • PLAIN
  • CRAM-MD5
  • SCRAM
  • XOAUTH2

4.3 Encryption

Transport Encryption

  • TLS
  • SSL
  • STARTTLS
  • SMTPS
  • IMAPS
  • POP3S

End-to-End Encryption

  • OpenPGP
  • S/MIME

5. Mail Message(邮件内容)

5.1 Message Format

Internet Message Format

  • Header
  • Body
  • MIME
  • Multipart

5.2 Content Types

MIME Types

  • text/plain
  • text/html
  • multipart/alternative
  • multipart/mixed
  • multipart/related
  • multipart/signed
  • multipart/encrypted

5.3 Encoding

Transfer Encoding

  • Base64
  • Quoted-Printable
  • 7bit
  • 8bit
  • Binary

5.4 Attachments

MIME Headers

  • Content-Type
  • Content-Disposition
  • Content-ID
  • Charset
  • Boundary
  • Content-Transfer-Encoding

6. Mail System(邮件系统)

6.1 Mail Architecture

Mail Agents

  • MUA
  • MSA
  • MTA
  • MDA
  • MRA
  • MAA

6.2 Mail Storage

Mailbox Format

  • Maildir
  • mbox
  • MH
  • dbox
  • mdbox

Backend Storage

  • Filesystem
  • SQL Database
  • NoSQL Database
  • Object Storage

6.3 Message Routing

Routing

  • Alias
  • Virtual Domain
  • Catch-all
  • Local Delivery
  • Remote Delivery

7. Mail Delivery(邮件投递)

7.1 SMTP Delivery

SMTP Session

  • EHLO
  • HELO
  • MAIL FROM
  • RCPT TO
  • DATA
  • QUIT

7.2 Queue Management

Queue

  • Incoming Queue
  • Active Queue
  • Deferred Queue
  • Retry Queue

Retry

  • Backoff
  • Retry Policy
  • Expiration

7.3 Connection

SMTP Connection

  • Connection Pool
  • Rate Limiting
  • Parallel Delivery
  • Smart Host
  • SMTP Relay

7.4 Delivery Status

stateDiagram-v2

[*] --> RECEIVED

RECEIVED --> QUEUED
QUEUED --> SENDING

SENDING --> DELIVERED
SENDING --> DEFERRED
SENDING --> REJECTED
SENDING --> BOUNCED
SENDING --> EXPIRED

DEFERRED --> QUEUED
DEFERRED --> SENDING

DELIVERED --> [*]
BOUNCED --> [*]
REJECTED --> [*]
EXPIRED --> [*]
Status Meaning
RECEIVED 处理状态:平台接收
QUEUED 处理状态:进入队列
SENDING 处理状态:投递中
DELIVERED 送达状态:对方接收
DEFERRED 送达状态:临时失败
BOUNCED 送达状态:永久失败
REJECTED 送达状态:前置拒绝
EXPIRED 送达状态:重试耗尽
  • EMAIL_ACCEPTED → 已接收
  • EMAIL_QUEUED → 排队中
  • EMAIL_SENT → 开始投递
  • EMAIL_DELIVERED → 已送达
  • EMAIL_DEFERRED → 延迟投递(临时失败,将重试)
  • EMAIL_BOUNCED → 退信(永久失败,对方拒收)
  • EMAIL_REJECTED → 被拒绝(发送前策略拦截)
  • EMAIL_EXPIRED → 过期(重试超时,最终失败)
  • EMAIL_COMPLAINT → 用户投诉(进入黑名单风险)
  • EMAIL_UNSUBSCRIBED → 退订(用户主动取消订阅)

7.5 Bounce

Bounce Types

结果类型:

  • Hard Bounce(永久失败)
  • Soft Bounce(临时失败)

时间维度:

  • Synchronous Bounce:SMTP session 内返回(4xx / 5xx)
  • Asynchronous Bounce:SMTP 已 250 OK 后发生失败

异步 Bounce 通知机制:

  • NDR(Non-Delivery Report):邮件服务通用机制
    回传一封包含 StatusCode + OriginalMessage 的邮件
    技术标准:DSN(Delivery Status Notification)
    PS:成功发送也可以有 DSN 回执报告。
  • Webhook:ESP 常用
  • EventBus:内部系统

PS:通过 Enhanced Status Code 可以提供更详细的 Bounce 信息。

7.6 Feedback

ISP Feedback

  • FBL
  • Complaint
  • Abuse Report

8. Mail Security(邮件安全)

8.1 Anti-Spam

Filtering

  • Bayesian Filter
  • Heuristic Rules
  • Regex Rules
  • Header Analysis
  • Content Analysis

8.2 Reputation

Reputation

  • IP Reputation
  • Domain Reputation
  • URI Reputation

8.3 Blacklist

DNSBL

  • Spamhaus
  • SpamCop
  • Barracuda
  • SORBS

URI Blacklist

  • SURBL
  • URIBL

8.4 Malware Protection

Security Scan

  • Virus Scan
  • Attachment Scan
  • Sandboxing

8.5 Gateway Security

SEG

  • Anti-Spam
  • Anti-Phishing
  • Anti-Spoofing
  • Anti-Malware

9. Email Marketing(邮件营销)

9.1 Campaign

Campaign Types

  • Transactional Email
  • Bulk Email
  • Marketing Email

9.2 Mailing List

List Management

  • Mailing List
  • Subscription
  • Unsubscribe
  • VERP
  • Digest
  • List-ID

9.3 Templates

Email Templates

  • HTML Template
  • Dynamic Template
  • Merge Tags

9.4 Automation

Marketing Automation

  • Trigger Email
  • Drip Campaign
  • Journey

10. Analytics(邮件分析)

10.1 Delivery Metrics

Delivery

  • Delivery Rate
  • Inbox Rate
  • Bounce Rate
  • Complaint Rate

10.2 Engagement

User Engagement

  • Open Rate
  • Click Rate
  • CTR
  • CTOR
  • Conversion Rate

10.3 Tracking

Tracking

  • Open Tracking
  • Click Tracking
  • Pixel Tracking
  • Link Tracking
  • Webhook
  • Event Stream

11. Email Intelligence(邮箱情报)

11.1 Address Validation

Verification

  • Syntax Validation
  • Domain Validation
  • SMTP Validation
  • RCPT Validation

11.2 Risk Detection

Mailbox Type

  • Disposable Email
  • Catch-all
  • Role Account
  • Free Provider
  • Anonymous Provider
  • Alias Address

Abuse Detection

  • Spam Trap
  • Honeypot
  • Greylisting

11.3 Scoring

Quality

  • Deliverability Score
  • Quality Score
  • Risk Score
  • Engagement Score

12. Email Ecosystem(行业生态)

12.1 Deliverability

Testing

  • Inbox Placement
  • Spam Score
  • Content Analysis
  • Authentication Check

12.2 Diagnostics

DNS Tools

  • MX Lookup
  • SPF Check
  • DKIM Check
  • DMARC Check
  • Reverse DNS Lookup

SMTP Tools

  • SMTP Test
  • TLS Test
  • Open Relay Test

12.3 Reputation

Sender Reputation

  • IP Reputation
  • Domain Reputation
  • Blocklist Status

12.4 Compatibility

Client Compatibility

  • HTML Compatibility
  • CSS Compatibility
  • Dark Mode Compatibility

13. Software(邮件软件)

13.1 Mail Server

MTA

  • Postfix
  • Exim
  • Sendmail
  • OpenSMTPD
  • Haraka

IMAP / POP3

  • Dovecot
  • Cyrus IMAP

13.2 Webmail

Web Clients

  • Roundcube
  • SnappyMail
  • RainLoop

13.3 Security

Anti-Spam

  • Rspamd
  • SpamAssassin

Anti-Virus

  • ClamAV

13.4 Testing

SMTP Testing

  • MailHog
  • Mailpit
  • smtp4dev
  • GreenMail
  • FakeSMTP
  • swaks
  • smtp-cli

14. Services(商业服务)

14.1 Email Delivery

ESP

  • Amazon SES
  • SendGrid
  • Mailgun
  • Postmark
  • SparkPost
  • Brevo

14.2 Email Validation

Validation Services

  • ZeroBounce
  • Kickbox
  • NeverBounce
  • Bouncer
  • Verifalia
  • MailboxValidator

14.3 Email Security

Security Platforms

  • Proofpoint
  • Mimecast
  • Microsoft Defender for Office 365
  • Cisco Secure Email
  • Barracuda Email Security

14.4 Deliverability

Deliverability Platforms

  • GlockApps
  • Validity Everest
  • Inbox Monster
  • Litmus
  • Email on Acid

15. Mail Providers(邮箱服务商)

15.1 Global Providers

Consumer Mail

  • Gmail
  • Outlook.com
  • Yahoo Mail
  • iCloud Mail
  • Proton Mail
  • Tuta Mail
  • Fastmail
  • Zoho Mail

15.2 China Providers

Consumer Mail

  • QQ Mail
  • 163 Mail
  • 126 Mail

Enterprise Mail

  • Tencent Enterprise Mail
  • NetEase Enterprise Mail
  • Alibaba Mail

16. Mail Clients(邮件客户端)

16.1 Desktop

Desktop Clients

  • Microsoft Outlook
  • Thunderbird
  • Apple Mail
  • Foxmail
  • eM Client
  • Mailspring

16.2 Mobile

Mobile Clients

  • Gmail
  • Outlook
  • Apple Mail
  • Spark
  • BlueMail

16.3 Webmail

Browser Clients

  • Gmail
  • Outlook Web
  • Roundcube
  • SnappyMail

17. Operations(运维)

17.1 Monitoring

Metrics

  • SMTP Log
  • Mail Log
  • Queue Monitor
  • Delivery Metrics

Monitoring Platforms

  • Prometheus
  • Grafana
  • AlertManager

17.2 High Availability

Scalability

  • Load Balancing
  • Horizontal Scaling
  • Active-Active
  • Active-Standby
  • GeoDNS

17.3 Certificate Management

PKI Automation

  • ACME
  • Let's Encrypt
  • Certbot
  • acme.sh
如果你有魔法,你可以看到一个评论框~