[Dovecot] 2.2beta2: LSUB broken

Lutz Preßler Lutz.Pressler at SerNet.DE
Mon Feb 25 19:33:51 EET 2013


Hello,

I have some problems with (listing) subscriptions on my test system
running 2.2beta2 (compared with 2.1.15, configuration and Maildir content
unchanged):

With 2.1.15:
0 lsub "" "*"
* LSUB () "." "INBOX.Trash"
* LSUB () "." "INBOX.in2009"
* LSUB () "." "INBOX.test"
* LSUB () "." "INBOX.test.test2"
* LSUB () "." "INBOX.in2010"
* LSUB () "." "INBOX.in"
* LSUB () "." "INBOX.virtual.small"
* LSUB () "." "INBOX.virtual.sent"
* LSUB () "." "INBOX.virtual.allin"
* LSUB () "." "INBOX.virtual.week"
* LSUB () "." "INBOX.virtual.gmail"
0 OK Lsub completed.

With 2.2beta2 (output of doveconf -n attached):
0 lsub "" "*"
0 OK Lsub completed.

... empty list. Same with "list (subscribed)".

After disableing the "virtual" namespace in the config, it gets:
0 lsub "" "*"
* LSUB () "." Trash
* LSUB () "." in2009
* LSUB () "." test
* LSUB () "." test.test2
* LSUB () "." in2010
* LSUB () "." in
* LSUB () "." INBOX.Trash
* LSUB () "." INBOX.in2009
* LSUB () "." INBOX.test
* LSUB () "." INBOX.test.test2
* LSUB () "." INBOX.in2010
* LSUB () "." INBOX.in
0 OK Lsub completed.

Note mailboxes listed with and without INBOX. prefix.

Thanks,
  Lutz
-------------- next part --------------
# 2.2.beta2 (357b1f1285ea): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-vserver-amd64 x86_64 Debian 6.0.7 
auth_username_format = %n
auth_verbose = yes
hostname = some.host.name 
mail_access_groups = mails
mail_location = maildir:~/Maildir
mail_log_prefix = "%s(%p, %u) %{session}: "
mail_plugins = " virtual acl zlib notify mail_log quota listescape stats fts fts_lucene"
mail_temp_dir = /var/tmp
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
namespace others {
  list = children
  location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  prefix = INBOX.shared.%%u.
  separator = .
  subscriptions = no
  type = shared
}
namespace personal {
  inbox = yes
  location = maildir:~/Maildir
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Entw?rfe {
    special_use = \Drafts
  }
  mailbox Gesendet {
    special_use = \Sent
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Papierkorb {
    special_use = \Trash
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  mailbox sent {
    special_use = \Sent
  }
  mailbox spam {
    special_use = \Junk
  }
  prefix = INBOX.
  subscriptions = yes
  type = private
}
namespace virtual {
  location = virtual:~/Maildir/virtual:LAYOUT=maildir++
  mailbox allin {
    special_use = \All
  }
  prefix = INBOX.virtual.
  type = private
}
passdb {
  args = scheme=CRYPT username_format=%u /etc/dovecot/users
  driver = passwd-file
}
plugin {
  acl = vfile:/etc/dovecot/global-acls:cache_secs=300
  acl_shared_dict = file:/etc/dovecot/meta/shared-mailboxes
  fts = lucene
  fts_decoder = decode2text
  fts_lucene = default_language=german whitespace_chars=@. normalize
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename flag_change save mailbox_create
  mail_log_fields = uid box msgid size flags vsize from
  quota = maildir:User quota
  quota_rule = *:storage=2G
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  stats_refresh = 10s
  stats_track_cmds = yes
}
protocols = " imap lmtp sieve"
service auth {
  unix_listener auth-userdb {
    group = mails
    mode = 0660
  }
}
service config {
  unix_listener config {
    mode = 0666
  }
}
service decode2text {
  executable = script /etc/dovecot/decode2text.sh
  unix_listener decode2text {
    mode = 0666
  }
  user = dovecot
}
service imap {
  executable = imap postlogin
}
service lmtp {
  inet_listener lmtp {
    address = 127.0.0.1
    port = 24
  }
}
service managesieve-login {
  inet_listener sieve {
    address = 127.0.0.1
    port = 4190
  }
}
service postlogin {
  executable = script-login -d rawlog -b -t
}
service stats {
  fifo_listener stats-mail {
    group = mails
    mode = 0660
  }
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  args = username_format=%u /etc/dovecot/users
  driver = passwd-file
}
protocol lmtp {
  mail_plugins = " virtual acl zlib notify mail_log quota listescape stats fts fts_lucene sieve"
}
protocol lda {
  mail_plugins = " virtual acl zlib notify mail_log quota listescape stats fts fts_lucene sieve"
}
protocol imap {
  imap_client_workarounds = tb-extra-mailbox-sep tb-lsub-flags
  imap_idle_notify_interval = 30 mins
  mail_plugins = " virtual acl zlib notify mail_log quota listescape stats fts fts_lucene imap_acl imap_quota imap_zlib imap_stats"
}


More information about the dovecot mailing list