Postfixの設定

SMTP-AUTH

cyrusをインストールする

# apt-get install cyrus-common

/etc/postfix/main.cfにsaslの設定を追加してpostfixを再起動する

smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
mynetworks = 192.168.11.0/24, 127.0.0.0/8
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, che
ck_relay_domains,reject