zokradonh/kopano-docker

z-push default configuration mismatch

Closed this issue · 6 comments

With the default docker configuration there is an inconsistency of the config between autodiscover.conf.php and z-push.conf.php. Assuming the default OOBE behaviour is a single domain configuration, the file z-push.conf.php needs this line changed
define('USE_FULLEMAIL_FOR_LOGIN', false);
which can again be accomplished by adding this to kopano_zpush.env
KCCONF_ZPUSH_USE_FULLEMAIL_FOR_LOGIN=false

However, I suppose it would be best to make it default for new installations by adding it to the defaults of the setup routine, so it won't break existing installations. This misaligned defaults seems to come directly from z-push repo.

The reasoning behind having this value set to true can be found in:

But wouldn't that mean this should then also be set true?

I think it could. Has been a while since I last set it up.

Let me throw in another point of view:
With the default installation using OpenLDAP and the test users, one creates a domain with an self selected domain/suffix. After the setup one can login to kopano via /webapp with only the username e.g. user1 instead of the full username. In terms of consistency I would argue, that same should go for z-push, at least for the default setup. Again, pointing out that the "default installation" seems to represent a single domain installation.
Or to put it differently: why does the default login format between z-push and webapp differ?

In terms of consistency I would argue, that same should go for z-push, at least for the default setup.

Yes, but that already works with the default configuration. But I agree that just based on the name of the configuration option that may not be intuitive.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days