email not sent other server - Ubuntu Exim Nginx Vesta

September 2, 2016 226 views
Nginx DNS Email Ubuntu

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

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!

Have another answer? Share your knowledge.