Let me preface the following questions with the knowledge that I am relatively new to Linux systems and core internet mail concepts. I have a heavy MS background and have done a few Exchange installs but that knowledge does not seem to translate well (or be applicable in many cases) in this environment. I have done quite a bit of searching for various messages I'm receiving in these forums as well as on the internet at large and am still stumped. Please accept my apologies in advance if the answers are already out there and I just didn't know what to search for.
* Unbuntu 6.10 on an AMD system, 2GB RAM, 60GB hard drive
* Latest open source Zimbra for Ubuntu
* This server is behind a firewall and has a private (10.x.x.x) address with an assigned dedicated public IP. I've opened the following incoming ports in the firewall between the public IP and the private IP: 25, 80, 110, 143, 443, 993, 995, 7071, 7110, 7143, 7993, 7995.
I followed posts on this forum and some blogs I found to ultimately get the system running. I can log into the managment console and create accounts. I can log into the accounts via the web front end as well as with IMAP. I can configure POP accounts and "receive" mail by performing the "Get POP Mail" command.
I am unable to send messages. Attempting to send a message to an external e-mail address results in a pop-up message "Message not sent;... Rejected addresses: email@example.com". If I send to a local Zimbra account the e-mail sends but shows up in the management console under the Deferred section with a reason of "connection refused". The address being resolved for sending the message is the public IP, not the 10.x.x.x address - while not optimal, I'm not sure why this would result in a refused connection even if it's making a round-trip through the firewall.
My hosts file has only 2 entries (attempts to change are instantaneously reversed, I'm not sure why):
127.0.1.1 myserver.mydomain.com myserver
Where the 2nd entry has my computer's FQDN.
I have 2 DNS resolvers in the resolv.conf file which point to my own DNS servers. They will resolve myserver.mydomain.com to the public IP. They have an MX record which points mail for anything @myserver.mydomain.com to the public IP.
In the Zimbra configuration area I have 1 Server and 1 Domain, both for myserver.mydomain.com. I have tried many different settings in the Server MTA area to no avail. I have also installed bind9 and tried setting up a local zone. I'm no expert at DNS so while these attempts failed to solve the issue it may have been my lack of understanding on how to set it up correctly.
If I understand what "split-DNS" means I don't believe it applies in this case. I want Zimbra to manage all accounts for @myserver.mydomain.com. However, there is different server which manages e-mail for @mydomain.com.
In the system logs the following messages pops up frequently:
I have read several threads discussing this but so far have not understood how to resolve it.Code:Feb 25 22:11:33 email postfix/trivial-rewrite: warning: do not list domain myserver.mydomain.com in BOTH mydestination and virtual_mailbox_domains
Ideally I would like the system to to resolve it's own FDQN to the internal IP and perform DNS lookups for everything else. I'm not sure if I just have DNS screwed up, settings in Zimbra, or both. Any help on MTA, DNS, and server config file settings would be greatly appreciated. If there's any other information I can provide please let me know.