Skip to content

Nuface Blog

隨意隨手記 Casual Notes

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

Blog

Postfix 3.10: Building a Modern SMTP Core with Docker, MySQL, SNI, Amavis & Milter

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

Mail Server Series — Part 4 In the previous chapters of this series, we completed: Now we move on to the heart of the mail system: Postfix. This chapter focuses on how we build a fully-featured Postfix 3.10.4 SMTP service from source code, package it into a Docker image, integrate it with MySQL, enable multi-domain…

Read more

Postfix 3.10:打造現代化 SMTP 服務核心(自建 Docker Image 完整教學)

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

【Mail Server 系列文:第 4 篇】 在本系列的前幾篇中,我們完成了: 本篇開始正式介紹整個郵件系統的「引擎」: 🚀 1. 為什麼 Postfix 需要自行編譯? 官方沒有提供 Postfix Docker image,而 apt 安裝的版本通常: 👉 因此本篇採用 Postfix 官方原始碼自行編譯出 Postfix 3.10.4,並包成 Docker image。 功能包括: ✔ MySQL maps✔ LMDB(tls_sni)✔ PCRE2✔ SASL (Cyrus)✔ TLS / SNI✔ 支援 PostfixAdmin 架構✔ 支援 Amavis(Virus + Spam 入口)✔ 支援 Piler Milter(X-Envelope-To) 🧱 2. 建立 Postfix Docker Image(Builder +…

Read more

MariaDB + PostfixAdmin: The Core of Virtual Domain & Mailbox Management

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

Mail Server Series — Part 3 In Part 2, we introduced the overall architecture and the motivation behind building a modern mail server.From this article onward, we move into the actual implementation. This third article focuses on two critical components: Together, they serve as the heart of virtual domain and mailbox management, allowing Postfix and…

Read more

MariaDB + PostfixAdmin:虛擬網域與信箱帳號管理核心

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

【Mail Server 系列文:第 3 篇】 在上一回(第 2 篇)我們完成了 架構導入動機 與 整體架構佈局 的說明。從這一篇開始,我們將逐步進入實作,本篇將介紹本郵件系統的核心管理組件: 這兩個元件負責管理: 也就是 Postfix + Dovecot 完整運作不可或缺的基礎。 🧩 一、架構角色說明 元件 作用 為什麼需要? MariaDB 儲存網域、帳號、密碼、轉寄設定 讓 Postfix / Dovecot 以「虛擬帳號」模式運作,不依賴系統帳號 PostfixAdmin 一個 PHP Web 介面,讓管理者新增/刪除帳號、重設密碼 不需要手動管理 SQL,不需登入主機即可管理 這一層建立之後,任何帳號/密碼/轉寄設定都在 Web UI 進行,安全又直覺。 🏗 二、MariaDB 容器建置 建立資料目錄: 啟動 MariaDB 容器(含每日備份): MariaDB 啟動後,建立 postfix 所需的資料表: 這兩個 SQL 檔負責建立:…

Read more

Network Architecture, DNS Configuration, TLS Design, and Postfix/Dovecot SNI Explained

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

Mail Server Series — Part 2 This article is Part 2 of the Mail Server series.In Part 1, we looked at the overall architecture and major service components.In this part, we focus on the foundational architecture required for a modern, secure, multi-domain mail server: This article provides the architectural foundation for the upcoming implementation chapters….

Read more

網路架構、DNS 設定、TLS 與 Postfix/Dovecot SNI 設計全面解析

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

【Mail Server 系列文:第 2 篇】 本篇文章是 Mail Server 系列的第二篇。在前一篇裡,我介紹了整體系統架構與服務角色。本篇將深入解釋: 這篇內容偏向架構篇,是後續實作篇(Postfix、Dovecot、Amavis、Piler、Roundcube)的基礎。 1. 系統網路架構概觀 以下是本文使用的 Mail Server 佈署架構(即你目前環境的版本): 🧩 核心概念:所有 Mail 功能都在同一個 Docker Network(intranet-net)之中 此設計的好處: ✨ Host(172.18.0.1)作為 Gateway 的價值 若 Host Firewall 規則錯誤(例如 REJECT ALL),容器之間會互相無法連線。 實務提醒:在 DOCKER-USER 加入一條允許 intranet-net 的規則非常重要 否則 Roundcube 會出現: 2. Mail Server 端口與防火牆規劃 Mail Server 涉及非常多 port,如果未先規劃好,會出現各種奇怪問題。 以下為本架構的實際使用端口: 服務 Port 用途 Postfix 25…

Read more

Building a Complete Enterprise-Grade Mail System (Overview)

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

Mail Server Series — Part 1 In most enterprise environments, a reliable, secure, and maintainable mail system is one of the most critical components of the IT infrastructure.This series will guide you through building a fully functional Docker-based mail ecosystem, covering: By the end of the series, you will have a production-ready, fully controllable email…

Read more

打造企業級郵件系統的完整指南(總綱篇)

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

【Mail Server 系列文:第 1 篇】 在大多數企業環境中,一套可靠、安全、可維運的郵件系統,是資訊基礎架構中最重要的核心服務之一。本系列文章將帶你從零開始,建構一套 完整的 Mail Server 生態系統:從郵件收發、內容過濾、防毒防垃圾信、使用者管理,到封存與全文檢索、Webmail 介面…全部使用可控、透明、可維護的 Docker-based 微服務架構。 🎯 系列目標 本系列將介紹如何建構一套具有以下特性的郵件系統: ✔ 支援多網域、虛擬使用者(MySQL)✔ Postfix + Dovecot —— 穩定又功能完整的核心✔ Amavis / ClamAV / SpamAssassin —— 垃圾信、病毒防護✔ Sieve + IMAPSieve —— 使用者層級的自動化信件規則✔ Quota + 使用者配額警告✔ Bayes + TxRep + Remote spam/ham learning✔ Piler 郵件封存 + Manticore 中文全文搜尋✔ Roundcube Webmail + Sieve 規則編輯✔…

Read more

Install Fcitx5 Cangjie Input Method on Ubuntu 24.04

Posted on 2025-11-192025-11-19 by Rico

Ubuntu 24.04 comes with fcitx5 + New Zhuyin (新酷音) as the default Chinese input method.However, if you prefer using Cangjie, you will notice it’s not available by default. To enable Cangjie input method, you must install an additional package: 👉 fcitx5-table-extra (contains Cangjie, Quick, Dayi, and many table-based IMEs) This article documents the complete steps….

Read more

Ubuntu 24.04 安裝 fcitx5 倉頡輸入法完整教學

Posted on 2025-11-192025-11-19 by Rico

在全新安裝的 Ubuntu 24.04 桌面環境中,系統預設雖然提供 fcitx5 新酷音 作為中文輸入法,但若你習慣使用 倉頡,會發現預設並沒有提供。 其實要啟用倉頡輸入法,需要額外安裝以下套件: 👉 fcitx5-table-extra(包含大量表格輸入法,包括倉頡、速成等) 下面記錄整個安裝與設定流程,方便未來查詢。 🧩 Step 1:安裝 fcitx5 及倉頡輸入法套件 Ubuntu 預設可能只有部分 fcitx5 套件,需要手動安裝: 說明: 🧩 Step 2:設定系統預設輸入法為 fcitx5 執行: 登出並重新登入。 🧩 Step 3:啟用倉頡輸入法 打開 fcitx5 設定: 或在 GUI 搜尋「Fcitx5 設定」。 ➕ 新增: 🧩 Step 4:測試輸入法 切換輸入法(預設:Ctrl + Space)輸入「中」,倉頡為:L(中) 若顯示正確候選字,即成功! 🧩 Step 5:常見問題 ❓ fcitx5 沒有啟動? 執行: ❓…

Read more

Posts pagination

  • Previous
  • 1
  • …
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • …
  • 36
  • Next

Recent Posts

  • Token/s and Concurrency:
  • Token/s 與並發:企業導入大型語言模型時,最容易被誤解的兩個指標
  • Running OpenCode AI using Docker
  • 使用 Docker 實際運行 OpenCode AI
  • Security Risks and Governance Models for AI Coding Tools

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

  • January 2026
  • December 2025
  • November 2025
  • October 2025

Categories

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