From ed8fb2d06d70d713508486aefff2019e6bd11fc7 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Wed, 24 Sep 2014 12:24:30 +0000 Subject: [PATCH] the latest z-push introduces a new/second USE_FULLEMAIL_FOR_LOGIN parameter see http://discourse.mailinabox.email/t/activesync-z-push-not-working/94/3 --- setup/zpush.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/zpush.sh b/setup/zpush.sh index 4088192d..193e4106 100755 --- a/setup/zpush.sh +++ b/setup/zpush.sh @@ -47,6 +47,7 @@ fi # Configure default config. sed -i "s^define('TIMEZONE', .*^define('TIMEZONE', '$(cat /etc/timezone)');^" /usr/local/lib/z-push/config.php sed -i "s/define('BACKEND_PROVIDER', .*/define('BACKEND_PROVIDER', 'BackendCombined');/" /usr/local/lib/z-push/config.php +sed -i "s/define('USE_FULLEMAIL_FOR_LOGIN', .*/define('USE_FULLEMAIL_FOR_LOGIN', true);/" /usr/local/lib/z-push/config.php # Configure BACKEND rm -f /usr/local/lib/z-push/backend/combined/config.php