Thunderbird can’t connect to the mail server

dovecotemail-serverpostfixubuntu-16.04

I have a fresh Ubuntu 16.04 server and I have to create mail server on it. I followed this tutorial that uses postfix & dovecot. Now I am able to sent email from server using mail command to my personal email but Thunderbird fails to connect and configure my created email. Email related processes seems working:

tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN

It could be because of my DNS entries. I'm not expert at these concepts. If you can help me, I'll appreciate it a lot.

P.S. ufw is disabled

enter image description here

Best Answer

Your mail server should listen on port 587 (submission) for user agents. This port should require STARTTLS and Authentication before accepting a message for delivery. Thunderbird works well with this setup.

Thunderbird will try a few subdomains when it auto-configures. For the domain example.com, configure DNS for mail.example.com for the server running postfix and dovecot. (Replace example.com as required for your domain.) This should be an A record. Other names can be used such as imap.example.com, smtp.example.com and pop.example.com, but mail.example.com works for most protocols.

Related Topic