====== Zimbra Server Notes etc ======
===== Configuration =====
* **Hostname:** mail.bbs.uhp.me.uk
* **Domain (LDAP):** bbs.uhp.me.uk (//Configure this at Zimbra install-time)//
* Hostname alias added at IPCop proxy server for internal lookups (=> 10.0.0.13)
==== SMTP transport from existing server =====
* Postfix main.cf: transport_maps = hash:/etc/postfix/transport
* SMPT transport in /etc/postfix/transport should contain: bbs.uhp.me.uk smtp:10.0.0.13
* Run **postmap /etc/postfix/transport** to recreate db.
===== Test Server Images =====
^ Image ^ Description ^
| 1 | Ubuntu Installation with no configuration or software and IP address via DHCP. |
| 2 | Installation with static IP address of 10.0.0.13. Apt-get upgrade and Zimbra 4.5.7 installation archive in /usr/src as .tgz. Also installed: MC, OpenSSH-Server, Elinks. |
| 3 | As (2) but with base Zimbra 4.5.7 installation at mail.bbs.uhp.me.uk |
===== Packages to Install =====
* openssh-server
* mc
* elinks
* curl
* fetchmail
* screen
* libpcre3
* libgmp3c2
* libexpat1
* libxml2
* libtie-ixhash-perl
* libstdc++5
* libltdl3
* samba
* samba-common
* smbclient
* smbfs
* winbind
* krb5-user (?)
* libpam-krb5
* libemail-folder-perl
* libemail-mime-perl
$ sudo apt-get install openssh-server mc elinks curl fetchmail screen libpcre3 libgmp3c2 libexpat1 libxml2 libtie-ixhash-perl libstdc++5 samba samba-common smbclient smbfs winbind krb5-user libpam-krb5 libemail-folder-perl
===== Procedure =====
From base Ubuntu installation:
- Get archive, extract.
- Install as per [[http://www.howtoforge.com/installing_zimbra_collaboration_suite_on_ubuntu_p2|here]]
- Configure LDAP domain for the Email domain!
- Set up samba, winbind as per [[https://help.ubuntu.com/community/ActiveDirectoryWinbindHowto|here]]
- Set up COS, Global settings, Auth/GAL
===== How to do things =====
==== Become root ====
$ sudo -s
Password:
==== Become Zimbra user ====
$ sudo -i -u zimbra
Password:
==== Restart samba/winbind ====
(Done via [[zimbra:configs#usrlocalsbinrestartsamba.sh|this file]])
$ sudo restartsamba.sh
===== Other Misc stuff =====
==== Set calendar to start on Monday ====
zmprov modifycos bbstaff zimbraPrefCalendarFirstDayOfWeek 1
==== Change default compose editor settings ====
zmprov mc bbstaff zimbraPrefHtmlEditorDefaultFontFamily Verdana
zmprov mc bbstaff zimbraPrefHtmlEditorDefaultFontSize 10pt
==== Allow web service proxy for COS (needed for com_zimbra_gtranslator ====
zmprov mc bbstaff zimbraProxyAllowedDomains "*"
==== Set all users to have en_GB locale ====
zmprov mc bbstaff zimbraPrefLocale en_GB
==== Set all users to maximum of 2 personas ====
zmprov mc bbstaff zimbraIdentityMaxNumEntries 2
==== Create mountpoint ====
zmmailbox -z -m test.one@bbs.uhp.me.uk cm --color purple --view wiki '/Distribution Lists' admin@bbs.uhp.me.uk '/Distribution Lists'