Report this

What is the reason for this report?

Mail server not working

Posted on June 13, 2017

Hi, I’m unable to configure mail server on my ubuntu box.

First I tried iRedmail, which I’m familiar with and I had no problem setting up in the past but this time I was unable to send the email (I was able to receive the mail just fine).

Now I’m using “Mail in a box” and still not able to send the mail.

I followed this tutorial to install “Mail in a box”.

I followed every step but it’s saying 25 port is blocked by the network but I checked on my server, the port is open

Screenshots https://ibb.co/dh4wfv https://ibb.co/kj807a

Note- The only thing I didn’t follow from the tutorial is that, my droplet name is not same as my hostname. (Droplet name- inprinters.co.uk, Hostname- box.inprinters.co.uk)



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 @inkable

When you try to send a mail, what happens? The screenshot you’ve supplied is only a small check if the server can connect to Google’s SMTP server.

So let’s have a look at the Postfix log - run this command to show the last 30 lines:

tail -30 /var/log/mail.log

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.