I have been fighting with this the whole day, but still couldn't understand why. Any help would be truly appreciated.
I followed every step in the Linode guide for setting up Postfix, Dovecot and Mysql on a Lucid distro. I read through the original workaround.org tutorial that the guide was based on. All the telnet tests worked without any errors. I can send emails from
sales@example.com within the telnet session to other addresses either from the linode server or external servers.
I set my FQDN, "fqdn.example.com" as the mail server in postfix. In my DNS manager, I set up 3 MX records: example.com (priority 10, which is for the email address
sales@example.com), fqdn.example.com (priority 20, to match postfix settings), and mail.example.com (priority 30, just a placeholder). All these MX records have corresponding A records, which all point to one IP address.
I also followed the articles on slicehost for iptables, and allowed accept for all the ports related to smtp, pop3 and imap.
The problem is that
1) emails sent from external servers like gmail to
sales@example.com never showed up in the sales mailbox.
2) I can't connect to the mail server with local clients like Mac Mail or Gmail. Both seem to say that connection is refused. I tried to put in each MX record and different ports, but all returned the connection refused error.
I browsed the forum and googled quite a bit, but couldn't quite figure out what the problem is exactly.
Thanks so much for any hints!
-Leo