By entrepidea
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: http://mxtoolbox.com/SuperTool.aspx 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 supertool@mxtoolbox.com: 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?
update:
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): user=admin@entrepidea.com, method=PLAIN, rip=69.248.172.40, lip=104.131.223.35, 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
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!
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.
Heya,
You can use a service like https://smtpfa.st/, SendGrid, Mailgun, or Postmark, much better for deliverability anyway. They allow SMTP over API, which is a good workaround and better for performance too.
Honestly the API route is usually the better option anyway, it is more reliable deliverability and you don’t have to worry about your IP getting blacklisted.
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.