Hi Guys,
I was able to setup the small email infrastructure using zimbra. Zimbra is really good.
I have done followings to setup the email server:
1) I configured split dns (I think it's a split dns). We have one registered domain say "mycompany.com". We have our web and mail server hosted at ISP. I created "mycompany.com" in our LAN. I installed zimbra on a fedora 4 box with hostname "webmail". Our zone file is as follows:
ourcompany.com. IN MX 10 webmail.ourcompany.com.
webmail.ourcompany.com. IN MX 10 webmail.ourcompany.com.
localhost IN A 127.0.0.1
webmail A 192.168.1.190
2) We created a catch-all account at our ISP mail server. We configured fetchmail to fetch all the emails from catch all account and then to distribute them to respective zimbra mail boxes.
.fetchmailrc file is as follows:
poll mail.mycompany.com localdomains mycompany.com
proto pop3
no dns
user
catch_all@mycompany.com password 'password' to * here
3) To send mail we changed the "Relay MTA for external delivery" to "mail.mycompany.com". "mail.mycompany.com" is our ISP's mail server.
I used the post
Zimbra SMTP relay configuration to use the ISP's relay host to send mail. I used catch_all accounts authentication for sending mail.
I am able to send mail to other domains easily like yahoo, google, aol.
I am able to receive mails from internet.
But I have a big problem. We have couple of other important mailboxes hosted at ISP (@mycompany.com) .I am able to receive mails sent from those accounts in zimbra, but I am unable to send mail to those accounts. Mails are bounced back. I think Zimbra tries to locate the user in local zimbra mail server as it does not find the account it bounces back the mail.
Please let me know if I have to change some dns or zimbra settings for sending mails to those accounts.
Thanks!!!!!