Report this

What is the reason for this report?

email not sent other server - Ubuntu Exim Nginx Vesta

Posted on September 2, 2016

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

https://www.digitalocean.com/community/tutorials/how-to-install-vestacp-and-set-up-a-website-on-ubuntu-14-04

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

Example: Send email myemail@mydomain.com.br to otheremail@mydomain.com.br (Ok - Success) Send email myemail@mydomain.com.br to example@hotmail.com (Not Ok - Failure)

My var/log/exim4:

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


The file etc/exim4/exim4.conf.template […] dnslookup:

driver = dnslookup

domains = !+local_domains

transport = remote_smtp

no_more […]

The file etc/exim4/update-exim4.conf.conf

[…] dc_eximconfig_configtype=‘local’

dc_other_hostnames=‘MY HOSTNAME’

dc_local_interfaces=‘127.0.0.1 ; ::1’

dc_readhost=‘’

dc_relay_domains=‘’

dc_minimaldns=‘false’

dc_relay_nets=‘’

dc_smarthost=‘’

CFILEMODE=‘644’

dc_use_split_config=‘false’

dc_hide_mailname=‘’

dc_mailname_in_oh=‘true’

dc_localdelivery=‘mail_spool’

In Vesta Panel, the firewall is:

ACCEPT PORT: 25,465,587,2525 IP: 0.0.0.0/0 TCP


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



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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 smtp.gmail.com 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!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.