Dovecot 2.2.9, imapsync 1.564 の組合せにしたらエラーが出て接続できなくなった。
Error: user xxx: Initialization failed: namespace configuration error: There can be only one namespace with inbox=yes Error: Invalid user settings. Refer to server log for more information.
/usr/pkg/etc/dovecot/local.conf にはこう書いてある。
# 略
namespace {
separator = .
prefix = INBOX.
inbox = yes
}
こう修正したら、エラーは出なくなった。
# 略
namespace inbox {
# 略
あと、以前は imapsync の namespace 周りにバグがあって、オプションの –prefix2 と –sep2 で明示的に指定してやる必要があったのだけれど、今見たら必要なくなったみたい。