Some command line tools
http://wiki.zimbra.com/wiki/Zmprov_Examples
Create one account with a password that is assigned to the default COS:
zmprov ca name@domain.com password
Create one account with a password that is assigned to a specified COS. You must know the COS ID number. To find a COS ID, type zmprov gc <COSname>.:
zmprov ca name@domain.com <password> zimbraCOSid <cosIDnumberstring>
Create one account when the password is not authenticated internally:
zmprov ca name@domain.com
Change the administrator’s password. Use this command to change any password. Enter the address of the password to be changed:
zmprov sp admin@domain.com password
To list all COSs and their attribute values:
zmprov gac -v
To list all COSs and their attribute values:
zmprov gaa domain.com
To list all user accounts and their configurations:
zmprov gaa -v domain.com
Note: The empty single quote is required and indicates that there is no local password
Use a batch process to create accounts: http://wiki.zimbra.com/index.php?title=Bulk_Provisioning
see the Batch Provisioning from the CLI Utility section of the Managing the Zimbra Collaboration Suite chapter for the procedure.
Add an alias to an account:
zmprov aaa accountname@domain.com aliasname@domain.com
Canonical address</div> > zimbraMailCanonicalAddress
Create distribution list. The ID of the distribution list is returned:
zmprov cdl listname@domain.com
Add a member to a distribution list. Tip: You can add multiple members to a list from the administration console:
zmprov adlm listname@domain.com member@domain.com
Create a domain that authenticates against Zimbra OpenLDAP:
zmprov cd marketing.domain.com zimbraAuthMech zimbra
Set the default domain:
zmprov mcf zimbraDefaultDomainName domain1.com
To disable the imapproxy service:
zmprov ms `zmhostname` -zimbraServiceEnabled imapproxy
To enable logger on a single server:
zmprov +zimbraServiceEnabled logger
Then type zmloggerctl start, to start the logger.
Modify zimbraNewMailNotification to customize the notification email template. A default email is sent from Postmaster notifying users that they have received mail in another mailbox. To change the template, you modify the receiving mailbox account. The variables are:
${SENDER_ADDRESS}
${RECIPIENT_ADDRESS}
${RECIPIENT_DOMAIN}
${NOTIFICATION_ADDRESSS}
${SUBJECT}
${NEWLINE}
You can specify which of the above variables appear in the Subject, From, or Body of the email. The following example is changing the appearance of the message in the body of the notification email that is received at name@domain.com. You can also change the template in a class of service, use zmprov mc. The command is written on one line.
zmprov ma name@domain.com zimbraNewMailNotificationBody 'Important message from ${SENDER_ADDRESS}.${NEWLINE}Subject:${SUBJECT}'
Install
1. Install Centos5 from DVD or CDROM configure the entire disk
2. Configure your Fully Qualified Hostname, IP address and Gateway, DNS details
3. Setup your root password
4. Setup the software. Select Server only and Customize Now
Select only the following components:
Editors
Text base Internet
Development Libraries
Development Tools
Administration Tools
Base
System Tools
5. The system will now install and will required CDs 1-6.
6. Once the system reboots disable firewall and SElinux.
7. Make sure your /etc/hosts file has the line:
IP address FQDN hostname (i.e. 192.1.1.1 mail.domain.com mail).
8. Reboot the system (for changes to take effect).
9. Then run yum update to my sure your system is fully up to date.
10. Reboot the system.
11. Next remove sendmail by running yum remove sendmail.
12. Next install some required files by running the following command:
yum install openssl097a compat-libstdc++-296 compat-libstdc++-33.
yum install compat-db (to Get Spell Server to Start)
13. Edit the /etc/sudoers and comment out “defaults requiretty” (put # in front of it).
14. Edit the /etc/sysconfig/i18n and delete the line LANG=”en_US.UTF-8”.
15. Reboot the system.
16. Then run yum install fetchmail.
17. Run the command setup then system services and un-tick the following services.
Bluetooth
Cups
Exim (If left running will block port 25)
18. Reboot the system.
19. Login and change directory to /var/tmp.
20. Download the Zimbra software wget http://download.location/zcs-4.5.5_GA_838.RHEL4.gz.
21. Uncompress the download tar xzvf zcs-4.5.5_GA_838.RHEL4.gz.
22. Change directory to zcs.
23. Start the installation by running ./install.sh and follow the on screen instructions.
added yum install compat-db (to Get Spell Server to Start)