Announcement

Collapse
No announcement yet.

Internatinalized domain names (IDN) support

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Internatinalized domain names (IDN) support

    Hi everybody,

    I have an OX installation reusing our existing email infrastructure (web hosting servers with courier for IMAP/POP3 and exim for SMTP).

    I'm trying to setup some IDN domains (like xn--cumpleaos-r6a.tk) in OX but have trouble logging in.
    If I understand the docs correctly, OX has IDN support and should send the login in punycode format, which is what we use in courier and exim, but in courier's log I see the login almost verbatim (demo@cumplea.os.tk) and it fails.

    The context has an lmapping for xn--cumpleaos-r6a.tk bot not for cumpleaƱos.tk.

    I tried creating the users with punycode (demo@xn--cumpleaos-r6a.tk) and without (demo@cumpleaƱos.tk) but that made no difference. I also tried with different --username, --email and --imaplogin combinations to no avail.

    Am I missconfiguring something? Is this a bug?

    Any pointers will be greatly appreciated.

    Some Info (can provide more):
    UI version: 7.8.3 Rev13
    Server version: 7.8.3-Rev14
    OS: CentOS 7.3
    openjdk version "1.8.0_121"
    OpenJDK Runtime Environment (build 1.8.0_121-b13)
    OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

    # grep -vE "^(#|$)" /opt/open-xchange/etc/imapauth.properties
    IMAP_SERVER=localhost
    IMAP_PORT=143
    IMAP_USE_SECURE=true
    IMAP_TIMEOUT=5000
    IMAP_CONNECTIONTIMEOUT=5000
    USE_FULL_LOGIN_INFO=true
    USE_FULL_LOGIN_INFO_FOR_USER_LOOKUP=true
    USE_FULL_LOGIN_INFO_FOR_CONTEXT_LOOKUP=false
    LOWERCASE_FOR_CONTEXT_USER_LOOKUP=false
    USE_MULTIPLE=true
    com.openexchange.authentication.imap.imapAuthEnc=U TF-8

    # grep -vE "^(#|$)" /opt/open-xchange/etc/plugin/hosting.properties
    CONTEXT_STORAGE=com.openexchange.admin.storage.mys qlStorage.OXContextMySQLStorage
    UTIL_STORAGE=com.openexchange.admin.storage.mysqlS torage.OXUtilMySQLStorage
    AVERAGE_CONTEXT_SIZE=200
    CONTEXTS_PER_SCHEMA=1000
    CREATE_CONTEXT_USE_UNIT=context
    CHECK_CONTEXT_LOGIN_MAPPING_REGEXP=.*
    NEW_CONTEXT_DEFAULT_ACCESS_COMBINATION_NAME=webmai l_plus
    SCHEMA_MOVE_MAINTENANCE_REASON=1431655765

    # grep -vE "^(#|$)" /opt/open-xchange/etc/AdminUser.properties
    DEFAULT_PASSWORD_MECHANISM=SHA
    DEFAULT_TIMEZONE=America/Buenos_Aires
    UID_NUMBER_START=-1
    CHECK_USER_UID_FOR_NOT_ALLOWED_CHARS=false
    CHECK_USER_UID_REGEXP=[$@%\\.+a-zA-Z0-9_-]
    AUTO_TO_LOWERCASE_UID=false
    USERNAME_CHANGEABLE=true
    PRIMARY_MAIL_UNCHANGEABLE=false
    [ ... ]
Working...
X