Results 1 to 2 of 2

Thread: Using Zimbra partly as a backup mx

  1. #1
    Tony Lewis is offline Member
    Join Date
    Mar 2007
    Posts
    12
    Rep Power
    8

    Default Using Zimbra partly as a backup mx

    I am migrating to Zimbra. For most domains, it will be the sole SMTP/IMAP server; but for one critical domain, it is a backup mx.

    I can't seem to get this to work.

    In postfix (which I'm not really familiar with), I think I need a transport map, along the lines of:

    Code:
    mydomain.com: smtp:[192.168.x.y]
    But Zimbra uses LDAP to hold this config. Looking at /opt/zimbra/conf/ldap-transport.cf seems to indicate that it's the zimbraMailDeliveryAddress that I should try and set.

    So I try:
    Code:
    zimbra@zimbra:~$ zmprov
    prov> md mydomain.com zimbraMailDeliveryAddress smtp:[192.168.x.y]
    ERROR: service.INVALID_REQUEST (invalid request: zimbraMailDeliveryAddress is immutable)
    So a different thread hints at using ldapmodify. I try something like:

    Code:
    zimbra@zimbra:~$ cat /tmp/transport.ldif
    dn: dc=mydomain,dc=com
    changetype: modify
    add: zimbraMailDeliveryAddress
    zimbraMailDeliveryAddress: smtp:[192.168.x.y]
    
    zimbra@zimbra:~$ ldapmodify -w `zmlocalconfig -s -x -m nokey ldap_root_password` -D `zmlocalconfig -s -x -m nokey zimbra_ldap_userdn` -f /tmp/transport.ldif
    modifying entry "dc=mydomain,dc=com"
    
    zimbra@zimbra:~$ ldapsearch
    # mydomain.com
    dn: dc=mydomain,dc=com
    ...
    zimbraMailStatus: enabled
    zimbraMailDeliveryAddress: smtp:[192.168.x.y]
    So the above ldapsearch indicates that the right attribute is set.

    However, it doesn't work. I send an email to Zimbra, and it bounces it back.

    I note the following:

    Code:
    zimbra@zimbra:~$ zmprov gd mydomain.com
    # name mydomain.com
    dc: mydomain
    o: mydomain.com domain
    ...
    zimbraMailDeliveryAddress,zimbraMailAlias,mail=email,email2,email3,email4,email5,email6
    ...
    zimbraMailDeliveryAddress: smtp:[192.168.x.y]
    zimbraMailStatus: enabled
    So, questions:
    • am I going about this in the right way?
    • what have I done wrong?


    Thanks in advance.

    PS let's not debate the merits of a backup MX, please.

  2. #2
    Tony Lewis is offline Member
    Join Date
    Mar 2007
    Posts
    12
    Rep Power
    8

    Default Fixed

    I guess I just wasn't looking hard enough. Solution is at Configuring Zimbra as the Secondary System at the wiki Split Domain topic.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. QUE Failure
    By tbullock in forum Administrators
    Replies: 31
    Last Post: 07-30-2008, 12:17 PM
  2. zimbra-core missing
    By kinaole in forum Developers
    Replies: 1
    Last Post: 10-02-2006, 11:59 AM
  3. Unable to start tomcat
    By chanck in forum Administrators
    Replies: 11
    Last Post: 06-11-2006, 12:58 AM
  4. Logger
    By jholder in forum Installation
    Replies: 24
    Last Post: 03-31-2006, 11:50 AM
  5. Monitoring : Data not yet avalaible
    By s3nz3x in forum Installation
    Replies: 7
    Last Post: 11-30-2005, 07:18 PM

Posting Permissions

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