Difference between revisions of "Z-Push v2 with Zimbra"

Jump to navigation Jump to search
1,482 bytes added ,  23:13, 23 January 2013
→‎Set-up: Updated URL's for software, and updated for v2.0.6 config.php changes
m (Updated preamble notes)
(→‎Set-up: Updated URL's for software, and updated for v2.0.6 config.php changes)
Line 28: Line 28:
# Create a folder for Z-Push on your webserver
# Create a folder for Z-Push on your webserver
#* EG <code> mkdir /var/www/z-push </code>
#* EG <code> mkdir /var/www/z-push </code>
# Download the latest Z-Push version (see http://z-push.sourceforge.net/soswp/index.php?pages_id=39&t=Download) to a temp folder and unpack
# Download the latest Z-Push version (see http://zarafa-deutschland.de/z-push-download/final/) to a temp folder and unpack
#* EG <code> wget http://zarafa-deutschland.de/z-push-download/final/2.0/z-push-2.0.3-1467.tar.gz </code>
#* EG <code> wget http://zarafa-deutschland.de/z-push-download/final/2.0/z-push-2.0.6-1616.tar.gz </code>
#* EG <code> tar -zxvf z-push-2.0.3-1467.tar.gz </code>
#* EG <code> tar -zxvf z-push-2.0.6-1616.tar.gz </code>
# Move the contents to your webserver folder
# Move the contents to your webserver folder
#* EG <code> mv z-push-2.0.3-1467/* /var/www/z-push/</code>
#* EG <code> mv z-push-2.0.6-1616/* /var/www/z-push/</code>
# Create folders for state (<code>/var/lib/z-push</code>) and log data (<code>/var/log/z-push</code>) and make writeable by the webserver (can be altered in <code>config.php</code> file)
# Create folders for state (<code>/var/lib/z-push</code>) and log data (<code>/var/log/z-push</code>) and make writeable by the webserver (can be altered in <code>config.php</code> file)
#* <code> mkdir /var/lib/z-push </code>
#* <code> mkdir /var/lib/z-push </code>
Line 64: Line 64:


=== Z-Push Config ===
=== Z-Push Config ===
Note that starting from Z-Push version v2.0.6, there are now seperate config files for both Z-Push and the Zimbra Backend.  If you're installing an old version for some reason, see the [[#Pre Z-Push v2.0.6|Pre Z-Push v2.0.6]] section below.
The following are excerpts from the config files that need to be edited or should be considered by you.  Update the existing files provided with the software as per your requirements.
'''Z-Push Config''' (EG <code> /var/www/z-push/config.php</code>)
<source lang="php">
// Update existing fields in config
define('TIMEZONE', 'Europe/London"');
define('PROVISIONING', false);
$BACKEND_PROVIDER = "BackendZimbra";
</source>
'''Zimbra Backend Config''' (EG <code> /var/www/z-push//backend/zimbra/config.php</code>)
The below is just an example, see the <code>INSTALL</code> file that comes with the Zimbra backend to work out the correct settings for your environment.
<source lang="php">
define('ZIMBRA_URL', 'https://mail.domain.com');
define('ZIMBRA_USER_DIR', 'zimbra');
define('ZIMBRA_SYNC_CONTACT_PICTURES', true);
define('ZIMBRA_VIRTUAL_CONTACTS',true);
define('ZIMBRA_VIRTUAL_APPOINTMENTS',true);
define('ZIMBRA_VIRTUAL_TASKS',true);
define('ZIMBRA_IGNORE_EMAILED_CONTACTS',true);
define('ZIMBRA_HTML',true);
define('ZIMBRA_ENFORCE_VALID_EMAIL', true);
define('ZIMBRA_SMART_FOLDERS',false);
define('ZIMBRA_RETRIES_ON_HOST_CONNECT_ERROR',5);
define('ZIMBRA_LOCAL_CACHE', true);
define('ZIMBRA_DEBUG',false);
</source>
==== Pre Z-Push v2.0.6 ====
The below is just an example, see the <code>INSTALL</code> file that comes with the Zimbra backend to work out the correct settings for your environment.
The below is just an example, see the <code>INSTALL</code> file that comes with the Zimbra backend to work out the correct settings for your environment.


Navigation menu