Univention Bugzilla – Bug 40018
errors in dovecot listener with CamelCase domain
Last modified: 2016-01-20 13:44:37 CET
+++ This bug was initially created as a clone of Bug #40014 +++ A case sensitive comparisons in the dovecot listener can lead to deleting a shared folder instead of moving it, when * mail/dovecot/mailbox/delete=yes and * the FQDN of the server is not all lowercase and * the folder should be moved to a different mailHomeServer. Another case sensitive comparisons in the dovecot listener can lead to a shared folder not being created on the target host, when * the FQDN of the server is not all lowercase and * the folders mailHomeServer is modified.
Code change: r65706 YAML (r65707): 2015-11-18-univention-mail-dovecot.yaml
Correct fix for the current state of listener. The listener modules's LDAP filter defined via global variable "filter" is interpreted by the listener (NOT the LDAP server!). Because of this, the LDAP filter does case sensitive comparisons. So the case of the FQDN of the host has to match with the LDAP attribute "univentionMailHomeServer". Otherwise the object is ignored by the listener. Later on, in handler() the comparison is done case insensitive which now results in correct behaviour. I was unable to reproduce the faulty behaviour with the new package. OK: code change OK: functional test OK: YAML
<http://errata.software-univention.de/ucs/4.0/388.html>