Need advice on correct MX records?
I'm running Ubuntu 12 so I had to convert dovecot.conf format from old version 1 to 2.
All the shell tests and logs up to and including the mutt email client test indicate that email is working fine, but I can't connect to it via my desktop client, so I'm assuming I've messed up the MX records.
The above docs say about MX records "Please note that you'll need to modify the DNS records for any domains that you wish to handle email by adding an MX record that points to your mail server's fully qualified domain name."
For domain example.com, I have an A record (automatically generated) of:
Hostname: mail IP: 123.123.123.123 TTL: Default
And a single MX record of:
Mail server / FQDN: my.fqdn-example.com Preference: 10 Subdomain: mail TTL: Default
Domain name resolves correctly to website (so I know basic DNS is correct), but I can't connect to mail.example.com via my desktop email client, when using the correct username (full email address) and password.
9 Replies
Why would your email client care what your mx record points too?
MX records are ONLY used by the sending SMTP server.
What "real" info would I need to post to solicit a well-considered, respectful response?
@inteja:
What "real" info would I need to post to solicit a well-considered, respectful response?
Things that come to mind: the address of your site, the email client you're using, and the error message that your client gives you.
I'm using Thunderbird 12.0.1 on Windows 7
When I try to create an account (either POP3 or IMAP) in Thunderbird I get "Checking password …" then eventually receive the error "Configuration could not be verified - Is the username or password wrong?" (I've checked and they are correct)
When I test Dovecot (
If I test Dovecot from my Linode shell I get "+OK Dovecot ready"
But if I test Dovecot from a remote shell I get "telnet: Unable to connect to remote host: Connection refused"
So, reading the advice on that Dovecot test page "If that didn't work, check all possible firewalls in between, and check that listen setting is * in dovecot.conf. "
I guess that's where I need to look next, unless someone has a better idea …
EDIT: checked doveconf -a and "listen = *, ::" so that looks OK.
@Dweeber:
With regards to MX records… you have no MX records currently…
http://www.intodns.com/bigpicturegames.com
I'd changed the MX record according to my interpretation of the Linode email guide. I've reverted back to the default MS record setup, but still can't access email from desktop client.
I checked the logs and it looks like dovecot can't connect to the mail user authorisation database. I checked my dovecot-sql.conf and that seems to be OK.
Error in mail.err log:
Jun 21 22:42:07 localhost dovecot: auth-worker: Error: mysql(127.0.0.1): Connect failed to database (mail): Access denied for user 'mail_admin'@'localhost' (using password: YES) - waiting for 25 seconds before retry
Have double and triple checked the password, so not quite sure what's going on.
I finally got the mail server working on Ubuntu 12.04 and have documented the changes I had to make to the most recent published guide (Ubuntu 10.04) here: