Results 1 to 3 of 3

Thread: [SOLVED] zmprov x ldap attributes

  1. #1
    ivanix is offline New Member
    Join Date
    Jul 2009
    Posts
    4
    Rep Power
    5

    Default [SOLVED] zmprov x ldap attributes

    hello!

    Please... I'm integrating zimbra with mailman using the solution in [SOLVED] Zimbra+Mailman Howto .

    That's all ok, but I've noticed that when I restart my zimbra server using zmcontrol, my modifications are lost.

    E.g:

    virtual_alias_maps = ldap:/opt/zimbra/conf/ldap-vam.cf,hash:/usr/local/mailman/data/virtual-mailman
    alias_maps = hash:/etc/aliases,hash:/usr/local/mailman/data/aliases

    Above, I need to add "hash:/usr/local/mailman/data/virtual-mailman" in main.cf, but, as mentioned before, when I restart the zimbra server, the modifications are lost.

    I would like of use the zmprov command to insert a new virtual_alias_maps into ldap-vam.cf .

    Is there any solution that don't erase my personal configurations in main.cf?

    Thank you!

    Regards,

  2. #2
    ivanix is offline New Member
    Join Date
    Jul 2009
    Posts
    4
    Rep Power
    5

    Default

    Hi, all!

    The integration it's fine now. I've discovered that the options must be in /opt/zimbra/conf/zmmta.cfg.
    So, I didn't need to use zmprov command.

    Thank you!

    Regards,

    nix

  3. #3
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    Default

    You shouldn't modify zmmta.cfg directly for these values. The source is in localconfig

    Code:
    zmlocalconfig -e postfix_alias_maps="hash:/etc/aliases,hash:/usr/local/mailman/data/aliases"
    zmlocalconfig -e postfix_virtual_alias_maps="ldap:/opt/zimbra/conf/ldap-vam.cf,hash:/usr/local/mailman/data/virtual-mailman"
    this will ensure the customizations survive an upgrade.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. upgrading from 5.0.4 to 5.0.5 opensource
    By smoke in forum Installation
    Replies: 4
    Last Post: 10-19-2008, 10:38 AM
  2. Replies: 8
    Last Post: 08-07-2008, 05:18 AM
  3. Moving to different server
    By AaronW1000 in forum Installation
    Replies: 2
    Last Post: 07-03-2008, 07:39 AM
  4. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  5. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 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
  •