Piler configuration
Before installing the ZI-Piler must be install Piler server. To do this refer to the http://ww.mailpiler.org/wiki/current:installation
Piler installed fromoriginal sources
User 'piler' password is in /usr/local/etc/piler/piler.conf file (mysqlpwd
variable)
1
1
mysql -u piler -p pile
r < db-mysql-intalioupdate.sql
Patch piler files
In this example, the piler files are in /var/www/piler directory and Apache user is www-data
.
17
1
patch -p1 -d /var/www/piler < piler1.3.5.patch
2
patch -p0 -d /var/www/piler < config.patch
3
4
chown www-data:www-data .htaccess
5
chown www-data:www-data controller/login/remote_login.php
6
chown www-data:www-data controller/token/auth.php
7
chown www-data:www-data controller/token/login.php
8
chown www-data:www-data controller/token/logout.php
9
chown www-data:www-data gen_server_key.php
10
chown www-data:www-data index.php
11
chown www-data:www-data model/token/server_token.php
12
chown www-data:www-data model/token/user_token.php
13
chown www-data:www-data model/user/auth.php
14
chown www-data:www-data system/helper/Security.php
15
chown www-data:www-data view/theme/default/templates/common/layout-audit.tpl
16
chown www-data:www-data view/theme/default/templates/login/remote_login.tpl
17
chown www-data:www-data view/theme/mobile/templates/common/layout-email.tpl
Adding ZIMBRA_INITIALIZE_URLparameter to config-site.php
Edit /usr/local/etc/piler/config-site.php file and add this line. The <ZIMBRA_HOSTNAME> string change to the hostname of your Zimbra (zimbraPublicHostname parameter)
1
1
$config['ZIMBRA_INITIALIZE_URL'] = 'https://<ZIMBRA_HOSTNAME>/service/extension/IntalioZiPilerExt/ZiPilerSSO/?action=login';
Genereate server key
Call sever key generator and place this key to the ZI-Piler configuration (Zimbra administration console on port 7071)
2
1
cd /var/piler/www/
2
php gen_server_key.php --webui /var/piler/www