Unable to receive emails from GMAIL

My Ip is not blocked any where; But I could not recived Gmail.

But my exim4 logs say this as under:
by using this Commond : tail /var/log/exim4/mainlog
(Result as under):
2024-06-10 07:11:56 1sGDAt-000GKR-I3 Message is frozen
2024-06-10 07:11:56 1sFwnB-0000W7-Rw Message is frozen
2024-06-10 07:11:56 1sFwlT-000Ds8-1n Message is frozen
2024-06-10 07:11:56 End queue run: pid=211628
2024-06-10 07:14:12 H=mail-qt1-f179.google.com [209.85.160.179] X=TLS1.3:ECDHE_S ECP256R1__RSA_PSS_RSAE_SHA256__AES_128_GCM:128 CV=no SNI=mail.hcp.##########.com F=######@gmail.com rejected RCPT <a##in@hcp.#######.com>: Rejected beca use 209.85.160.179 is in a black list at zen.spamhaus.org
2024-06-10 07:41:56 Start queue run: pid=223970
2024-06-10 07:41:56 1sGDAt-000GKR-I3 Message is frozen
2024-06-10 07:41:56 1sFwnB-0000W7-Rw Message is frozen
2024-06-10 07:41:56 1sFwlT-000Ds8-1n Message is frozen
2024-06-10 07:41:56 End queue run: pid=223970"


See also this:
And spamhuse blocklist tester is saying this as in this pic as under:


I don’t know, what is the issue and why?

Kindly provide support.

The issue is that you are using a public dns resolver like 1.1.1.1, 9.9.9.9, etc. and that public dns resolver is not allowed by spamhaus. Use your own dns resolver, use a public dns resolver not blocked yet by Spamhaus like 76.76.2.0 from ControlD or follow these instructions to create a free data query Spamhaus account.

Sir, Thanks for your support & guides…

Here is some updates like after exim4 configured through your provided guide, The results are as under in these screenshots:

But gmails are not receiving yet…

DQS verification Test’s results is here as under in this screenshot:

But gmails are not receiving yet.

One more data from exim4 logs is as under:

root@hcp:~# tail /var/log/exim4/mainlog
2024-06-10 15:03:06 1sGbOi-0019pC-9o H=gmail-smtp-in.l.google.com [64.233.170.27                                                ] TLS error on connection (recv): The specified session has been invalidated for                                                 some reason.
2024-06-10 15:03:08 1sGbOi-0019pC-9o H=alt1.gmail-smtp-in.l.google.com [173.194.                                                202.26]: SMTP error from remote mail server after pipelined end of data: 421-4.7                                                .23 [##########] The IP address sending this message does not have a PTR\n421-4                                                .7.23 record, or the corresponding forward DNS entry does not match the\n421-4.7                                                .23 sending IP. To protect our users from spam, mail has been\n421-4.7.23 tempor                                                arily rate limited. To learn more about IP address requirement\n421-4.7.23 s for                                                 sending to Gmail, visit\n421-4.7.23  https://support.google.com/a?p=sender-guid                                                elines-ip\n421-4.7.23 To learn more about Gmail requirements for bulk senders, v                                                isit\n421 4.7.23  https://support.google.com/a?p=sender-guidelines. 98e67ed59e1d                                                1-2c2d0e296ecsi3587832a91.6 - gsmtp
2024-06-10 15:03:08 1sGbOi-0019pC-9o H=alt1.gmail-smtp-in.l.google.com [173.194.                                                202.26] TLS error on connection (recv): The TLS connection was non-properly term                                                inated.
2024-06-10 15:03:08 1sGbOi-0019pC-9o H=alt1.gmail-smtp-in.l.google.com [173.194.                                                202.26] TLS error on connection (recv): The specified session has been invalidat                                                ed for some reason.
2024-06-10 15:03:10 1sGbOi-0019pC-9o H=alt2.gmail-smtp-in.l.google.com [142.250.                                                141.26]: SMTP error from remote mail server after pipelined end of data: 421-4.7                                                .23 [##########] The IP address sending this message does not have a PTR\n421-4                                                .7.23 record, or the corresponding forward DNS entry does not match the\n421-4.7                                                .23 sending IP. To protect our users from spam, mail has been\n421-4.7.23 tempor                                                arily rate limited. To learn more about IP address requirement\n421-4.7.23 s for                                                 sending to Gmail, visit\n421-4.7.23  https://support.google.com/a?p=sender-guid                                                elines-ip\n421-4.7.23 To learn more about Gmail requirements for bulk senders, v                                                isit\n421 4.7.23  https://support.google.com/a?p=sender-guidelines. d9443c01a733                                                6-1f719b65027si9580415ad.23 - gsmtp
2024-06-10 15:03:10 1sGbOi-0019pC-9o H=alt2.gmail-smtp-in.l.google.com [142.250.                                                141.26] TLS error on connection (recv): The TLS connection was non-properly term                                                inated.
2024-06-10 15:03:10 1sGbOi-0019pC-9o H=alt2.gmail-smtp-in.l.google.com [142.250.                                                141.26] TLS error on connection (recv): The specified session has been invalidat                                                ed for some reason.
2024-06-10 15:03:12 1sGbOi-0019pC-9o H=alt3.gmail-smtp-in.l.google.com [142.250.                                                115.26] TLS error on connection (recv): The TLS connection was non-properly term                                                inated.
2024-06-10 15:03:12 1sGbOi-0019pC-9o => d#########@gmail.com <a####n@hcp.#########.com> R=dnslookup T=remote_forwarded_smtp H=alt3.gmail-smtp-in.l.google.com [1                                                42.250.115.26] X=TLS1.3:ECDHE_X25519__ECDSA_SECP256R1_SHA256__AES_256_GCM:256 CV                                                =yes K C="250 2.0.0 OK 46e09a7af769-6f95d2e63c7si2070891a34.152 - gsmtp"
2024-06-10 15:03:12 1sGbOi-0019pC-9o Completed

Kindly support, Thanks in advance

Could you please show the log for a new mail sent by gmail?

Those messages say that as you have not configured a PTR record for your server’s ip, gmail is rate limiting the avality to send mails to gmail from your mail server but the mail was finally sent.

Big Thanks for your support Boss!,

this is resolved after rebooting server.

Thanks