# ホスト名(fqdn)を指定 mxレコードに設定したvalue myhostname = mx.example.com # メールで使用するドメイン名 mydomain = test.com myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain # ローカルネットワークを設定 mynetworks_style = host # Maildir形式を指定 home_mailbox = Maildir/ # メールサーバのソフト名・バージョンを隠蔽化 smtpd_banner = $myhostname ESMTP unknown # SMTP-Authの設定を下部に追加しておきます smtpd_sasl_type =
![CentOS7 PostfixとDovecotを使ってメールサーバを構築する手順](https://cdn-ak-scissors.b.st-hatena.com/image/square/60a696bbe76b6371318ef28ca5b9c792e0b08f3d/height=288;version=1;width=512/https%3A%2F%2Fmebee.info%2Fwp-content%2Fuploads%2F2020%2F05%2Fpostfix.png)