Mail server not working with Postfix Dovecot
Petter Adsen
petter at synth.no
Mon Dec 7 07:42:26 UTC 2015
On Mon, 7 Dec 2015 00:48:02 -0300
Mariano Jara Melagrani <mjaramelagrani at gmail.com> 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:
>
> https://help.ubuntu.com/lts/serverguide/serverguide.pdf
>
> I've configured Thunderbird to receive and send mails from my mail
> server using my domain (mail.jaramelagrani.com.ar), 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
>
> THIS IS A WARNING MESSAGE ONLY.
>
> YOU DO NOT NEED TO RESEND YOUR MESSAGE.
>
> Delivery to the following recipient has been delayed:
>
> mariano at jaramelagrani.com.ar
>
> 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 https://support.google.com/mail/answer/7720
> [(10) mail.jaramelagrani.com.ar. [181.230.43.12]: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 jaramelagrani.com.ar you will need to add
jaramelagrani.com.ar to the mydestination line in /etc/postfix/main.cf.
You now only have the hostname mail.jaramelagrani.com.ar there, so only
mail addressed to user at mail.jaramelagrani.com.ar will be accepted.
Petter
--
"I'm ionized"
"Are you sure?"
"I'm positive."
More information about the ubuntu-users
mailing list