[horde] Still ActiveSync problems

Ronny Forberger ronnyforberger at ronnyforberger.de
Sun Nov 6 06:30:35 UTC 2022


Hi Kenren,

it doesn't work with the GMail App and neither with the Bluemail App. 
Outlook for Android doesn't work either. It sounds like an Android 
library problem, as it works with TbSync. I have Android 12.

Still I get no activesync log :(

Best regards,

Ronny

Am 06.11.2022 um 03:22 schrieb Kenren Taisho:
> Hello. What app in android are you using? If tbsync works, then there 
> might be no issue with activesync at all? Have you tried using 
> different client? I have issues with activesync and outlook for 
> android. Gmail works fine. Nine app is still the best.
>
> On Sun, Nov 6, 2022, 4:24 AM Ronny Forberger 
> <ronnyforberger at ronnyforberger.de> wrote:
>
>     Hi Brent,
>
>     thank you for your message.
>
>     I have removed the
>
>     $conf['activesync']['logging']['level'] = '1';
>
>     line and created the /var/log/apache2/activesync.log file, but I
>     still
>     have the problem with Android.
>
>     There is nothing in the activesync log and Android tells me, I
>     could not
>     set up the account.
>
>     Weird thing is, it works without problem with the TbSync Thunderbird
>     plugin (still nothing in the log though).
>
>     I am out of ideas.
>
>     Best regards,
>
>     Ronny
>
>     Am 05.11.2022 um 19:52 schrieb Brent:
>     >  Quoting Ronny Forberger <ronnyforberger at ronnyforberger.de>:
>     >
>     >> Hi Michael,
>     >>
>     >> thank you for your advice.
>     >>
>     >> I have the almost recent versions of Horde_Core and
>     Horde_ActiveSync
>     >> (from the Debian packages), but it already worked with even older
>     >> versions, but installed through PEAR.
>     >>
>     >> My versions:
>     >>
>     >> php-horde-core 2.31.16+debian0-2
>     >> php-horde-activesync                  2.41.5-1
>     >>
>     >> My installation doesn't write an ActiveSync log at all to the
>     >> configured path.
>     >>
>     >> Relevant configuration:
>     >>
>     >> $conf['activesync']['params']['driverconfig'] = 'horde';
>     >> $conf['activesync']['storage'] = 'Sql';
>     >> $conf['activesync']['emailsync'] = true;
>     >> $conf['activesync']['version'] = '14.1';
>     >> $conf['activesync']['auth']['type'] = 'basic';
>     >> $conf['activesync']['autodiscovery'] = 'user';
>     >> $conf['activesync']['outlookdiscovery'] = false;
>     >> $conf['activesync']['logging']['path'] =
>     >> '/var/log/apache2/activesync.log';
>     >> $conf['activesync']['logging']['level'] = '1';
>     >> $conf['activesync']['logging']['type'] = 'onefile';
>     >> $conf['activesync']['ping']['heartbeatmin'] = 60;
>     >> $conf['activesync']['ping']['heartbeatmax'] = 2700;
>     >> $conf['activesync']['ping']['heartbeatdefault'] = 480;
>     >> $conf['activesync']['ping']['deviceping'] = true;
>     >> $conf['activesync']['ping']['waitinterval'] = 15;
>     >> $conf['activesync']['enabled'] = true;
>     >>
>     >> I have write permissions on /var/log/apache2 and Apache2 already
>     >> writes logs there.
>     >>
>     >> Any clue why I do not get an ActiveSync log?
>     >>
>     >> Best regards,
>     >>
>     >> Ronny
>     >>
>     >> Am 06.10.2022 um 23:27 schrieb Michael J Rubinsky:
>     >>> Quoting Ronny Forberger <ronnyforberger at ronnyforberger.de>:
>     >>>
>     >>>> Hi,
>     >>>>
>     >>>> I still have ActiveSync problems.
>     >>>>
>     >>>> I configured my Horde 5.2.22 using the Debian packages.
>     >>>>
>     >>>> But I have two ActiveSync Clients which of one connects
>     (BlueMail
>     >>>> App) but I can't see any new messages coming up in folders.
>     >>>>
>     >>>> Another client (Android GMail) does not even set up the device.
>     >>>>
>     >>>> I cannot see any error in the log files which is relevant,
>     and my
>     >>>> active sync device log is not even written.
>     >>>>
>     >>>> My configuration of Horde:
>     >>>>
>     >>>>  <?php
>     >>>>  /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS
>     LINE. */
>     >>>>  // $Id: 08fc885cd91fbae2d752e274b554c5f1645129c8 $
>     >>>>  $conf['vhosts'] = false;
>     >>>>  $conf['debug_level'] = E_ALL & ~E_NOTICE;
>     >>>>  $conf['max_exec_time'] = 0;
>     >>>>  $conf['compress_pages'] = true;
>     >>>>  $conf['secret_key'] = "redacted";
>     >>>>  $conf['umask'] = 077;
>     >>>>  $conf['testdisable'] = true;
>     >>>>  $conf['use_ssl'] = 1;
>     >>>>  $conf['server']['name'] = $_SERVER['SERVER_NAME'];
>     >>>>  $conf['urls']['token_lifetime'] = 30;
>     >>>>  $conf['urls']['hmac_lifetime'] = 30;
>     >>>>  $conf['urls']['pretty'] = 'rewrite';
>     >>>>  $conf['safe_ips'] = array();
>     >>>>  $conf['session']['name'] = 'Horde';
>     >>>>  $conf['session']['use_only_cookies'] = true;
>     >>>>  $conf['session']['timeout'] = 0;
>     >>>>  $conf['session']['cache_limiter'] = 'nocache';
>     >>>>  $conf['session']['max_time'] = 72000;
>     >>>>  $conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
>     >>>>  $conf['cookie']['path'] = '/';
>     >>>>  $conf['sql']['username'] = 'horde';
>     >>>>  $conf['sql']['password'] = "redacted";
>     >>>>  $conf['sql']['socket'] = '/var/run/mysqld/mysqld.sock';
>     >>>>  $conf['sql']['protocol'] = 'unix';
>     >>>>  $conf['sql']['database'] = 'horde_prod';
>     >>>>  $conf['sql']['charset'] = 'utf-8';
>     >>>>  $conf['sql']['ssl'] = false;
>     >>>>  $conf['sql']['splitread'] = false;
>     >>>>  $conf['sql']['logqueries'] = false;
>     >>>>  $conf['sql']['phptype'] = 'mysqli';
>     >>>>  $conf['nosql']['phptype'] = false;
>     >>>>  $conf['ldap']['useldap'] = false;
>     >>>>  $conf['auth']['admins'] = array('ronnyforberger');
>     >>>>  $conf['auth']['checkip'] = true;
>     >>>>  $conf['auth']['checkbrowser'] = true;
>     >>>>  $conf['auth']['resetpassword'] = false;
>     >>>>  $conf['auth']['alternate_login'] = false;
>     >>>>  $conf['auth']['redirect_on_logout'] = false;
>     >>>>  $conf['auth']['list_users'] = 'list';
>     >>>>  $conf['auth']['params']['app'] = 'imp';
>     >>>>  $conf['auth']['driver'] = 'application';
>     >>>>  $conf['auth']['params']['count_bad_logins'] = false;
>     >>>>  $conf['auth']['params']['login_block'] = false;
>     >>>>  $conf['auth']['params']['login_block_count'] = 5;
>     >>>>  $conf['auth']['params']['login_block_time'] = 5;
>     >>>>  $conf['signup']['allow'] = false;
>     >>>>  $conf['log']['priority'] = 'DEBUG';
>     >>>>  $conf['log']['ident'] = 'HORDE';
>     >>>>  $conf['log']['name'] = LOG_USER;
>     >>>>  $conf['log']['type'] = 'syslog';
>     >>>>  $conf['log']['enabled'] = true;
>     >>>>  $conf['log_accesskeys'] = false;
>     >>>>  $conf['prefs']['maxsize'] = 65535;
>     >>>>  $conf['prefs']['params']['driverconfig'] = 'horde';
>     >>>>  $conf['prefs']['driver'] = 'Sql';
>     >>>>  $conf['alarms']['params']['driverconfig'] = 'horde';
>     >>>>  $conf['alarms']['params']['ttl'] = 300;
>     >>>>  $conf['alarms']['driver'] = 'Sql';
>     >>>>  $conf['group']['params']['driverconfig'] = 'horde';
>     >>>>  $conf['group']['driver'] = 'Sql';
>     >>>>  $conf['perms']['driverconfig'] = 'horde';
>     >>>>  $conf['perms']['driver'] = 'Sql';
>     >>>>  $conf['share']['no_sharing'] = false;
>     >>>>  $conf['share']['auto_create'] = true;
>     >>>>  $conf['share']['world'] = true;
>     >>>>  $conf['share']['any_group'] = false;
>     >>>>  $conf['share']['hidden'] = false;
>     >>>>  $conf['share']['cache'] = false;
>     >>>>  $conf['share']['driver'] = 'Sqlng';
>     >>>>  $conf['cache']['default_lifetime'] = 86400;
>     >>>>  $conf['cache']['params']['dir'] = '/var/lib/horde/cache';
>     >>>>  $conf['cache']['params']['sub'] = 0;
>     >>>>  $conf['cache']['driver'] = 'File';
>     >>>>  $conf['cache']['use_memorycache'] = 'Apc';
>     >>>>  $conf['cachecssparams']['url_version_param'] = true;
>     >>>>  $conf['cachejsparams']['url_version_param'] = true;
>     >>>>  $conf['cachejs'] = true;
>     >>>>  $conf['cachecssparams']['driver'] = 'filesystem';
>     >>>>  $conf['cachecssparams']['filemtime'] = false;
>     >>>>  $conf['cachecssparams']['lifetime'] = 86400;
>     >>>>  $conf['cachecss'] = true;
>     >>>>  $conf['cachejsparams']['driver'] = 'filesystem';
>     >>>>  $conf['cachejsparams']['compress'] = 'php';
>     >>>>  $conf['cachejsparams']['lifetime'] = 604800;
>     >>>>  $conf['cachejs'] = true;
>     >>>>  $conf['cachethemesparams']['check'] = 'appversion';
>     >>>>  $conf['cachethemesparams']['lifetime'] = 604800;
>     >>>>  $conf['cachethemes'] = true;
>     >>>>  $conf['lock']['params']['driverconfig'] = 'horde';
>     >>>>  $conf['lock']['driver'] = 'Sql';
>     >>>>  $conf['token']['params']['driverconfig'] = 'horde';
>     >>>>  $conf['token']['driver'] = 'Sql';
>     >>>>  $conf['history']['params']['driverconfig'] = 'horde';
>     >>>>  $conf['history']['driver'] = 'Sql';
>     >>>>  $conf['davstorage']['params']['driverconfig'] = 'horde';
>     >>>>  $conf['davstorage']['driver'] = 'Sql';
>     >>>>  $conf['mailer']['params']['sendmail_path'] =
>     '/usr/sbin/sendmail';
>     >>>>  $conf['mailer']['params']['sendmail_args'] = '-oi';
>     >>>>  $conf['mailer']['type'] = 'sendmail';
>     >>>>  $conf['vfs']['params']['driverconfig'] = 'horde';
>     >>>>  $conf['vfs']['type'] = 'Sql';
>     >>>>  $conf['sessionhandler']['type'] = 'Builtin';
>     >>>>  $conf['sessionhandler']['hashtable'] = false;
>     >>>>  $conf['spell']['driver'] = '';
>     >>>>  $conf['gnupg']['path'] = '/usr/bin/gpg';
>     >>>>  $conf['gnupg']['keyserver'] = array('pool.sks-keyservers.net
>     <http://pool.sks-keyservers.net>');
>     >>>>  $conf['gnupg']['timeout'] = 10;
>     >>>>  $conf['nobase64_img'] = false;
>     >>>>  $conf['image']['driver'] = 'Imagick';
>     >>>>  $conf['exif']['driver'] = 'Bundled';
>     >>>>  $conf['geoip']['datafile'] = '/usr/share/GeoIP/GeoIP.dat';
>     >>>>  $conf['timezone']['location'] =
>     >>>> 'ftp://ftp.iana.org/tz/tzdata-latest.tar.gz';
>     >>>>  $conf['problems']['email'] = 'webmaster at forberger-online.de';
>     >>>>  $conf['problems']['maildomain'] = 'forberger-online.de
>     <http://forberger-online.de>';
>     >>>>  $conf['problems']['tickets'] = false;
>     >>>>  $conf['problems']['attachments'] = true;
>     >>>>  $conf['menu']['links']['help'] = 'all';
>     >>>>  $conf['menu']['links']['prefs'] = 'authenticated';
>     >>>>  $conf['menu']['links']['problem'] = 'all';
>     >>>>  $conf['menu']['links']['login'] = 'all';
>     >>>>  $conf['menu']['links']['logout'] = 'authenticated';
>     >>>>  $conf['portal']['fixed_blocks'] = array();
>     >>>>  $conf['accounts']['driver'] = 'null';
>     >>>>  $conf['user']['verify_from_addr'] = false;
>     >>>>  $conf['user']['select_view'] = true;
>     >>>>  $conf['facebook']['enabled'] = false;
>     >>>>  $conf['twitter']['enabled'] = false;
>     >>>>  $conf['urlshortener'] = false;
>     >>>>  $conf['weather']['provider'] = false;
>     >>>>  $conf['imap']['server'] = 'localhost';
>     >>>>  $conf['imap']['port'] = 143;
>     >>>>  $conf['imap']['secure'] = 'tls';
>     >>>>  $conf['imap']['maildomain'] = 'forberger-online.de
>     <http://forberger-online.de>';
>     >>>>  $conf['imap']['cache_folders'] = false;
>     >>>>  $conf['imap']['enabled'] = true;
>     >>>>  $conf['imsp']['enabled'] = false;
>     >>>>  $conf['kolab']['enabled'] = false;
>     >>>>  $conf['hashtable']['driver'] = 'none';
>     >>>>  $conf['activesync']['params']['driverconfig'] = 'horde';
>     >>>>  $conf['activesync']['storage'] = 'Sql';
>     >>>>  $conf['activesync']['emailsync'] = true;
>     >>>>  $conf['activesync']['version'] = '14.1';
>     >>>>  $conf['activesync']['auth']['type'] = 'basic';
>     >>>>  $conf['activesync']['autodiscovery'] = 'user';
>     >>>>  $conf['activesync']['outlookdiscovery'] = false;
>     >>>>  $conf['activesync']['logging']['path'] =
>     >>>> '/var/log/apache2/activesync.log';
>     >>>>  $conf['activesync']['logging']['level'] = '1';
>     >>>>  $conf['activesync']['logging']['type'] = 'onefile';
>     >>>>  $conf['activesync']['ping']['heartbeatmin'] = 60;
>     >>>>  $conf['activesync']['ping']['heartbeatmax'] = 2700;
>     >>>>  $conf['activesync']['ping']['heartbeatdefault'] = 480;
>     >>>>  $conf['activesync']['ping']['deviceping'] = true;
>     >>>>  $conf['activesync']['ping']['waitinterval'] = 15;
>     >>>>  $conf['activesync']['enabled'] = true;
>     >>>>  /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
>     >>>>
>     >>>> I get alot of (different) php errors in the logs though.
>     >>>>
>     >>>> Any idea what could be wrong?
>     >>>
>     >>> Hard to say without looking at the activesync logs.
>     >>>
>     >>> Some thoughts though: Make sure you have the most up to date
>     >>> Horde_Core and Horde_ActiveSync packages as there are recent
>     fixes
>     >>> for the auto discover functionality that some newer android
>     clients
>     >>> might need.
>     >>>
>     >>> Also, even if GMail doesn't automatically setup the device you
>     >>> should be able to manually configure it for activesync.
>     >>>
>     >>> Regarding BlueMail, I've never used it before, but I just
>     downloaded
>     >>> the android app and it successfully setupt the activesync account
>     >>> and synchronized my mail, calendar, and addressbooks. You can
>     enable
>     >>> activesync logging in the horde config and provide the sync
>     log for
>     >>> the bluemail device.
>     >>>
>     >>>> Best regards,
>     >>>>
>     >>>> Ronny Forberger
>     >>>>  Ronny Forberger
>     >>>> ronnyforberger at ronnyforberger.de
>     >>>> --
>     >>>> Horde mailing list
>     >>>> Frequently Asked Questions: http://horde.org/faq/
>     >>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>     >>
>     >> --
>     >> Ronny Forberger
>     >> ronnyforberger at ronnyforberger.de
>     >>
>     >>
>     >
>     > My configuration looks the same as yours; however, I note you
>     have an
>     > extra line that isn't in my conf.php:
>     >
>     > $conf['activesync']['logging']['level'] = '1';
>     >
>     > I don't have that at all, so I'm not sure where it is being set.
>     To be
>     > clear, you DO have devices set to use ActiveSync, right? Just
>     setup an
>     > account on ios/android and choose to connect to Exchange and
>     fill in
>     > the appropriate information to connect to your server.
>     >
>     > Try to create the file you want in that directory with the
>     appropriate
>     > permissions and see if the file gets updated. Perhaps your
>     apache user
>     > can't create files there but it CAN update them?
>     >
>     > brent
>
>     -- 
>     Ronny Forberger
>     ronnyforberger at ronnyforberger.de
>
>     -- 
>     Horde mailing list
>     Frequently Asked Questions: http://horde.org/faq/
>     To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
-- 
Ronny Forberger
ronnyforberger at ronnyforberger.de


More information about the horde mailing list