My vps cant connect to external mail servers

dutchdeveloper

Verified User
Joined
Jun 22, 2017
Messages
6
Hello,

I've installed an vps with directadmin everthing is working properly but when i try to send an mail it cant connect to an external mail server.
Everytime it receives an timeout after an certain time

My log is full with these rows an mail mailqueue is getting filled for every mail i try to send
R=lookuphost T=remote_smtp defer (110): Connection timed out

I've already search for it but the solutions that i found wasnt working.
A couple of things i tried: reboot, disable firewall, recompile exim with custombuild but none worked.

When i use the following tests on my local machine i get an response directly
openssl s_client -starttls smtp -crlf -connect smtp.gmail.com:587
telnet smtp.gmail.com 587

With open ssl i dont see anything till the timeout pops up and with telnet i get 'Trying 2a00:1450:4013:c05::6d...' and then nothing happens

The internet connection is working on my vps because i can ping to smtp.gmail.com
64 bytes from ed-in-f108.1e100.net (74.125.143.108): icmp_seq=1 ttl=46 time=4.65 ms
64 bytes from ed-in-f108.1e100.net (74.125.143.108): icmp_seq=2 ttl=46 time=4.60 ms
64 bytes from ed-in-f108.1e100.net (74.125.143.108): icmp_seq=3 ttl=46 time=4.45 ms
64 bytes from ed-in-f108.1e100.net (74.125.143.108): icmp_seq=4 ttl=46 time=4.69 ms
64 bytes from ed-in-f108.1e100.net (74.125.143.108): icmp_seq=5 ttl=46 time=4.54 ms

Do you guys got any idea how i can fix this ?

Thanks,
Danny
 
Back
Top