Postfix doesn't work

I’m trying to install postfix and get it working on a Ubuntu 20.04 server. I’ve followed the guide and while sending email I get following error:

refused to talk to me: (mxeue111) Nemesis ESMTP Service not available 554-No SMTP service 554-Bad DNS PTR resource record. 554 For explanation visit

I’ve followed the guide to rename the droplet which I did with but still having same issue.

How to fix it?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Hello there,

DNS changes might take some time in order to update. Can you verify that after the droplet name change you’ve restarted postfix and the error is still persisting?

Another article you might want to check is Why You May Not Want To Run Your Own Mail Server

Hope that this helps!

Hi @akguruuk,

That’s very interesting, usually, your PTR is created by the name of your Droplet. Since you’ve changed it’s name the PTR should have been updated as well. The best way to check is do a host on your Droplet’s IP address:

  1. host XXX.XXX.XXX.XXX

where XXX.XXX.XXX.XXX is your Droplet’s IP address. See if you see your domain in the output, this is where the PTR record should appear.

If this does not happen, I’ll suggest contacting DigitalOcean support so they can see if there is a reason for the PTR to not take place. You can contact them here:

Hope that helps! - KFSys.