- 论坛徽章:
- 1
|
请问:如何解决 Helo command rejected: need fully-qualified hostname 异常?
日志:
Aug 6 17:02:39 test postfix/smtpd[6233]: connect from unknown[183.17.46.74]
Aug 6 17:02:39 test postfix/trivial-rewrite[6236]: warning: do not list domain test.com.cn in BOTH mydestination and virtual_mailbox_domains
Aug 6 17:02:39 test postfix/smtpd[6233]: NOQUEUE: reject: RCPT from unknown[183.17.46.74]: 504 5.5.2 <EMC-IT-03>: Helo command rejected: need fully-qualified hostname; from=<dgchen@test.com.cn> to=<degui.chen@qq.com> proto=ESMTP helo=<EMC-IT-03>
Aug 6 17:02:51 test postfix/smtpd[6233]: lost connection after RCPT from unknown[183.17.46.74]
main.cf:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
default_process_limit = 100
home_mailbox = maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/conf.d/01-dovecot-postfix.conf -n -m "${EXTENSION}"
mailbox_size_limit = 0
message_size_limit = 512000000
mydestination = test.com.cn localhost.test.com.cn mail.test.com.cn localhost
mydomain = test.com.cn
myhostname = test.com.cn
mynetworks = 58.64.111.0/28, 127.0.0.0/8
myorigin = /etc/mailname
readme_directory = no
receive_override_options = no_address_mappings
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:/smtp_scache
smtp_use_tls = no
smtpd_banner = ESTWORD (MAIL-CENTER)
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_invalid_hostname,reject_non_fqdn_hostname,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_pipelining,reject_unauth_destination,permit
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_unknown_sender_domain
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_received_header = yes
smtpd_tls_security_level = none
smtpd_tls_session_cache_database = btree:/smtpd_scache
smtpd_use_tls = no
tls_random_source = dev:/dev/urandom
virtual_alias_maps = mysql:/etc/postfix/mysql/virtual_alias_maps.cf
virtual_gid_maps = static:9526
virtual_mailbox_base = /home/mailv
virtual_mailbox_domains = mysql:/etc/postfix/mysql/virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf
virtual_transport = dovecot
virtual_uid_maps = static:9526 |
|