Recently I migrated to the docker version of the horde App. To reactivate ActiveSync I did the following:
- Identify the local directory of the docker container:
cd /var/lib/docker
find -type d -name "conf.d"|grep upper/etc/horde/horde/conf.d
In my case it was /var/lib/docker/overlay/c08b6b5ce52d7fc78690ea5bb00d913b821bcfae8c7a42e35c1835883a39cd55/upper/etc/horde/horde/conf.d. I changed into that directory and created 05-manual-activesync.php (for some reason the file name had to change in comparsion to old versions of the docker app):
cd /var/lib/docker/overlay/c08b6b5ce52d7fc78690ea5bb00d913b821bcfae8c7a42e35c1835883a39cd55/upper/etc/horde/horde/conf.d
echo "<?php
\$conf['activesync']['enabled'] = true;
\$conf['activesync']['emailsync'] = true;
\$conf['activesync']['version'] = '12.0';
\$conf['activesync']['auth']['type'] = 'basic';
\$conf['activesync']['autodiscovery'] = 'full';
\$conf['activesync']['outlookdiscovery'] = false;
\$conf['activesync']['logging']['type'] = 'horde';
\$conf['activesync']['logging']['path'] = '/var/log/horde/';
\$conf['activesync']['logging']['type'] = 'custom';
\$conf['activesync']['ping']['heartbeatmin'] = 60;
\$conf['activesync']['ping']['heartbeatmax'] = 2700;
\$conf['activesync']['ping']['heartbeatdefault'] = 480;
\$conf['activesync']['ping']['deviceping'] = true;
\$conf['activesync']['ping']['waitinterval'] = 5;
" > 05-manual-activesync.php
chgrp www-data 05-manual-activesync.php
chmod o-rwx 05-manual-activesync.php