Home > OS >  CentOS7.2, Postfix Dovecot environment, can send mail, but can't receive
CentOS7.2, Postfix Dovecot environment, can send mail, but can't receive

Time:09-19

1, the domain name is registered in nets and parse, as follows:


2, use a laptop NSLOOKUP commands can be seen as follows:
C:\Users\Administrator> Nslookup www.hjk-mail.xyz
Server: UnKnown
Address: 192.168.1.1

The authoritative answer:
Name: www.hjk-mail.xyz
Address: 114.115.211.195


C:\Users\Administrator> Nslookup mail. HJK E-mail. Xyz
Server: UnKnown
Address: 192.168.1.1

The authoritative answer:
Name: mail. HJK E-mail. Xyz
Address: 114.115.211.195

3, the Postfix configuration is as follows:
The main. Cf file:
Myhostname=mail. HJK E-mail. Xyz
The mydomain=HJK E-mail. Xyz
Myorigin=$mydomain
Inet_interfaces=all
Inet_interfaces=localhost
Inet_protocols=ipv4
Local_recipient_maps=
Mynetworks=168.100.189.0/28, 127.0.0.0/8
Mynetworks=hash:/etc/postfix network_table
Smtpd_sasl_type=dovecot
Smtpd_sasl_ [ath=private/auth

Smtpd_sasl_auth_enable=yes
Broken_sasl_auth_clients=yes
Smtpd_sasl_local_domain=$myhostname
Smtpd_sasl_security_options=noanonymous
Smtpd_recipient_restrictions=permit_mynetworks permit_sasl_authenticated, reject_unauth_destination
Smtpd_sasl_security_restrictions=permit_mynetworks permit_sasl_authenticated, reject_unauth_destination
Message_size_limit=15728640

4, dovecot configuration
Dovecot. Conf file:
Separate protocols=imap pop3 LMTP
Listen=* : :
Disable_plaintext_auth=no
SSL=no

10 - auth. Conf file:
Disable_plaintext_auth=no
! The include auth - system. Conf. Ext
! The include auth - SQL. Conf. Ext


Is now the situation is to be able to send mail, but in other mail to send mail to this mail will be returned to the
Return reason: unable to establish Connection with the recipient ([email protected]) where the service provider, the recipient domain may not exist (connet to mail. HJK E-mail. Xyz/114.116.211.195: Connection timed out (25) port:)

CodePudding user response:

Solve the building Lord, my side also encounter this problem,

CodePudding user response:

I have not received the mail is, I know it's dovecot delivery problem, but don't know where I went wrong, for several days
  • Related