IMAP sessions quit when calling MYRIGHTS on shared namespace

Franz Knipp franz at qnipp.com
Wed Jun 25 07:11:58 UTC 2014


Hi,

  the IMAP connection is dropped, when I call MYRIGHTS on the root of my
shared folders.

Using the configuration below, the shared folders are located in shared/%%U/

# telnet localhost imap
Trying ::1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE STARTTLS AUTH=PLAIN] Dovecot ready.
. LOGIN XXXXXXX xxxx
. OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS
THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN
NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH
ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY
MOVE QUOTA ACL RIGHTS=texk] Logged in
. MYRIGHTS shared
Connection closed by foreign host.

I'd expect some kind of error message instead of dropping the connection.

Kind regards,

Franz


# 2.2.13: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-358.18.1.el6.x86_64 x86_64 CentOS release 6.4 (Final)
auth_master_user_separator = *
auth_verbose = yes
debug_log_path = /var/log/dovecot_debug.log
default_client_limit = 3500
disable_plaintext_auth = no
import_environment = TZ DOVECOT_HOSTNAME
lmtp_rcpt_check_quota = yes
mail_gid = vmail
mail_location = mdbox:~/mail
mail_plugins = acl quota zlib mail_log notify
mail_uid = vmail
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body environment
mailbox date ihave duplicate vacation-seconds imapflags notify
mbox_write_locks = fcntl
namespace {
  list = children
  location = mdbox:%%h/mail
  prefix = shared/%%u/
  separator = /
  subscriptions = no
  type = shared
}
namespace {
  hidden = yes
  list = no
  location = pop3c:
  prefix = POP3-MIGRATION-NS/
}
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    auto = no
    special_use = \Drafts
  }
  mailbox Sent {
    auto = no
    special_use = \Sent
  }
  mailbox Spam {
    auto = subscribe
    special_use = \Junk
  }
  mailbox Trash {
    auto = no
    special_use = \Trash
  }
  prefix = INBOX/
  separator = /
  subscriptions = yes
}
namespace parent {
  hidden = yes
  list = no
  location =
  prefix =
  separator = /
  subscriptions = yes
}
passdb {
  args = /etc/dovecot/passwd.masterusers
  driver = passwd-file
  master = yes
}
passdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  acl = vfile
  acl_shared_dict = file:/var/spool/imap/dovecot-shared-mailboxes
  mail_log_events = delete undelete expunge copy save mailbox_create
mailbox_delete mailbox_rename
  pop3_migration_mailbox = POP3-MIGRATION-NS/INBOX
  quota = dict:user::file:%h/mail/dovecot-quota
  quota_exceeded_message = Empfaenger Postfach ist voll (Mailbox Quota
Exceeded)
  quota_grace = 50M
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
  sieve = ~/sieve/active
  sieve_before = /etc/dovecot/sieve_before/movespamfolder.sieve
  sieve_dir = ~/sieve
  sieve_extensions = +notify -enotify +imapflags +vacation-seconds
  sieve_max_actions = 1000
  sieve_max_redirects = 1000
  sieve_vacation_max_period = 0
  sieve_vacation_min_period = 0
  zlib_save = gz
  zlib_save_level = 6
}
pop3_no_flag_updates = yes
pop3_uidl_format = %v.%u
pop3c_host = pop3.example.com
pop3c_master_user = master
pop3c_password = secret
protocols = imap pop3 lmtp sieve
service anvil {
  unix_listener anvil-auth-penalty {
    mode = 00
  }
}
service auth {
  unix_listener auth-userdb {
    mode = 0777
  }
}
service imap-login {
  process_limit = 3000
  process_min_avail = 16
  service_count = 0
}
service imap {
  process_limit = 10240
}
service lmtp {
  inet_listener lmtp {
    port = 26
  }
}
service managesieve-login {
  inet_listener sieve_deprecated {
    port = 2000
  }
}
service pop3-login {
  service_count = 0
}
service pop3 {
  process_limit = 10240
}
service quota-warning {
  executable = script /usr/local/bin/quota-warning.sh
  unix_listener quota-warning {
    user = vmail
  }
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
syslog_facility = local0
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
protocol lmtp {
  mail_plugins = acl quota zlib mail_log notify sieve
}
protocol doveadm {
  mail_plugins = acl quota zlib mail_log notify pop3_migration
}
protocol lda {
  mail_plugins = acl quota zlib mail_log notify sieve
}
protocol imap {
  mail_max_userip_connections = 3789
  mail_plugins = acl quota zlib mail_log notify imap_acl imap_quota
}

-- 
Franz Knipp, +43 664 3980169
qnipp GmbH, Hauptstraße 54, 7064 Oslip, Österreich
http://qnipp.com   http://qnipp.com/qnipp.vcf


More information about the dovecot mailing list