How to create new mail id in zimbra

To create a new mail ID in Zimbra, you can follow these steps:

Method 1: Using the Zimbra Web Interface

  1. Log in to the Zimbra Web Interface using your administrator credentials.
  2. Click on the "Configure" button in the top-right corner of the screen.
  3. Select "Users" from the drop-down menu.
  4. Click on the "Create User" button.
  5. Enter the following information:
    • First Name: Enter the first name of the new user.
    • Last Name: Enter the last name of the new user.
    • Email: Enter the new email address you want to create.
    • Password: Enter a password for the new user.
    • Confirm Password: Re-enter the password to confirm.
  6. Click on the "Create" button to create the new user.

Method 2: Using the Zimbra Command-Line Interface (CLI)

  1. Open a terminal or command prompt and navigate to the Zimbra installation directory.
  2. Run the following command to create a new user:
    zmprov ca <username> <email> <password>

    Replace <username> with the desired username, <email> with the new email address, and <password> with the password for the new user.

For example:

zmprov ca [email protected] password123

This will create a new user with the username "john.doe" and the email address "[email protected]" with the password "password123".

Method 3: Using the Zimbra LDAP Command-Line Interface (CLI)

  1. Open a terminal or command prompt and navigate to the Zimbra installation directory.
  2. Run the following command to create a new user:
    ldapmodify -x -H ldap://localhost -D "cn=admin,dc=example,dc=com" -w password123 <<EOF
    dn: uid=<username>,dc=example,dc=com
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    cn: <username>
    sn: <username>
    mail: <email>
    userPassword: <password>
    EOF

    Replace <username> with the desired username, <email> with the new email address, and <password> with the password for the new user.

For example:

ldapmodify -x -H ldap://localhost -D "cn=admin,dc=example,dc=com" -w password123 <<EOF
dn: uid=john.doe,dc=example,dc=com
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: john.doe
sn: john.doe
mail: [email protected]
userPassword: password123
EOF

This will create a new user with the username "john.doe" and the email address "[email protected]" with the password "password123".

Note: Make sure to replace the example values with your own values and adjust the commands according to your Zimbra installation and configuration.