Results 1 to 4 of 4

Thread: Adding e-mail addresses to directory

  1. #1
    jennyw is offline New Member
    Join Date
    Jun 2006
    Posts
    4
    Rep Power
    9

    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!

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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...

  3. #3
    jennyw is offline New Member
    Join Date
    Jun 2006
    Posts
    4
    Rep Power
    9

    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!

  4. #4
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problems with port 25
    By yogiman in forum Installation
    Replies: 57
    Last Post: 06-13-2011, 01:55 PM
  2. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  3. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  4. Replies: 13
    Last Post: 07-20-2007, 03:21 AM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 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
  •