# apt-get install postfix-tls sasl-bin libsasl-modules-plain libsasl-digestmd5-plain 繰り返しになりますが、Postfix の基本インストール・設定は終わっているのが前提です。 Postfix の main.cf の追加編集。ファイル末尾に追加すればいい。 ## for sasl (smtp-auth) config smtpd_sasl_auth_enable = yes AUTH を有効にする smtpd_sasl_local_domain = $myhostname 後述の saslpasswd で指定するドメイン名と同じにする smtpd_sasl_security_options = noanonymous anonymous ログインを禁止 smtpd_recipient_restriction