比例道

月に1回更新します

postfixでSMTP AUTH送信

備忘録

postfixのバージョンは2.3.3

/etc/postfix/main.cf

relayhost = [ymail.mail.plala.or.jp]:587
 smtp_sasl_auth_enable = yes
 smtp_sasl_password_maps = hash:/etc/postfix/relay_password
 smtp_sasl_security_options = noanonymous

/etc/postfix/relay_password

[ymail.mail.plala.or.jp]:587 user@ymail.plala.or.jp:password

編集した後は

postmap relay_password

を実行する.