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

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 09-29-2007, 11:03 AM
New Member
 
Posts: 4
Default Adding e-mail addresses to directory

Hi, everyone,

I'm exploring the feasibility of modifying the global address list from a program (in our case Ruby on Rails). I read on the Wiki that we shouldn't do this through LDAP and that it should be done through the admin tools. Is there any programmatic way to add addresses programatically? These would be aliases, not new accounts (and, in fact, they'd be aliases that point to an account on the system). For example, we might have an account abc@example.com on the Zimbra server. We'd like to be able to add aliases like abc-sales@example.com, abc-marketing@example.com, etc. to the address book (mostly so that users can get to them easily). This mailbox would then be read by another program that would apply some rule based on the To: field.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 09-29-2007, 11:20 AM
Moderator
 
Posts: 6,237
Default

adding via CLI would be:
zmprov aaa abc@domain.com abc-sales@domain.com
zmprov aaa abc@domain.com abc-marketing@domain.com

remove:
zmprov raa abc@domain.com abc-sales@domain.com
zmprov raa abc@domain.com abc-marketing@domain.com

-you could also construct it via SOAP...
Reply With Quote
  #3 (permalink)  
Old 09-29-2007, 11:23 AM
New Member
 
Posts: 4
Default

SOAP sounds better since our RoR app probably won't be on the same machine as Zimbra (or can the CLI tools be installed on a different machine?). Can you send a pointer? Thanks!
Reply With Quote
  #4 (permalink)  
Old 09-29-2007, 11:28 AM
Moderator
 
Posts: 6,237
Default

http://sourceforge.krugle.com/kse/files?project="Zimbra%20Collaboration%20Suite"
search for soap.txt & soap-admin.txt
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.