Postfix のメモ
SMTP AUTH を利用しての送信
プロバイダのメールサーバを経由して送信したいが、SMTP AUTH を行う必要がある場合。
- main.cf
smtp_sasl_password_maps = hash:/etc/postfix/sasl/saslpass smtp_sasl_auth_enable = yes relayhost = [mail.server.of.provider] smtp_use_tls = yes
- /etc/postfix/sasl/saslpass
mail.server.of.provider username:password
