网页端可以给本域、外域发送邮件
邮件客户端只能给本域发送邮件,给外域发送邮件提示Relay access denied
vi /etc/postfix/main.cf
增加以下几行
smtpd_sasl_type = dovecot
smtpd_sasl_auth_enable = yessmtpd_sasl_path = private/auth
smtpd_sasl_local_domain = ***.com
smtpd_sasl_authenticated_header = yes
重启postfix
/etc/init.d/postfix reload
问题解决