Configure internal zimbra server to use external server to send mails?
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Configure internal zimbra server to use external server to send mails?
Hello all,
I have got a running mail server on CentOS5.4 Final using Zimbra free edition. . Assume that domain is organization.com.local And it is running fine with users created and bugzilla running on the same machine can send mails using this server. But it can obviously send messages to the internal users.
There is this option to configure it to use external mail server to send mails outside the network but my external smtp server needs an authentication.
Is it possible to configure it this way to use my external server to send mails from internal domain to say gmail?
I guess this is what I want. Will mark this thread Solved once I am done with the settings. Will once check and then see if this is what I want. I hope the same can be implemented for relaying without user name and password for SMTP authentication. I have both ways to implement at different locations with similar setup and same Zimbra community free edition.
I am confused about the First setting where Relay host is set. The command is as follows:
Code:
zmprov ms server.domain.com zimbraMtaRelayHost external.relay.com:#
I do not understand what is the difference between server.domain.com and external.relay.com?
Is it like server.domain.com is cname? and external.relay.com is what I am going to use? Like in the example for Go Daddy it says: smtpout.secureserver.net resolves to smtp.starfieldtech.com.
So is it that in this case server.domain.com is actually smtp.starfieldtech.com and external.relay.com is smtpout.secureserver.net ?
Well, I don't use zimbra, but from what I've read, server.domain.com is your server (the one that's running zimbra) and external.relay.com is the server you want to use as a smarthost (like gmail in your case)
Well that seems fine. There is another issue I am stuck at. I need to configure getmail to use Zimbra mta to deliver the messages downloaded from the pop server. getmail is installed on the same machine as zimbra. I looked around the getmail documentation but I did not get how to configure external MTA to deliver the messages. And also I am not delivering it to some mailbox directory or anything. The mailbox is also going to be managed by zimbra itself.
Any clue on how to do this?
Well, as I told you I don't use zimbra and unfortunately neither use getmail
Anyways it looks from this that it can be done. As zimbra uses postfix as MDA, I guess you should use something like:
Well bathory, thanks for all the time you are putting up with me. I tried all that in the wiki for the external smtp configuration. But it does not work. So I looked around my zimbra server and found this in the message queue as deferred.
Code:
Host or domain name not found. Name service error for name=smtpout.where.secureserver.net type=mx; host not found try again
I checked with nslookup and I can very well resolve the names and ip addresses.
You cannot use godaddy as a smarthost, unless you're paying for it. In that case you should use the canonical name (smtpout.where.secureserver.net) and not the alias, as mentioned in the howto.
We already have an account with go daddy. So that should not be an issue. I have user name and password for my domain hosted by go daddy. Any how that issue is no more to be seen. Another issue has creped in.
Now this is error that I see.
Code:
host
smtpout.where.secureserver.net[72.167.82.80] said: 553 Sorry, that domain
isn't in my list of allowed rcpthosts. (in reply to RCPT TO command)
This is a qmail message meaning that even if your domain's MX record points to that server, the server itself (that is the qmail server) is not configured to accept mail for that domain.
Maybe you should contact godaddy and explain the situation.
What I cannot understand is why the smarthost replies with this message. I.e why it thinks it should deliver the email instead of forwarding it. Are you sure the settings in godaddy's control panel for your domain are correct?
Can you send mail to other domains, like gmail, yahoo and so on?
I can not use the forwarding to send mails to any of the domains. There was a similar issue seen on the zimbra forums without any solution. Only solution given was to configure SMTP authentication which I already have done. I have configured my zimbra to use SMTP authentication while sending emails from go daddy server using my account.
But please remember that my zimbra server is part of our internal domain and not live though I have a live and static ip address.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.