Results 1 to 4 of 4

Thread: Bulk Create for Archive Accounts

  1. #1
    cswihart is offline Intermediate Member
    Join Date
    May 2007
    Posts
    17
    Rep Power
    7

    Default Bulk Create for Archive Accounts

    Sorry if this has already been asked, but I did a search of the wiki, docs, forums, ect.. and have been unable to find an answer to my question. I currently have a separate Zimbra server setup as an archive mail store for my existing ZCS server. I'm in the process of migrating all our users from our old mail system into Zimbra. I was able to bulk provision all of our users using the "zmprov < filename.zmp" command. Is there also a way to bulk create archive accounts with the zmarchiveconfig command? For example "zmarchiveconfig < filename.zmp".

    Thank you for your help.

    Chris
    Last edited by cswihart; 10-09-2007 at 08:40 AM.

  2. #2
    klinet's Avatar
    klinet is offline Intermediate Member
    Join Date
    Jun 2007
    Location
    Chicago
    Posts
    19
    Rep Power
    7

    Default

    This post is a little bit old but it is what I'm looking for. I'd like to run zmarchiveconfig enable < ./users but the command fails with the zmarchiveconfig help screen. My users file is simply the full email address of the account I want to activate archiving for, one address per line.

    Any ideas?

    Thanks

  3. #3
    blazeking is offline Advanced Member
    Join Date
    May 2008
    Location
    California!
    Posts
    226
    Rep Power
    6

    Default

    Double thread necromancy!

    I have several hundred users in the system. Is there a way to enable archiving in bulk?

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

    Default

    zmprov gaa > /tmp/accounts.txt
    Then something like:
    Code:
    for i in `cat /tmp/accounts.txt`
    do
    zmarchiveconfig –s archive.example.com enable $i archive-cos archive
    sleep 3
    done
    Ajcody-Notes-Archive-Discovery-Mailstore-Setup - Zimbra :: Wiki
    Bulk Provisioning - Zimbra :: Wiki

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 06-21-2007, 02:46 PM
  2. Cant send emails/Cant create accounts
    By Asish in forum Installation
    Replies: 8
    Last Post: 05-22-2007, 03:24 AM
  3. Opensource backup Question.
    By nfear24 in forum Administrators
    Replies: 3
    Last Post: 03-31-2007, 11:47 PM
  4. Can Not create new accounts 3.2.0_M2_224.FC4.
    By jdmonc in forum Administrators
    Replies: 3
    Last Post: 08-01-2006, 01:51 PM
  5. script auto create email accounts
    By raidip in forum Administrators
    Replies: 2
    Last Post: 09-29-2005, 11:46 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
  •