Is the setting up of my mailserver all right?

hello, I followed this link to set up my mail server, pretty much I did every step except for the SSL certificate.

and I use this tool: to do a smtp test and the results showed for SMTP Banner Check is "Reverse DNS FAILED! This is a problem. " and the session transcript showed “451 4.3.0 Temporary lookup failure [648 ms]”, other messages seemed fine.

I also used nmap to check the open ports and found pop3, smtp, pop3s and imamps all opened, meaning the server should be up now.

Is that all? Or I still configured it wrong? I was not able to use a mail client to get to my server though?


after creating an account from a mail client, I tried to make a connection, and here is the /var/log/dovecot.log:

Jan 22 21:33:26 imap-login: Info: Disconnected (auth failed, 2 attempts in 8 secs):, method=PLAIN, rip=, lip=, TLS, session=<NwuDnEgNrwBF+Kwo> Jan 22 21:35:07 auth: Error: passwd-file: open(/etc/dovecot/dovecot-master-users-password) failed: Permission denied (euid=111(dovecot) egid=121(dovecot) missing +r perm: /etc/dovecot/dovecot-master-users-password, dir owned by 2000:121 mode=0750)

seemed that I need to chown the file…

Thanks, Jon

Show comments

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @ryanpq:

Do you have a proper reverse DNS record? The reverse DNS record for your droplet’s IP address is created automatically based on the name you give your droplet. If it is not named with a fully qualified domain or subdomain name no record will be generated.

View the original comment