Webmail outgoing message to gmail error

hangul

Registered
Dec 4, 2018
4
0
1
Myanmar
cPanel Access Level
Root Administrator
Hello.

I buy vps install whm and buy cpanel license. After installing whm all are work. but the webmail to gmail is not work. gmail to webmail is ok. also webmail to webmail is work.

I think my problem is outgoing message to gmail. What i am wrong. Can you guide me the right configuration method.

My host name is server.example.com
[Removed - Please upload images directly to the thread as attachments]

My
 

Shood

Well-Known Member
Aug 12, 2015
82
16
133
Middle East
cPanel Access Level
Root Administrator
Hello @hangul
If your email doesn't deliver to Gmail so may also doesn't deliver to many others like: Hotmail, Yahoo...etc
If so, you have to make sure that you have a valid PTR, SPF or DKIM, this Documentation may help you.

Also you can always take a look at exim log to find the reason, for sample:
If you send an email from [[email protected]] to [[email protected]] run this:
Code:
exigrep yourmail /var/log/exim_mainlog
Only replace yourmail in this code with your actual or gmail address
 
  • Like
Reactions: hangul

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
As noted by @Shood checking the exim logs or even the mail delivery report from within cPanel would be helpful to know specifically why the email is not being able to be sent.

Thanks!
 

hangul

Registered
Dec 4, 2018
4
0
1
Myanmar
cPanel Access Level
Root Administrator
I found this message.

Code:
[[email protected] ~]# exigrep [email protected] /var/log/exim_mainlog
2018-12-07 05:59:12 1gV9AO-0001Nq-9O <= [email protected] H=(localhost.localdomain) [127.0.0.1]:46106 P                               =esmtp S=50669 [email protected] T="[example.com] Email configurat                               ion settings for \342\200\[email protected]\342\200\235." for [email protected]
2018-12-07 05:59:12 1gV9AO-0001Nq-9O => test <[email protected]> R=virtual_user T=dovecot_virtual_deliver                               y C="250 2.0.0 <[email protected]> +NUbFjAMClzPFAAA1FIQxA Saved"
2018-12-07 05:59:12 1gV9AO-0001Nq-9O Completed

+++ 1gV9Bm-0001Pn-Hg has not completed +++
2018-12-07 06:00:38 1gV9Bm-0001Pn-Hg <= [email protected] H=(cpanel20621598.vultr.com) [::1]:57852 P=esmt                               pa A=dovecot_login:[email protected] S=608 [email protected] T="Hello" f                               or [email protected]
2018-12-07 06:00:38 1gV9Bm-0001Pn-Hg Sender identification U=cPusr D=example.com [email protected]                               com
2018-12-07 06:00:38 1gV9Bm-0001Pn-Hg SMTP connection outbound 1544162438 1gV9Bm-0001Pn-Hg example.com cy                               [email protected]
2018-12-07 06:02:45 1gV9Bm-0001Pn-Hg H=gmail-smtp-in.l.google.com [74.125.24.26] Connection timed out
2018-12-07 06:04:53 1gV9Bm-0001Pn-Hg H=alt1.gmail-smtp-in.l.google.com [74.125.195.27] Connection timed out
2018-12-07 06:07:00 1gV9Bm-0001Pn-Hg H=alt2.gmail-smtp-in.l.google.com [64.233.179.26] Connection timed out
2018-12-07 06:09:07 1gV9Bm-0001Pn-Hg H=alt3.gmail-smtp-in.l.google.com [74.125.129.27] Connection timed out
2018-12-07 06:11:15 1gV9Bm-0001Pn-Hg H=alt4.gmail-smtp-in.l.google.com [74.125.138.27] Connection timed out
2018-12-07 06:11:15 1gV9Bm-0001Pn-Hg == [email protected] R=dkim_lookuphost T=dkim_remote_smtp defer (110                               ): Connection timed out
2018-12-07 06:18:29 1gV9Bm-0001Pn-Hg Sender identification U=cPusr D=example.com [email protected]                               com
2018-12-07 06:18:29 1gV9Bm-0001Pn-Hg == [email protected] R=dkim_lookuphost T=dkim_remote_smtp defer (-53                               ): retry time not reached for any host for 'gmail.com'
2018-12-07 06:35:32 1gV9Bm-0001Pn-Hg Sender identification U=cPusr D=example.com [email protected]                               com
2018-12-07 06:37:40 1gV9Bm-0001Pn-Hg H=gmail-smtp-in.l.google.com [172.217.194.26] Connection timed out
2018-12-07 06:39:47 1gV9Bm-0001Pn-Hg H=alt1.gmail-smtp-in.l.google.com [74.125.195.27] Connection timed out
2018-12-07 06:41:54 1gV9Bm-0001Pn-Hg H=alt2.gmail-smtp-in.l.google.com [64.233.179.26] Connection timed out
2018-12-07 06:44:01 1gV9Bm-0001Pn-Hg H=alt3.gmail-smtp-in.l.google.com [74.125.129.27] Connection timed out
2018-12-07 06:46:09 1gV9Bm-0001Pn-Hg H=alt4.gmail-smtp-in.l.google.com [74.125.138.27] Connection timed out
:
2018-12-07 05:59:12 1gV9AO-0001Nq-9O <= [email protected] H=(localhost.localdomain) [127.0.0.1]:46106 P=esmtp S=50669 [email protected] T="[example.com] Email configuration settings for \342\200\[email protected]\342\200\235." for [email protected]
2018-12-07 05:59:12 1gV9AO-0001Nq-9O => test <[email protected]> R=virtual_user T=dovecot_virtual_delivery C="250 2.0.0 <[email protected]> +NUbFjAMClzPFAAA1FIQxA Saved"
2018-12-07 05:59:12 1gV9AO-0001Nq-9O Completed

+++ 1gV9Bm-0001Pn-Hg has not completed +++
2018-12-07 06:00:38 1gV9Bm-0001Pn-Hg <= [email protected] H=(cpanel20621598.vultr.com) [::1]:57852 P=esmtpa A=dovecot_login:[email protected] S=608 [email protected] T="Hello" for [email protected]
2018-12-07 06:00:38 1gV9Bm-0001Pn-Hg Sender identification U=cPusr D=example.com [email protected]
2018-12-07 06:00:38 1gV9Bm-0001Pn-Hg SMTP connection outbound 1544162438 1gV9Bm-0001Pn-Hg example.com [email protected]
2018-12-07 06:02:45 1gV9Bm-0001Pn-Hg H=gmail-smtp-in.l.google.com [74.125.24.26] Connection timed out
2018-12-07 06:04:53 1gV9Bm-0001Pn-Hg H=alt1.gmail-smtp-in.l.google.com [74.125.195.27] Connection timed out
2018-12-07 06:07:00 1gV9Bm-0001Pn-Hg H=alt2.gmail-smtp-in.l.google.com [64.233.179.26] Connection timed out
2018-12-07 06:09:07 1gV9Bm-0001Pn-Hg H=alt3.gmail-smtp-in.l.google.com [74.125.129.27] Connection timed out
2018-12-07 06:11:15 1gV9Bm-0001Pn-Hg H=alt4.gmail-smtp-in.l.google.com [74.125.138.27] Connection timed out
2018-12-07 06:11:15 1gV9Bm-0001Pn-Hg == [email protected] R=dkim_lookuphost T=dkim_remote_smtp defer (110): Connection timed out
2018-12-07 06:18:29 1gV9Bm-0001Pn-Hg Sender identification U=cPusr D=example.com [email protected]ample.com
2018-12-07 06:18:29 1gV9Bm-0001Pn-Hg == [email protected] R=dkim_lookuphost T=dkim_remote_smtp defer (-53): retry time not reached for any host for 'gmail.com'
2018-12-07 06:35:32 1gV9Bm-0001Pn-Hg Sender identification U=cPusr D=example.com [email protected]
2018-12-07 06:37:40 1gV9Bm-0001Pn-Hg H=gmail-smtp-in.l.google.com [172.217.194.26] Connection timed out
2018-12-07 06:39:47 1gV9Bm-0001Pn-Hg H=alt1.gmail-smtp-in.l.google.com [74.125.195.27] Connection timed out
2018-12-07 06:41:54 1gV9Bm-0001Pn-Hg H=alt2.gmail-smtp-in.l.google.com [64.233.179.26] Connection timed out
2018-12-07 06:44:01 1gV9Bm-0001Pn-Hg H=alt3.gmail-smtp-in.l.google.com [74.125.129.27] Connection timed out
2018-12-07 06:46:09 1gV9Bm-0001Pn-Hg H=alt4.gmail-smtp-in.l.google.com [74.125.138.27] Connection timed out
2018-12-07 06:46:09 1gV9Bm-0001Pn-Hg == [email protected] R=dkim_lookuphost T=dkim_remote_smtp defer (110): Connection timed out
My Domain DNS
- Removed -

What i need to fix it?
Thanks.
 

Attachments

Last edited by a moderator:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Hi @hangul

After taking a look at the DNS records for the domain name provided in the screenshot I found that the PTR record associated with the domain's IP does not properly resolve. This would result in many email service providers blocking your mail including gmail.


Thanks!
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston