Centos Postfix/dovecot中继访问被拒绝

Centos Postfix/dovecot中继访问被拒绝,centos,postfix-mta,dovecot,Centos,Postfix Mta,Dovecot,我一直在尝试设置Postfix/dovecot。我可以通过telnet smtp连接并发送电子邮件,没有任何问题 554 5.7.1:收件人地址被拒绝:访问被拒绝;from=to=proto=ESMTP直升机= postconf-n alias_database = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix da

我一直在尝试设置Postfix/dovecot。我可以通过
telnet smtp连接并发送电子邮件,没有任何问题

554 5.7.1:收件人地址被拒绝:访问被拒绝;from=to=proto=ESMTP直升机=

postconf-n

   alias_database = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debug_peer_list = 127.0.0.1
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp local_destination_recipient_limit = 300 local_destination_concurrency_limit = 5
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain
mydomain = hungrypandasupplies.com
myhostname = mail.hungrypandasupplies.com
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
recipient_delimiter = +
relay_domains = 
relayhost = mailout.serverpronto.com
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,             permit_mynetworks,                  reject_unauth_destination, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = 
smtpd_sasl_path = inet:127.0.0.1:12345
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
soft_bounce = no
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
master.cf

smtp      inet  n       -       n       -       -       smtpd
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
我知道这和Postfix有关,它不能识别我的电子邮件地址,但我不知道如何修复它

我的/etc/postfix/virtual中有这个:


support@domain.com支持

您是否尝试在电子邮件客户端程序中设置用户发送邮件?当传出服务器需要进行身份验证时会出现此错误。

中继访问被拒绝错误的唯一原因是网络配置无效。要解决此问题,只需编辑
/etc/postfix/main.cf
改变

mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 your_network_ID/CIDR" (eg.192.168.0.0/24).
现在它说“登录到server mail.domain.com失败”。我输入了该帐户的密码,但它不接受。