[horde] H6 Active Sync authentication error
horst.simon2 at icloud.com
horst.simon2 at icloud.com
Mon Apr 13 09:54:20 UTC 2026
> On 13 Apr 2026, at 17:55, Andreas Mauser <andreas at mauser.info> wrote:
>
> April 13, 2026 at 8:05 AM, horst.simon2 at icloud.com mailto:horst.simon2 at icloud.com wrote:
>
>
>>
>> Active Sync gives me authentication error, the username (horst at address.net) is the full email address, but when I check the logs it shows only the name from before the @.
>> Carddav and Caldav authenticating correct.
>> Following are the log entries:
>> 2026-04-13T15:34:43+10:00 DEBUG: HORDE [horde] Horde_Rpc::__construct complete [pid 3228 on line 48 of "/opt/local/www/apache2/horde/vendor/horde/rpc/lib/Horde/Rpc/ActiveSync.php"]
>> 2026-04-13T15:34:43+10:00 DEBUG: HORDE Horde_Rpc_ActiveSync::getResponse() starting for OPTIONS [pid 3228 on line 197 of "/opt/local/www/apache2/horde/vendor/horde/horde/rpc.php"]
>> 2026-04-13T15:34:47+10:00 NOTICE: HORDE Login failed from ActiveSync client for user horst. [pid 3228 on line 603 of "/opt/local/www/apache2/horde/vendor/horde/activesync/lib/Horde/ActiveSync.php"]
>> 2026-04-13T15:34:47+10:00 NOTICE: HORDE Sending HTTP 401 Unauthorized header response. [pid 3228 on line 129 of "/opt/local/www/apache2/horde/vendor/horde/rpc/lib/Horde/Rpc/ActiveSync.php"]
>
> It could be one of these:
>
> Navigate to Administration > Configuration > Horde > ActiveSync.
> Look for a setting typically labeled "Strip domain part from the username?" or "Username format".
>
> Check your horde/config/conf.php. Horde might be configured to globally treat the username as a simple string.
> Look for your authentication driver configuration:
>
> PHP
> $conf['auth']['params']['strip_domain'] = true;
>
>
> Check your imp/config/backends.local.php.
> If you have a configuration for your IMAP server, ensure the hordeauth parameter is handled correctly. If ActiveSync tries to authenticate against the mail server to "verify" the user, and the mail server expects horst at address.net but receives horst, it will fail.
> Ensure your backend has:
>
> PHP
> 'hordeauth' => 'full',
>
>
> Best regards,
> Andreas
There was no driver authentication parameter in conf.php, so I added:
> $conf['auth']['params']['strip_domain'] = false;
The imp backend.php has
'hordeauth' => 'full'
The Horde Web login and CardDav and CalDav are working correct with the full username, only active sync has authentication issues. Authentication is using imp authentication, for imp I am using dovecot and the users are in mariadb created by
postfixadmin.
Best Regards,
Horst Simon
More information about the horde
mailing list