Mail server not working with Postfix Dovecot

Petter Adsen petter at
Mon Dec 7 07:42:26 UTC 2015

On Mon, 7 Dec 2015 00:48:02 -0300
Mariano Jara Melagrani <mjaramelagrani at> wrote:

> I'm running Ubuntu Server 14.04.3
> mariano at server1:~$ cat /etc/issue
> Ubuntu 14.04.3 LTS \n \l
> I want ro run my own mail server with my own domain, so I've installed
> Postfix and Dovecot following this guide:
> I've configured Thunderbird to receive and send mails from my mail
> server using my domain (, but I'm not being
> able to receive or send mails. I've sent test mails, using Thunderbird
> and the web interface, from a Google and Hotmail accounts to my
> domain, but I'm not receiving them. Later on I've received at those
> accounts (Google and Hotmail) a Delivery Status Notification (Delay)
> message saying:
> "This is an automatically generated Delivery Status Notification
> Delivery to the following recipient has been delayed:
>      mariano at
> Message will be retried for 2 more day(s)
> Technical details of temporary failure:
> The recipient server did not accept our requests to connect. Learn
> more at
> [(10) []:25: socket error]..."
> I've checked the logs and looked the errors up on DDG but couldn't
> find a solution.
> I've got ports 25, 110, 465 and 995 open, facing the internet, so I
> doubt this is a firewall issue. I don't know if my ISP is blocking
> those ports. I've sent them a message asking about it, but I haven't
> got a response yet.

Where is this machine - is it in your home or hosted somewhere? If in
your home, that is not ideal. Many (most?) ISPs block common ports for
incoming SMTP traffic for home customers, and a lot of mail servers out
there will not accept mail from a ISP home consumer IP range. You
*will* have problems getting your mail delivered. I suspect this is
what you are doing, and that is part of why you are having problems.

Instead, find a VPS provider that will let you run a mail server on a
small virtualized server, and set up Postfix and Dovecot there. I can
recommend DigitalOcean.

There is also a problem with your configuration, if you want to receive
mail addressed to user at you will need to add to the mydestination line in /etc/postfix/
You now only have the hostname there, so only
mail addressed to user at will be accepted.


"I'm ionized"
"Are you sure?"
"I'm positive."

More information about the ubuntu-users mailing list