# SMTP 554 5.7.1 事务失败：邮件内容被拒绝为垃圾邮件

- **ID:** `communication/smtp-554-transaction-failed-spam`
- **领域:** communication
- **类别:** auth_error
- **错误码:** `554 5.7.1`
- **验证级别:** ai_generated
- **修复率:** 83%

## 根因

接收邮件服务器拒绝邮件，因为其内容或标头触发垃圾邮件过滤器，通常是由于链接与文本比例过高、可疑关键词或缺少 DMARC 策略对齐。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| Postfix 3.7.0 | active | — | — |
| Exim 4.96 | active | — | — |
| Microsoft Exchange Online | active | — | — |
| SpamAssassin 4.0.0 | active | — | — |

## 解决方案

1. ```
   Review and sanitize email content: remove excessive links, avoid spammy keywords (e.g., 'free', 'click here', 'urgent'), and ensure a balanced text-to-image ratio. Use a spam testing tool like Mail-Tester to pre-check.
   ```
2. ```
   Configure DMARC policy to 'p=reject' or 'p=quarantine' and ensure SPF/DKIM alignment passes: verify the 'From' domain matches the DKIM signing domain and SPF envelope sender domain.
   ```
3. ```
   Use a dedicated email sending service (e.g., SendGrid, AWS SES) with pre-warmed IPs and built-in spam compliance to handle content delivery, bypassing direct SMTP.
   ```

## 无效尝试

- **** — Whitelisting the sending IP in the receiving server may bypass spam filters temporarily, but the message content itself remains flagged, leading to eventual rejection or quarantine. (60% 失败率)
- **** — Adding more DKIM signatures (e.g., multiple selectors) doesn't address content-based filtering and may confuse the receiving server's authentication chain. (80% 失败率)
- **** — Reducing the sending rate (e.g., 1 email per minute) doesn't change the message content; spam filters still evaluate each message independently. (70% 失败率)
