Skip to content

Nuface Blog

隨意隨手記 Casual Notes

Menu
  • Home
  • About
  • Services
  • Blog
  • Contact
  • Privacy Policy
  • Login
Menu

Category: Mail

About Mail

Deploying Roundcube Webmail with Docker: IMAP, SMTP, TLS, and ManageSieve Integration

Posted on 2025-11-202025-11-21 by Rico

Mail Server Series — Part 9 In the previous chapters, we completed: In this article, we will deploy Roundcube Webmail and integrate it with our mail ecosystem. This chapter covers: Roundcube is a lightweight, modern, and extensible webmail solution widely adopted for enterprise and educational environments.Let’s begin. 1. Why Roundcube Webmail? Roundcube provides essential capabilities…

Read more

Roundcube Webmail:Docker 化部署、整合 Dovecot、TLS、SMTP、Sieve 郵件規則管理

Posted on 2025-11-202025-11-21 by Rico

【Mail Server 系列文:第 9 篇】 在前面幾篇我們完成了: 接著,本篇將介紹: 如何在 Docker 中部署 Roundcube Webmail,並完整整合: Roundcube 是企業最常用的 Webmail 方案,外觀現代、支援插件、擴充容易。本篇將從部署到整合全面說明。 1. Webmail 的角色與必要性 為什麼需要 Webmail? 使用情境 說明 使用者出差 不方便使用 Outlook、Thunderbird,需透過瀏覽器查看郵件 行動裝置 不依賴手機原生 App,直接登入 Web 即可 企業內部 測試帳號、寄送郵件、檢查 IMAP/SMTP 教育或小型企業 無需安裝客戶端,降低維護成本 客製化需求 自訂品牌、加入內部 SSO、插件擴充 Roundcube 是 PHP + Apache/NGINX 的成熟 Webmail,支援: 2. 建立 Roundcube 所需目錄 3. 拉取官方 Docker Image 本系列使用官方…

Read more

Piler + Manticore + PMilter: Enterprise Email Archiving, Full-Text Search (Chinese Included), and Access Control

Posted on 2025-11-202025-11-21 by Rico

Mail Server Series — Part 8 In the previous articles, we completed: In this chapter, we focus on a major enterprise requirement: Email Archiving System — Piler An enterprise mail system must do more than just “send & receive.”It must preserve, index, audit, and search emails across the organization. This article explains: 1. Why Do…

Read more

Piler + Manticore + PMilter:企業郵件歸檔、全文檢索(含中文)、收件者權限控管的完整架構

Posted on 2025-11-202025-11-21 by Rico

【Mail Server 系列文:第 8 篇】 在前幾篇文章中,我們已完成: 本篇要介紹整個企業郵件架構中非常關鍵的一塊: 郵件歸檔系統(Mail Archiving System)—— Piler 企業級郵件架構中,郵件保留、查詢、法遵稽核、主管審閱,是一定會遇到的需求。但一般 Webmail(Roundcube)或 IMAP 伺服器並不適合承擔這類任務,因此需要專門的「郵件歸檔系統」。 在本篇中,你將學到: 1. 為什麼企業一定要有郵件歸檔系統? 企業不只是要「能收信」,更要「能查信」。 常見需求包括: 需求 說明 員工離職資料保留 使用者離職後仍需查閱歷史郵件 法規遵循 財務、人資、業務郵件需保存多年 稽核需求 主管可查詢特定員工或部門郵件 大量搜尋 需快速搜尋 所有郵件的全文 不可被使用者任意刪除 使用者刪除 IMAP 信件,仍保留歸檔 Piler 完美地提供以上所有機制: 2. Piler 的架構 Piler 常用元件: 元件 功能 Piler Daemon 接收所有信件並建立 metadata MySQL 儲存信件屬性(寄件人/收件人/大小/時間) Manticore Search 用於全文搜尋(支援中文需額外設定) Web(php) 提供使用者登入查詢…

Read more

Amavis + ClamAV + DKIM: The Complete Flow of Virus Scanning, Spam Filtering, and Mail Signing

Posted on 2025-11-202025-11-21 by Rico

Mail Server Series — Part 7 In the previous articles, we completed Postfix, Dovecot, SpamAssassin, and Piler installation and integration.In this part, we focus on a key security component of the entire mail pipeline: Amavis. Amavis is the central content filter that orchestrates: This part explains how Amavis integrates into your Docker-based mail server and…

Read more

Amavis + ClamAV + DKIM:郵件病毒掃描、垃圾郵件處理與郵件簽章完整流程

Posted on 2025-11-202025-11-21 by Rico

【Mail Server 系列文:第 7 篇】 在前幾篇文章中,我們已完成 Postfix、Dovecot、SpamAssassin、Piler 等重要元件。本篇將介紹 郵件安全鏈的核心中繼系統:Amavis,並整合: 本篇非常重要,因為它定義郵件的 安全流向(mail security pipeline)。 1. Amavis 的角色與架構 Amavis(A Mail Virus Scanner)是 Postfix 的內容過濾中繼,負責: 功能 說明 Anti-Virus 透過 ClamAV 掃描郵件附件與內容 Anti-Spam 呼叫 SpamAssassin 計算 spam 分數 DKIM 驗證 針對 inbound mail 驗證寄件者 DKIM DKIM 簽章 針對 outbound mail 對郵件簽章 Policy 根據 policy ID 分流不同網域的處理方式 MIME / 解壓縮…

Read more

SpamAssassin 4.0: SQL Bayes, TxRep, sa-update, Remote Learning & Full Docker Deployment Guide

Posted on 2025-11-202025-11-21 by Rico

Mail Server Series — Part 6 SpamAssassin (SA) is the core engine behind modern email anti-spam filtering.In this mail server architecture, we deploy SpamAssassin 4.0 + MySQL (Bayes + TxRep) + Amavis + Remote Learning (via Dovecot IMAPSieve) to achieve enterprise-grade spam detection accuracy. This article covers: This is a hands-on, production-ready guide based entirely…

Read more

SpamAssassin 4.0:SQL Bayes、TxRep、sa-update、自動學習與 Docker 化完整部署指南

Posted on 2025-11-202025-11-21 by Rico

【Mail Server 系列文:第 6 篇】 SpamAssassin(SA)是郵件防護中最重要的 Anti-Spam 引擎。在本系列中,我們採用 SpamAssassin 4.0 + MySQL(Bayes + TxRep)+ Amavis + Remote Learn(透過 Dovecot IMAPSieve) 的架構,使整體防垃圾信能力達到商用等級。 本篇將完整說明: 本篇內容非常實務,能夠直接運作在你的 Mail Server 架構中。 1. SpamAssassin 4.0 架構概觀 你的 SA 架構如下: SpamAssassin 不直接由 Postfix 呼叫,而是由: 如此設計: ✔ 避免 Postfix 直接卡在 content filtering✔ SA 運算壓力可獨立負載✔ MySQL Bayes/TxRep 可跨使用者共享✔ SPAM/HAM 學習可由使用者自己透過 Webmail 移動郵件完成 2. 為什麼推薦…

Read more

Dovecot: IMAP / POP3 / LMTP / SQL Authentication / SIEVE / Quota / Spam Learning

Posted on 2025-11-202025-11-21 by Rico

Mail Server Series — Part 5 In Part 4, we built a production-grade Postfix SMTP system with: In this article, we implement the other half of the mail delivery system — Dovecot, the component responsible for: Dovecot is the heart of your mail system — every email is ultimately stored and accessed through it. 🧩…

Read more

Dovecot:IMAP / POP3 / LMTP / SQL / SNI / Quota / Sieve / Spam 學習整合

Posted on 2025-11-202025-11-21 by Rico

【Mail Server 系列文:第 5 篇】 在上一章(第 4 篇)中,我們完成了 Postfix SMTP 核心: 本篇則要處理 Postfix 後端最關鍵的角色:Dovecot。 Dovecot 負責真實的信件儲存、認證、收信協定、Sieve、自動 Spam 學習等工作,是整個 Mail 系統運作品質的關鍵。 🧩 1. 本篇完成後你將擁有 ✔ IMAP(143/993)、POP3(110/995)、LMTP(24) 完整收信功能✔ Dovecot SQL 驗證(與 PostfixAdmin 資料庫整合)✔ 支援 SNI 多網域 TLS 憑證✔ 每個使用者的 mailbox quota✔ quota-warning 即時通知信✔ Sieve 過濾規則(含垃圾郵件學習)✔ IMAPSieve(使用 Roundcube 可實現「移動郵件 → 自動學習 Spam/Ham」)✔ SpamAssassin remote-learn 整合✔ 完整 Docker 化服務…

Read more

Posts pagination

  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next

Recent Posts

  • Postfix + Let’s Encrypt + BIND9 + DANE Fully Automated TLSA Update Guide
  • Postfix + Let’s Encrypt + BIND9 + DANE TLSA 指紋自動更新完整教學
  • Deploying DANE in Postfix
  • 如何在 Postfix 中部署 DANE
  • DANE: DNSSEC-Based TLS Protection

Recent Comments

  1. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on High Availability Architecture, Failover, GeoDNS, Monitoring, and Email Abuse Automation (SOAR)
  2. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on MariaDB + PostfixAdmin: The Core of Virtual Domain & Mailbox Management
  3. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Daily Operations, Monitoring, and Performance Tuning for an Enterprise Mail System
  4. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Final Chapter: Complete Troubleshooting Guide & Frequently Asked Questions (FAQ)
  5. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Network Architecture, DNS Configuration, TLS Design, and Postfix/Dovecot SNI Explained

Archives

  • December 2025
  • November 2025
  • October 2025

Categories

  • AI
  • Apache
  • Cybersecurity
  • Database
  • DNS
  • Docker
  • Fail2Ban
  • FileSystem
  • Firewall
  • Linux
  • LLM
  • Mail
  • N8N
  • OpenLdap
  • OPNsense
  • PHP
  • QoS
  • Samba
  • Switch
  • Virtualization
  • VPN
  • WordPress
© 2025 Nuface Blog | Powered by Superbs Personal Blog theme