Results 1 to 4 of 4

Thread: new folder in a mailbox

  1. #1
    Join Date
    Nov 2006
    Posts
    52
    Rep Power
    9

    Wink new folder in a mailbox

    Hello,

    I am trying to figure out a way to create a new folder in a given mailbox without actually logging in and doing it by hand. Let's say I just created a user user@zimbradomain.com, I want to be able to create a folder in his account named "old mail" from, say, the command line, or maybe some other way but somehow so I can automate the process.

    Any help appreciated.

  2. #2
    Join Date
    Aug 2005
    Posts
    228
    Rep Power
    10

    Default

    Something like this will work via the command line:

    Code:
    $ /opt/zimbra/bin/zmprov
    prov> ca joe@macpro.local secretpass 
    c4e34804-610b-47f6-9d34-677e1fdca7fa
    prov> sm joe@macpro.local
    mailbox: joe@macpro.local, size: 0 B, messages: 0, unread: 0
    mbox joe@macpro.local> cf "/old mail"
    257
    mbox joe@macpro.local> exit
    prov> exit
    that example shows creating the account, selecting the mailbox, and then creating the folder. If the account is already created, you can use zmmailbox instead of zmprov and specify the mailbox on the command line, or you can still use zmprov and just select the mailbox.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    Join Date
    Nov 2006
    Posts
    52
    Rep Power
    9

    Default

    Thanks a lot man. I wonder why this information is so poorly documented in Zimbra documentation....

  4. #4
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    We're actually working to get more stuff documented in the wiki. For example, starting in Feb, you'll see a lot of stuff added/updated in the wiki.

    Good Luck!
    jholder

Similar Threads

  1. Replies: 210
    Last Post: 01-17-2012, 01:19 AM
  2. Restore mail to another user's mailbox
    By zaf in forum Administrators
    Replies: 4
    Last Post: 02-08-2008, 08:26 AM
  3. zmmailbox and spaces in folder names
    By badrian in forum Administrators
    Replies: 2
    Last Post: 06-28-2007, 12:26 PM
  4. Large folder issues
    By Gawain in forum Administrators
    Replies: 7
    Last Post: 10-12-2006, 11:06 PM
  5. Replies: 42
    Last Post: 08-11-2006, 10:50 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
  •