📨 Postfix + Dovecot メールサーバー構築 & Thunderbird 動作確認手順(Ubuntu 22.04)
🧱 構成概要
| 項目 | 内容 |
|---|---|
| OS | RockyLinux 9 |
| MTA | Postfix(SMTP) |
| MDA | Dovecot(IMAP) |
| クライアント | Thunderbird(Windows) |
| ドメイン | test.local(ローカル用) |
| ユーザー | testuser |
1️⃣ パッケージのインストール
sudo apt update
sudo apt install postfix dovecot-core dovecot-imapd mailutils -y
Postfixの設定
sudo postconf -e "myhostname = mailserver.test.local"
sudo postconf -e "mydomain = test.local"
sudo postconf -e "mydestination = mailserver.test.local, localhost, test.local"
sudo postconf -e "mynetworks = 127.0.0.0/8, 192.168.1.0/24"
sudo postconf -e "home_mailbox = Maildir/"
sudo postconf -e "smtpd_tls_security_level = may"