I am trying to learn about mail servers and have setup one. However neither can I send, nor receive mail. I can login to my email account and I see the folders (Inbox, Sent, Trash, etc) are being populated within the email client. Also /var/log/syslog indicates that my user has successfully logged in via imap-login
When I click on the test button from Thunderbird before logging in, the test always fails with: "Thunderbird failed to find the settings for your email account" I have turned off the firewall on the server completely. My DNS records I believe are properlly set up as an MX lookup returns no errors/warnings. I have verified the mysql user specified within dovecot does have permissions over the database used for mail, the domain, alias and accounts tables have all been created. hostmaster@mydomain.abc has been imported into the accounts table.
Any ideas?
This is the guide I followed to set it up and I am as well using Debian 9. Thanks!