Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-21-2011, 01:25 PM
Loyal Member
 
Posts: 94
Default relaying email to a second server in Zimbra 7.0.1

Hi, i just installed Zimbra Open Source 7.1, all external email is coming by the a mailscanner gateway to the production server and the test server with no problems.

i want to know if they is a way to make zimbra server send a copy email to my production server that runs sendmail, as both servers runs the same domain we gonna migrate users in small groups and we want to still be comunicated to the old server, lets say if i reply and internal email it should be delivered to zimbra server and relayed to the old server (sendmail) aswell.

i can easily do it with postfix but i dont know how to do it with zimbra, i tried to modify the virtual and transport files than came with zimbra and didnt work.

Thanks for your help in advance.
Reply With Quote
  #2 (permalink)  
Old 03-21-2011, 06:00 PM
Moderator
 
Posts: 1,209
Default

Zimbra's MTA is Postfix, so if you are comfortable configuring Postfix in general you are just one step away from doing so in Zimbra.

On each Zimbra restart, Zimbra rewrites the Postfix and Amavis configs based on stored values in the Zimbra server's local configuration.

Except that not every value is stored that way. :-)

So, at the risk of oversimplifying, to get you started here's what I would suggest:

First, get comfortable with the zmlocalconfig command as it is used to edit a number of Postfix variables in main.cf. So, for example...

Code:
zmlocalconfig -e postfix_smtpd_banner="\$myhostname NO UCE ESMTP"
...will change what Postfix spits back in response to a HELO (note the escaped dollar sign).

Second, poke around in /opt/zimbra/conf and look for *.in files. On service restarts, Zimbra uses e.g. /opt/zimbra/conf/amavisd.conf.in to rewrite /opt/zimbra/conf/amavisd.conf prior to launching amavis.

Most everything used to be in the *.in files, but those get overwritten when doing a Zimbra upgrade, so Zimbra has been putting more and more into localconfig to reduce the administrative tasks required to complete an upgrade.

Hope that helps get you started,
Mark
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
Reply With Quote
  #3 (permalink)  
Old 03-23-2011, 07:41 AM
Loyal Member
 
Posts: 94
Default

Thanks i will check it out.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.