Email not working.

GregW

Verified User
Joined
Aug 6, 2019
Messages
33
Location
Australia
I am having issues with email on my Ubuntu/DA/OLS VPS. Emails are not being sent or received.

it appears to work if the recipient is on the same VPS, but if not the email is not received.

Here is an example email and log. I have modified the domain names for the below as an example of a real email send error. This one was done via Round Cube as a test to check email us working

Time
26 minutes ago
Size
612
Sender
<[email protected]>
Recipient(s)

E-mail Headers​

1xUXbs-000000000w4-49Fv-H
mail 8 8
<email@mys=website.com>
1795215696 0
-received_time_usec .988898
-received_time_complete 1795215696.999193
--helo_name server.mywebsite.com
-host_address [::1]:46486
--host_name localhost
-host_auth login
-host_auth_pubname LOGIN
-interface_address [::1]:587
-active_hostname server.mywebsite.com
-received_protocol esmtpa
-aclc _accept_recipient_if_whitelisted 1
1
-aclm _limit_reached_error 0

-body_linecount 1
-max_received_linelength 67
--auth_id [email protected]
-tls_resumption A
XX
1
[email protected]

259P Received: from localhost ([::1] helo=server.mywebsite.com)
by server.mywebsite.com with esmtpa (Exim 4.100.1)
(envelope-from <[email protected]>)
id 1xUXbs-000000000w4-49Fv
for [email protected];
Sat, 21 Nov 2026 10:01:37 +1100
018 MIME-Version: 1.0
038 Date: Sat, 21 Nov 2026 07:01:36 +0800
033F From: [email protected]
025T To: [email protected]
030 Subject: This is a test in RC
068I Message-ID: <[email protected]>
037 X-Sender: [email protected]
059 Content-Type: text/plain; charset=US-ASCII;
format=flowed
032 Content-Transfer-Encoding: 7bit

E-mail Body Chunk​

1xUXbs-000000000w4-49Fv-D
testing 123

Log​

2026-11-21 10:01:37 Received from [email protected] H=localhost (server.mywebsite.com) [::1] P=esmtpa A=login:[email protected] S=612 id=[email protected] T="This is a test in RC"
2026-11-21 10:01:37 [email protected] R=lookuphost T=remote_smtp defer: retry time not reached for any host for 'wrn.com.au'
What and where do I check, update or apply emaiil settings?

Thanks
 
remote_smtp defer: retry time not reached for any host for 'wrn.com.au'
Check your DNS and resolver settings like /etc/resolv.conf if a resolver is present and working.
Check with the nslookup command if its working.

Also be sure port 25 outgoing is open and not blocked by your service provider. But looking at the above piece of log, not being able to reach external sites seems to me dns resolving is not working.
 
What does this mean

resolvectl status

Global
Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub

Link 2 (eth0)
Current Scopes: DNS
Protocols: +DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 8.8.8.8
DNS Servers: 1.1.1.1 8.8.8.8 8.8.4.4 2606:4700:4700::1111
2606:4700:4700::1001

Port 25 is open as well
 
nslookup mynewwebsite.com

Server: 127.0.0.53
Address: 127.0.0.53#53

mynewwebsite.com canonical name = server.mynewwebsite.com.
Name: server.mynewwebsite.com
Address: 104.xxx.xxx.147

(domain and IP are altered)
 
stop using local resolved, DNS must using external server ( not same with DNS Server that handle domain resolved" ).
 
Why, more details would be helpful?

Local has worked fine on our old service, so I have no issue with local.

Cheers
 
Back
Top