Package: cyrus-imapd Version: 2.5.10-3 Severity: normal Tags: patch Dear Maintainer, using cyrus-imapd in Debian we can not create folders containing brackets or other special characters in the name (createmailbox: Invalid mailbox name).
I noticed that in the file "imap/mboxname.c" the GOODCHARS value differs from the upstream version: Debian #define GOODCHARS " #$'+,-.0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~" Upstream (https://github.com/cyrusimap/cyrus- imapd/blob/master/imap/mboxname.c#L1495) #define GOODCHARS " #$'()*+,-.0123456789:=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_abcdefghijklmnopqrstuvwxyz~" -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (501, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages cyrus-imapd depends on: pn cyrus-common <none> ii dpkg 1.19.0.5+b1 ii libc6 2.27-3 ii libicu57 57.1-9 ii libsasl2-2 2.1.27~101-g0780600+dfsg-3.1 ii libssl1.1 1.1.0h-4 ii libwrap0 7.6.q-27 ii zlib1g 1:1.2.11.dfsg-1 cyrus-imapd recommends no packages. cyrus-imapd suggests no packages.