SASLの設定
Cyrus-SASLパッケージのインストール・設定
/usr/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: login plain
/etc/sysconfig/saslauthd
OSのアカウントを使用するので、pamを設定しておく。
# Directory in which to place saslauthd's listening socket, pid file, and so
# on. This directory must already exist.
SOCKETDIR=/var/run/saslauthd
# Mechanism to use when checking passwords. Run "saslauthd -v" to get a list
# of which mechanism your installation was compiled with the ablity to use.
MECH=pam
# Additional flags to pass to saslauthd on the command line. See saslauthd(8)
# for the list of accepted flags.
FLAGS=
saslauthdサービスの自動起動設定・起動
chkconfig saslauthd on
service saslauthd start
PostfixにSASLの設定を追加
/etc/postfix/main.cf
### SMTP authentication configurations.
smtpd_sasl_auth_enable=yes
smtpd_sasl_local_domain=$mydomain
smtp_sasl_security_options=noanonymous
smtpd_recipient_restrictions =
permit_sasl_authenticated
permit_mynetworks
check_relay_domains
reject
最終更新:2014年02月08日 23:42