Results 1 to 3 of 3

Thread: relaying email to a second server in Zimbra 7.0.1

  1. #1
    Join Date
    Feb 2008
    Location
    Peru
    Posts
    94
    Rep Power
    7

    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.

  2. #2
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,374
    Rep Power
    11

    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

  3. #3
    Join Date
    Feb 2008
    Location
    Peru
    Posts
    94
    Rep Power
    7

    Default

    Thanks i will check it out.

Similar Threads

  1. fatal: parameter "smtpd_recipient_restrictions"
    By Robin in forum Administrators
    Replies: 8
    Last Post: 12-22-2010, 04:48 AM
  2. Replies: 9
    Last Post: 03-01-2008, 07:21 PM
  3. Replies: 12
    Last Post: 02-25-2008, 06:28 PM
  4. /tmp filling
    By Nutz in forum Administrators
    Replies: 8
    Last Post: 02-22-2008, 01:00 AM
  5. Replies: 8
    Last Post: 02-27-2007, 03:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •