Can receive but cannot send server-wide
I am starting a local web-services business benefiting non-profit and small business and the only thing holding me back from taking on more clients is my server, I have a temporary fix at this current time using a dedicated mail server. However, ever since I installed cPanel on my Google Cloud Platform VPC, I have been receiving the error below for all sent emails, on all domains for all accounts.
Okay, did some googling and it suggested that account quota was reached. Nope only using 1kb of 1GB. Another website suggested I modify my DKIM record for my domain, however everything looked in order and matched the tutorials and guides. I didn't want to modify the record and as I am afraid that incoming mail might stop coming. I thought it might be my network firewall so I opened all ports in and out, and tried sending test emails to different addresses i.e. Gmail, Outlook, Yahoo etc. Nope, no luck. Alright, test internal mail exchanger between 2 different domains, yep that's all good, both sending and receiving. I have searched forums and googled for 3 weeks now and cannot resolve my problem. Is there something I've missed, any troubleshooting tools i should be using? Hopefully you guys can help me resolve this. Thanks
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
***hidden***@outlook.com
retry timeout exceededReturn-path:
Received: from [::1] (port=44812 helo=whm1)
by whm1.c.ausnet-199911.internal with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.89_1)
(envelope-from )
id 1f8LPe-0000R1-JV
for HIDDEN@outlook.com; Tue, 17 Apr 2018 17:52:26 +1000
Received: from hidden.nb06.nsw.asp.telstra.net
(hidden.nb06.nsw.asp.telstra.net [11.111.111.111]) by
webmail.example.com.au (Horde Framework) with HTTPS; Tue, 17 Apr
2018 17:52:26 +1000
Date: Tue, 17 Apr 2018 17:52:26 +1000
Message-ID: <20180417175226.Horde.I3jQvIYwPQRFdzqCdcgqSsh@webmail.example.com.au>
From: a@example.com.au
To: HIDDEN@outlook.com
Subject: Test
User-Agent: Horde Application Framework 5
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
MIME-Version: 1.0
Content-Disposition: inline
TestOkay, did some googling and it suggested that account quota was reached. Nope only using 1kb of 1GB. Another website suggested I modify my DKIM record for my domain, however everything looked in order and matched the tutorials and guides. I didn't want to modify the record and as I am afraid that incoming mail might stop coming. I thought it might be my network firewall so I opened all ports in and out, and tried sending test emails to different addresses i.e. Gmail, Outlook, Yahoo etc. Nope, no luck. Alright, test internal mail exchanger between 2 different domains, yep that's all good, both sending and receiving. I have searched forums and googled for 3 weeks now and cannot resolve my problem. Is there something I've missed, any troubleshooting tools i should be using? Hopefully you guys can help me resolve this. Thanks
-
Output of /var/log/exim_mainlog 2018-04-17 20:04:33 1f8NTV-00019M-VF <= a@example.com.au H=(whm1) [::1]:38062 P=esmtpsa X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no A=dovecot_plain:a@example.com.au S=872 id=20180417200433.Horde.1WJCk4btl3SqBLt0N2qdFLW@webmail.example.com.au T="AAAA" for hidden@outlook.com 2018-04-17 20:04:34 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1f8NTV-00019M-VF 2018-04-17 20:04:34 1f8NTV-00019M-VF Sender identification U=example D=example.com.au S=a@example.com.au 2018-04-17 20:04:34 1f8NTV-00019M-VF SMTP connection outbound 1523959474 1f8NTV-00019M-VF example.com.au hidden@outlook.com 2018-04-17 20:04:34 SMTP connection from (whm1) [::1]:38062 closed by QUIT 2018-04-17 20:05:05 cwd=/ 2 args: /usr/sbin/exim -bpu 2018-04-17 20:05:37 1f8NTV-00019M-VF H=outlook-com.olc.protection.outlook.com [104.47.45.33] Connection timed out 2018-04-17 20:06:40 1f8NTV-00019M-VF H=outlook-com.olc.protection.outlook.com [104.47.46.33] Connection timed out 2018-04-17 20:06:40 1f8NTV-00019M-VF == hidden@outlook.com R=dkim_lookuphost T=dkim_remote_smtp defer (110): Connection timed out 2018-04-17 20:06:40 1f8NTV-00019M-VF ** hidden@outlook.com: retry timeout exceeded 2018-04-17 20:06:40 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1f8NTV-00019M-VF 2018-04-17 20:06:40 1f8NVY-0001HS-2s <= <> R=1f8NTV-00019M-VF U=mailnull P=local S=2168 T="Mail delivery failed: returning message to sender" for a@example.com.au 2018-04-17 20:06:40 1f8NTV-00019M-VF Completed 2018-04-17 20:06:40 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1f8NVY-0001HS-2s 2018-04-17 20:06:40 1f8NVY-0001HS-2s => a R=virtual_user T=dovecot_virtual_delivery C="250 2.0.0 4JPCCjDH1VpEEwAA0sVuQg Saved" 2018-04-17 20:06:40 1f8NVY-0001HS-2s Completed 2018-04-17 20:07:43 SMTP connection from [127.0.0.1]:40508 (TCP/IP connection count = 1) 2018-04-17 20:07:45 SMTP connection from [127.0.0.1]:40508 closed by QUIT 2018-04-17 20:07:45 SMTP connection from [127.0.0.1]:56080 (TCP/IP connection count = 1) 2018-04-17 20:07:45 SMTP connection from (localhost) [127.0.0.1]:56080 closed by QUIT0 -
Hello, Based on the exim mail log output you provided it looks like your server is not able to connect to outlook.com: 2018-04-17 20:05:37 1f8NTV-00019M-VF H=outlook-com.olc.protection.outlook.com [104.47.45.33] Connection timed out 2018-04-17 20:06:40 1f8NTV-00019M-VF H=outlook-com.olc.protection.outlook.com [104.47.46.33] Connection timed out
On the server's CLI what do you get when running the host command for the outlook server? The output should be something like the following:# host outlook-com.olc.protection.outlook.com outlook-com.olc.protection.outlook.com has address 104.47.41.33 outlook-com.olc.protection.outlook.com has address 104.47.40.330 -
Hi Lauren, Here's the command output. $ host outlook-com.olc.protection.outlook.com outlook-com.olc.protection.outlook.com has address 104.47.44.33 outlook-com.olc.protection.outlook.com has address 104.47.46.330 -
Hello, @Niall - Austral Connect That means you can connect to it, which is good. Does your domain have a valid PTR and SPF? I know you mentioned that you modified your DKIM already. To check the SPF and PTR: SPF: dig txt domain.tld +short
Ultimately you'd want to see something like this:# dig txt domain.tld +short "v=spf1 +a +mx +ip4: ~all"
PTR:host
What you'd want to see here is that the server's IP address resolves to an IP. For example we can look at google's mx records: Get the IP address:# dig a alt2.gmail-smtp-in.l.google.com +short 74.125.141.27
look for the rDNS:# host 74.125.141.26 26.141.125.74.in-addr.arpa domain name pointer vl-in-f26.1e100.net.
Thank you,0 -
Do you charge for ticket support? Also do you think it would be worthwhile creating a ticket and granting support access to resolve this? 0 -
Thank you for that output - may I ask are you using google for something that requires your ptr to resolve to: 22.222.222.22.in-addr.arpa domain name pointer 22.222.222.22.bc.googleusercontent.com.
Thank you,0 -
Hi @Niall - Austral Connect We do not charge for support tickets please feel free to open a ticket using the link in my signature, though I do believe the issue may be related to the PTR one of our analysts should be able to tell you the definite cause after being able to access the server. Thank you, 0 -
The only thing I have running on Google Cloud Console is my cPanel Server and the default VPC network that the server is attached to. 0 -
That makes sense you're using Google Cloud, which would explain the PTR. They provide instructions on how to update PTR records on their platform: Creating a PTR Record for a VM Instance "|" Compute Engine Documentation "|" Google Cloud I would suggest updating yours to resolve back to the hostname of the server for all IP's being used to send mail. Thank you, 0
Please sign in to leave a comment.
Comments
10 comments