postfix+dovecot+roundcube使用客户端给外域发送邮件提示Relay access denied

来源:互联网 发布:淘宝头条 写作 编辑:程序博客网 时间:2024/05/17 03:06

网页端可以给本域、外域发送邮件

邮件客户端只能给本域发送邮件,给外域发送邮件提示Relay access denied

vi /etc/postfix/main.cf

增加以下几行

smtpd_sasl_type = dovecot

smtpd_sasl_auth_enable = yes

smtpd_sasl_path = private/auth

smtpd_sasl_local_domain = ***.com
smtpd_sasl_authenticated_header = yes


重启postfix

/etc/init.d/postfix reload

问题解决

0 0