email not sent other server - Ubuntu Exim Nginx Vesta

Posted September 2, 2016 5.5k views

I have the Ubuntu 14.0.5 droplet (X64) and installed Vesta Panel with Ngynx by following the link:

I have problems sending emails. I created an e-mail in Vesta Panel called and other called. Emails normally receive. But there is failure when sending e-mail recipient is in another domain.

Send email to (Ok - Success)
Send email to (Not Ok - Failure)

My var/log/exim4:

2016-09-02 21:25:09 1bfvnF-0006pC-LQ [XXXXXXX] Connection timed out
2016-09-02 21:25:09 1bfvnF-0006pC-LQ == R=dnslookup T=remote_smtp defer (110): Connection timed out
sender verify defer for host lookup did not complete

The file etc/exim4/exim4.conf.template

driver = dnslookup

domains = !+local_domains

transport = remote_smtp



In Vesta Panel, the firewall is:

PORT: 25,465,587,2525

Please, I’m already there several hours trying and I’m not getting.
If you can give me step by step what I have to do.
PS: I do not have advanced knowledge in linux

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi! Can you post the output of the following command? It should check whether or not you are able to access port 25 on remote servers. SMTP is sometimes disabled by default on some accounts so I’m assuming that that’s what’s going on.

nc -vz 25

If you do not get a ‘connection successful’ message, please open a support ticket so that the team can take care of that for you!