CreateZimbraProfile

From Zimbra :: Wiki

Jump to: navigation, search

CreateZimbraProfile.exe

CreateZimbraProfile.exe is a Windows-based command line utility to create a Zimbra MAPI profile. It is helpful if you need to automate creation of profiles.

Note: This tool is not part of ZCS and is not supported by Zimbra Support. Use it at your own risk. To speak to other users and contribute feedback about your experiences, please use the forums.

Instructions

  1. Download this zip file: Media:CreateZimbraProfile.zip
  2. Unzip it to a directory.
  3. Open a command prompt and change to that directory. Then run:
createZimbraProfile.exe profile-name server-name server-port [0|1] user-name user-pwd

   profile-name        The name of the profile to be created
   server-name         The hostname or IP of the Zimbra server
   server-port         The port of the Zimbra server (usually 80 for HTTP or 443 for HTTPS)
   [0|1]               1 for SSL connection 0 for clear
   user-name           Zimbra user name (ie, user@company.com)
   user-pwd            Zimbra user password


For example, to create a profile named ZimbraProfile that connects to mail.company.com on port 443 using SSL for user@company.com with password user_pass, enter the following:

createZimbraProfile.exe ZimbraProfile mail.company.com 443 1 user@company.com user_pass

Troubleshooting

In some cases the profile will be created even though an error message is displayed.

For example, if you specify an incorrect password, the profile will be created but the following error message is output:

Error configuring message service. hRes = 0x80040111

For a description of the error codes, see MS KB article


Verified Against: ZCS 4.5.x & ZCS 5.0.x Date Created: 2/10/2008
Article ID: http://wiki.zimbra.com/index.php?title=CreateZimbraProfile Date Modified: 02/12/2008
Personal tools