# 2.1.10: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.1 auth_debug = yes auth_master_user_separator = * auth_username_format = %Ln default_vsz_limit = 2 G dict { sieve = mysql:/etc/dovecot/dict-sql-sieve.conf sieve_dir = mysql:/etc/dovecot/dict-sql-sieve_dir.conf } disable_plaintext_auth = no dotlock_use_excl = no dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u -l5 log_path = /var/log/dovecot.log log_timestamp = "%Y-%m-%d %H:%M:%S " login_greeting = xbsd it solutions mail_access_groups = mail mail_debug = yes mail_location = mdbox:~/mdbox:ALT=/var/vmail/alt/%n mail_plugins = acl namespace { hidden = no list = children location = maildir:/var/vmail/public/xbsd/Maildir:INDEX=~/mdbox/public/xbsd:CONTROL=~/mdbox/public/xbsd prefix = xbsd/ separator = / subscriptions = no type = public } namespace deleted { hidden = yes list = no location = mdbox:~/mdbox:ALT=/var/vmail/alt/%n:MAILBOXDIR=deleted:SUBSCRIPTIONS=subscriptions-deleted prefix = .DELETED/ separator = / type = private } namespace deleted_expunged { hidden = yes list = no location = mdbox:~/mdbox:ALT=/var/vmail/alt/%n:MAILBOXDIR=deleted_expunged:SUBSCRIPTIONS=subscriptions-deleted_expunged prefix = .DELETED/.EXPUNGED/ separator = / type = private } namespace expunged { hidden = yes list = no location = mdbox:~/mdbox:ALT=/var/vmail/alt/%n:MAILBOXDIR=expunged:SUBSCRIPTIONS=subscriptions-expunged prefix = .EXPUNGED/ separator = / type = private } namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = separator = / } passdb { args = scheme=CRYPT username_format=%u /etc/dovecot/master.users.%s driver = passwd-file master = yes pass = yes } passdb { args = /etc/dovecot/dovecot-ldap.conf driver = ldap } plugin { acl = vfile lazy_expunge = .EXPUNGED/ mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename flag_change append save mailbox_create mail_log_fields = uid box msgid size vsize flags from subject mail_replica = remote:mail-storage-2.atm sieve = dict:proxy::sieve;name=active;bindir=~/.sieve-bin sieve_dir = dict:proxy::sieve_dir;bindir=~/.sieve-bin } protocols = imap lmtp pop3 service aggregator { fifo_listener replication-notify-fifo { mode = 0666 } unix_listener replication-notify { mode = 0666 } } service auth { executable = /usr/lib/dovecot/auth unix_listener auth-client { mode = 0660 } unix_listener auth-master { mode = 0600 } unix_listener auth-userdb { mode = 0666 } user = root } service dict { unix_listener dict { mode = 0666 } } service doveadm { process_min_avail = 1 service_count = 1024 } service imap-login { chroot = login executable = /usr/lib/dovecot/imap-login inet_listener imap { address = * port = 143 } service_count = 0 user = dovecot } service imap { executable = /usr/lib/dovecot/imap } service lmtp { inet_listener lmtp { port = 24 } process_limit = 48 } service pop3-login { chroot = login executable = /usr/lib/dovecot/pop3-login inet_listener pop3 { address = * port = 110 } service_count = 0 user = dovecot } service pop3 { executable = /usr/lib/dovecot/pop3 } service replicator { process_min_avail = 1 } ssl = no userdb { args = /etc/dovecot/dovecot-ldap.conf driver = ldap } protocol doveadm { namespace deleted { list = yes location = prefix = } namespace deleted_expunged { list = yes location = prefix = } namespace expunged { list = yes location = prefix = } } protocol imap { imap_client_workarounds = tb-extra-mailbox-sep mail_plugins = acl lazy_expunge notify replication } protocol lmtp { mail_plugins = acl notify replication sieve } protocol pop3 { pop3_uidl_format = %08Xu%08Xv } protocol lda { lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes mail_plugins = notify mail_log sieve acl }
2013/2/5 Timo Sirainen <tss@iki.fi>
On Mon, 2013-02-04 at 09:51 +0100, Adam Maciejewski wrote:
I have moved from dovecot 1.x to 2.x and I have big problem with subfolders. When I'm moving subfolder with other subfolders is moving only main subfolder, without subfolders, example :
What v2.x exactly? Looks like a bug. Probably fixed in a newer version. If you already have a recent v2.1, show your doveconf -n.
mail-storage-1 /var/vmail/home/adamskitest/mdbox/mailboxes # find | egrep -e "janusz|jarek" ./jarek ./jarek/dbox-Mails ./jarek/dbox-Mails/dovecot.index.log ./jarek/jarek2 ./jarek/jarek2/dbox-Mails ./jarek/jarek2/dbox-Mails/dovecot.index.log ./jarek/jarek2/jarek3 ./jarek/jarek2/jarek3/dbox-Mails ./jarek/jarek2/jarek3/dbox-Mails/dovecot.index.log ./janusz ./janusz/dbox-Mails ./janusz/dbox-Mails/dovecot.index.log ./janusz/janusz2 ./janusz/janusz2/dbox-Mails ./janusz/janusz2/dbox-Mails/dovecot.index.log ./janusz/janusz2/janusz3 ./janusz/janusz2/janusz3/dbox-Mails ./janusz/janusz2/janusz3/dbox-Mails/dovecot.index.log
And now I'm moving jarek2 with jarek3 as subfolder to janusz2 subfolder, result :
mail-storage-1 /var/vmail/home/adamskitest/mdbox/mailboxes # find | egrep -e "janusz|jarek" ./jarek ./jarek/dbox-Mails ./jarek/dbox-Mails/dovecot.index.log ./jarek/jarek2 ./jarek/jarek2/jarek3 ./jarek/jarek2/jarek3/dbox-Mails ./jarek/jarek2/jarek3/dbox-Mails/dovecot.index.log ./janusz ./janusz/dbox-Mails ./janusz/dbox-Mails/dovecot.index.log ./janusz/janusz2 ./janusz/janusz2/dbox-Mails ./janusz/janusz2/dbox-Mails/dovecot.index.log ./janusz/janusz2/dbox-Mails/dovecot.index.cache ./janusz/janusz2/janusz3 ./janusz/janusz2/janusz3/dbox-Mails ./janusz/janusz2/janusz3/dbox-Mails/dovecot.index.log ./janusz/janusz2/jarek2 ./janusz/janusz2/jarek2/dbox-Mails ./janusz/janusz2/jarek2/dbox-Mails/dovecot.index.log
As You can see there is jarek2 subfolder but jarek3 havent been moved. I can see this folder in Thunderbird, after clicking error message pops out saying folder dosent exist.
--
Adam Maciejewski
xBSD IT Solutions ul. Różyckiego 8 - 78-100 Kołobrzeg tel. kom. +48 665 138 884 GG: 13821 Regon: 320797083 NIP: 671-171-49-61