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 08-03-2009, 12:21 PM
New Member
 
Posts: 4
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,
Reply With Quote
  #2 (permalink)  
Old 08-05-2009, 12:55 PM
New Member
 
Posts: 4
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
Reply With Quote
  #3 (permalink)  
Old 08-05-2009, 03:11 PM
Zimbra Employee
 
Posts: 604
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!
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.