[root@ns1 ~]# vi /usr/local/etc/postfix/main.cf
#relayhost = [an.ip.add.ress]
↓
relayhost = [プロバイダのSMTPサーバー]:587 ←コメント解除&変更
↓最終行に下記を記入
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/usr/local/etc/postfix/ispauth
smtp_sasl_security_options = noanonymous
smtp_sasl_mechanism_filter = login, plain
[root@ns1 ~]# vi /usr/local/etc/postfix/ispauth
↓下記を記入
[プロバイダのSMTPサーバー]:587 プロバイダのユーザーID:プロバイダのパスワード
[root@ns1 ~]# chmod 640 /usr/local/etc/postfix/ispauth
[root@ns1 ~]# postmap /usr/local/etc/postfix/ispauth
[root@ns1 ~]# /usr/local/etc/rc.d/postfix restart
※黄色い部分は環境に合わせて変更してください。