Results 1 to 3 of 3

Thread: [SOLVED] Changing Multiple accounts?

  1. #1
    Join Date
    Sep 2008
    Rep Power

    Default [SOLVED] Changing Multiple accounts?

    Most of our users get mail on two accounts:
    1. Their primary Zimbra Account.
    2. A secondary pop3 account that is

    We would like to change their secondary pop3 account to

    Is there an easy way to make this change to their existing accounts via the command line zmprov tool or the zmmailbox tool?

  2. #2
    Join Date
    Jul 2007
    Rep Power


    the 2 commands you'll want to look at are

    zmprov getDataSource
    zmprov modifyDataSource
    if it's the username you're looking to change you'll want to change the attribute zimbraDataSourceUsername . How can you do this for all or most of your users? well that'd take a bit of work. you'd basically need to loop through all users (use zmprov getAllAccounts), then do a getDataSource on each account, match the username to a regexp or something, then fetch the datasourceid and run the modifyDataSource on that.

    Yeah not easy, but doable

  3. #3
    Join Date
    Sep 2008
    Rep Power

    Thumbs up

    Thanks for pointing me in the right direction. That information, combined with a little perl script changed the hostname for all our accounts in short order.

Similar Threads

  1. Multiple Mail Accounts, Folders
    By skwdenyer in forum Users
    Replies: 12
    Last Post: 12-01-2013, 07:52 PM
  2. Multiple accounts - Multiple SENT folders
    By jolass in forum General Questions
    Replies: 35
    Last Post: 05-19-2009, 11:59 PM
  3. Trouble with multiple IMAP Accounts
    By breos in forum Installation
    Replies: 1
    Last Post: 08-19-2008, 12:25 AM
  4. Replies: 1
    Last Post: 01-19-2007, 01:23 PM
  5. MTA is Dying after yum update
    By tonyawbrey in forum Administrators
    Replies: 27
    Last Post: 04-02-2006, 06:11 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