Ok posting to myself but starting to get somewhere with Zarafa on 3.5.
I really do think Zentyal should bring back the Zarafa option until stability and migration options with Openchange are finalised.
But hey. Here is Zarafa install on 3.5 and could do with some feedback.
My fqdn zent1.zentyal.lan
wget http://download.zarafa.com/community/final/7.1/7.1.10-44973/zcp-7.1.10-44973-ubuntu-14.04-x86_64-free.tar.gz
tar zxvf zcp-7.1.10-44973-ubuntu-14.04-x86_64-free.tar.gz
cd zcp-7.1.10-44973-ubuntu-14.04-x86_64
dpkg -i *.deb
apt-get install -f
I noticed in there is zarafamigration.exe
http://doc.zarafa.com/trunk/Migration_Manual/en-US/html-single/Haven't tried it but the zarafa to pst migration might be handy for some and also the is always imapcopy.
Anyway I digress.
In /var/lib/zentyal/conf we have various files that contain various essential details.
samba.passwd the administrator password which is why you shouldn't change things but really the administrator should be visible and maybe a ebox samba account should be used.
I did notice that the zentyal dovecot settings are using the global catalog still, #hosts = 127.0.0.1:3268# which could be a source of problems down the road.
I dunno I guess because the DN's are for this realm it doesn't matter. I have been trying to get my head round the implications of running various sites that might all have there own email server. Then also being the global catalog this will also be a forest of several domains. A nasty smell of burning came from my right ear, so decided to stop thinking about it.
I did also notice Zentyal have moved from the administrator for mail directory tasks which is great, not sure why not a single ebox account for the system though.
Anyway the samba.password file contains oiAmNqpWR2H6Ua@k8jqx
and the zentyal-mysql.passwd contains oA5TGRwf
Apols but I use webmin for quite a few tasks so install webmin if you want to follow my procedure.
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.690_all.deb
dpkg --install webmin_1.690_all.deb
Create a service for webmin allow port 10000 then on the firewall allow the webmin service on the local lan. (for me this is acceptable and no less secure than the zentyal web admin) Both I never allow wan side and use a VPN.
In webmin in the others section there is a filemanager that makes things easy.
/etc/zarafa/server.cfg
# Name for identifying the server in a multi-server environment
server_name = zent1
##############################################################
# MYSQL SETTINGS (for database_engine = mysql)
# The password for the user (leave empty for no password)
mysql_password = oA5TGRwf
In the zarafa server config I use the hostname as the servername and we need to supply the root password of my SQL.
Also in /etc/mysql/conf.d/zentyal.cnf
[mysqld]
innodb = on
default-storage-engine = MyISAM
character-set-server=utf8
[client]
default-character-set=utf8
I had to change innodb = off to innodb = on because Zarafa requires this. I am not sure why Zentyal force it off as the default is MyISAM. Dunno maybe someone can say why?
Webmin >System>Bootup & Shutdown tick zarafa-server and restart.
root@zent1:~# zarafa-admin -l
User list for Default(1):
Username Fullname Homeserver
------------------------------------------
SYSTEM SYSTEM zent1
zarafa-admin -l shows that zarafa is running but we have no users because we are purely using database authentication which we need to change to ldap.
From the previous post we need to add the schema to the LDAP.
https://forum.zentyal.org/index.php/topic,22332.msg85942.html#msg85942This adds the schema but doesn't add the classes or entries to the user.
I made a little script and will do this with that bash ZarafaAD username baseDN maildomain should setup your user.
Its set to create the user as a Zarafa admin so you might want to edit this.
bash ZarafaAD winadmin DC=zentyal,DC=lan zentyal.lan
Modified my Winadmin user and set him up with some defaults.
You can always use the following to edit at a later stage.
ldbedit -e nano -H /var/lib/samba/private/sam.ldb '(samaccountname=winadmin)'
copy /etc/zarafa/ldap.active-directory.cfg to /etc/zarafa/ldap.conf
Edit the following sections so the match your ldap.
ldap_host = localhost
ldap_bind_user = CN=Administrator,CN=Users,DC=zentyal,DC=lan
ldap_bind_passwd = oiAmNqpWR2H6Ua@k8jqx
ldap_search_base = dc=zentyal,dc=lan
Edit /etc/zarafa/server.cfg
user_plugin = ldap
Restart zarafa-server & zarafa-admin -l should show something like the following.
root@zent1:~# zarafa-admin -l
User list for Default(7):
Username Fullname Homeserver
--------------------------------------------------------------
SYSTEM SYSTEM zent1
zentyal-mail-zent1 zentyal-mail-zent1
Administrator Administrator
winadmin Win Admin
dns-zent1 dns-zent1
krbtgt krbtgt
Guest Guest
Starting to get somewhere. Haven't checked the zarafa to postfix settings yet or if sending and receiving mails works.
a2ensite zarafa-webaccess for some reason doesn't work and currently scratching around this one?
OK a new one for me, renamed the two files in sites-available and added .conf to the end.
a2ensite zarafa-webaccess.conf and a2ensite zarafa-webapp.conf now work!!!?