zmprov command create account attributes in zimbra

How to zmprov command create account attributes in zimbra. zmprov command creating accounts, aliases, domain, cos, distribute lists and calendar resources.
Links to below you maybe likes:
zimbra custom spamassassin rules
How to create auto Bcc for Recipient mails for Zimbra 8.6
How to add spam filters on zimbra 8.6
How to create auto Bcc for sender mails for Zimbra 8.6
list accounts that has not logged in for the last x days in zimbra

zmprov command create account attributes in zimbra

Print all attribute names

zmprov desc

The syntax for modify attributes in zimbra
Use + to add an attribute
Use - to remove an attribute

How to create account with attributes use zmprov command

zmprov ca [email protected] 123456789 sn 'huupv' cn 'Huu, Phan Van' displayName 'Huu, Phan Van (IT)' zimbraMailHost mail.huuphan.local

Account information
    Account email: [email protected]
    Password: 123456789
    lastName: huupv
    fullName: Huu, Phan Van
    displayName: Huu, Phan Van (IT)
    Mailbox: mail.huuphan.local

How to change password for account email zimbra
zmprov sp [email protected] 987654321   

How to print an attribute (Ex:displayName) account email
zmprov ga [email protected] displayName  
The output as bellow
# name [email protected]
displayName: Huu, Phan Van (IT)

How to update an attribute exist (Ex:displayName) account email
zmprov ma [email protected] displayName 'Huu, Phan Van'

How to modify attribute account email (Ex: add attribute zimbraMailForwardingAddress)

To add attribute zimbraMailForwardingAddress
zmprov ma [email protected] +zimbraMailForwardingAddress [email protected]
To remove attribute zimbraMailForwardingAddress
zmprov ma [email protected] -zimbraMailForwardingAddress [email protected]


Popular posts from this blog

zimbra some services are not running [Solve problem]

Bash script list all IP addresses connected to Server

How to install php7 on centos 6