Postfix 无法向内部域发送任何邮件

Postfix 无法向内部域发送任何邮件

浪费了太多时间,但找不到问题。Postfix 可以将任何电子邮件发送到任何地方,除了我自己的域。

我收到 550-无法路由的地址 550 发件人验证失败(回复 RCPT TO 命令)错误。


smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
# fresh installs.
compatibility_level = 2

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = mydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#myorigin = /etc/mailname
mydestination =
#relayhost = 
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = ipv4

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_tls_security_level = encrypt
header_size_limit = 4096000

relayhost =
myorigin = /etc/mailname

我向 mydestination 添加了很多东西,例如 localhost、localhost.$mydomain 和其他,但仍然一样

这是 mail.log

Jul 26 22:46:45 mydomain postfix/postfix-script[15524]: stopping the Postfix mail system
Jul 26 22:46:45 mydomain postfix/master[14952]: terminating on signal 15
Jul 26 22:46:45 mydomain postfix/postfix-script[15660]: warning: symlink leaves directory: /etc/postfix/./makedefs.out
Jul 26 22:46:45 mydomain postfix/postfix-script[15835]: starting the Postfix mail system
Jul 26 22:46:45 mydomain postfix/master[15837]: daemon started -- version 3.4.13, configuration /etc/postfix
Jul 26 22:47:03 mydomain postfix/pickup[15839]: 658DD400BC: uid=0 from=<[email protected]>
Jul 26 22:47:03 mydomain postfix/cleanup[15878]: 658DD400BC: message-id=<[email protected]>
Jul 26 22:47:03 mydomain postfix/qmgr[15840]: 658DD400BC: from=<[email protected]>, size=399, nrcpt=1 (queue active)
Jul 26 22:47:03 mydomain postfix/smtp[15883]: 658DD400BC: to=<[email protected]>, relay=lx31.hoststar.hosting[168.119.43.209]:25, delay=0.51, delays=0.14/0.13/0.19/0.05, dsn=5.0.0, status=bounced (host lx31.blabla.hosting[168.119.43.209] said: 550-Verification failed for <[email protected]> 550-Unrouteable address 550 Sender verify failed (in reply to RCPT TO command))
Jul 26 22:47:03 mydomain postfix/cleanup[15878]: CCEE1400C0: message-id=<[email protected]>
Jul 26 22:47:03 mydomain postfix/qmgr[15840]: CCEE1400C0: from=<>, size=2634, nrcpt=1 (queue active)
Jul 26 22:47:03 mydomain postfix/bounce[15885]: 658DD400BC: sender non-delivery notification: CCEE1400C0
Jul 26 22:47:03 mydomain postfix/qmgr[15840]: 658DD400BC: removed
Jul 26 22:47:04 mydomain postfix/smtp[15883]: CCEE1400C0: to=<[email protected]>, relay=lx31.hoststar.hosting[111.111.4113.209]:25, delay=1.1, delays=0/0.01/0.13/1, dsn=5.0.0, status=bounced (host lx31.blabla.hosting[111.111.11.209] said: 550 Unrouteable address (in reply to RCPT TO command))
Jul 26 22:47:04 mydomain postfix/qmgr[15840]: CCEE1400C0: removed

有什么帮助吗?

答案1

您的收件人拒绝您发送的邮件,因为无法验证发件人的电子邮件地址是否真实。

Jul 26 22:47:03 mydomain postfix/smtp[15883]: 658DD400BC: to=<[email protected]>, relay=lx31.hoststar.hosting[168.119.43.209]:25, delay=0.51, delays=0.14/0.13/0.19/0.05, dsn=5.0.0, status=bounced (host lx31.blabla.hosting[168.119.43.209] said: 550-Verification failed for <[email protected]> 550-Unrouteable address 550 Sender verify failed (in reply to RCPT TO command))

要向该收件人发送电子邮件,请使用真实的电子邮件地址作为发件人。

相关内容