外寄郵件設定
GoDaddy SMTP
main.cf:
# for Godaddy SMTP with Office 365
relayhost = [smtp.office365.com]:587
smtp_sasl_auth_enable=yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd_godaddy
smtp_sasl_type = cyrus
#smtp_sasl_mechanishm_filter=digest-md5
#smtp_use_tls = yes
smtp_sasl_security_options = noanonymous
建立密碼檔 saslpasswd_godaddy,內容格式如下:
smtpout.secureserver.netsmtp.office365.com your@domain.name:thisispass