Issue with imap folder structure

absolutely_free at libero.it absolutely_free at libero.it
Thu Oct 5 01:24:35 EEST 2017


Hi,

I use Dovecot 2.2.32

I just migrated spool from another server (by copying filesystem, I use maildir), this is an example of mailbox's content:

drwx------ 20 postfix postfix 30 Oct 4 18:38 .
drwx------ 3 postfix postfix 3 Nov 16 2012 ..
drwx------ 5 postfix postfix 11 Jun 19 18:22 .Deleted Items
drwx------ 5 postfix postfix 11 Sep 29 09:27 .Drafts
drwx------ 5 postfix postfix 9 Oct 4 10:18 .INBOX.Drafts
drwx------ 5 postfix postfix 9 Oct 4 10:18 .INBOX.Sent
drwx------ 5 postfix postfix 9 Oct 3 18:01 .INBOX.Trash
drwx------ 5 postfix postfix 12 Sep 29 09:27 .Junk
drwx------ 5 postfix postfix 8 Dec 9 2014 .Junk E-mail
drwx------ 5 postfix postfix 8 Nov 11 2015 .Archive
drwx------ 5 postfix postfix 9 Oct 2 14:18 .Posta indesiderata
drwx------ 5 postfix postfix 9 Jun 19 18:22 .Posta inviata
drwx------ 5 postfix postfix 10 Oct 4 12:27 .Sent
drwx------ 5 postfix postfix 10 Oct 4 18:01 .Trash
drwx------ 2 postfix postfix 215 Oct 4 18:00 cur
-rw------- 1 postfix postfix 53 Feb 16 2017 dovecot-keywords
-rw------- 1 postfix postfix 13963 Oct 4 16:45 dovecot-uidlist
-rw------- 1 postfix postfix 8 Oct 3 18:01 dovecot-uidvalidity
-r--r--r-- 1 postfix postfix 0 Nov 27 2015 dovecot-uidvalidity.5658162a
-r--r--r-- 1 postfix postfix 0 Sep 27 18:18 dovecot-uidvalidity.59cbcf5c
-rw------- 1 postfix postfix 7200 Sep 29 01:19 dovecot.index
-rw------- 1 postfix postfix 63336 Oct 4 18:00 dovecot.index.cache
-rw------- 1 postfix postfix 6436 Oct 4 18:38 dovecot.index.log
-rw------- 1 postfix postfix 216 Oct 3 18:01 dovecot.mailbox.log
drwx------ 2 postfix postfix 2 Oct 4 16:45 new
-rw------- 1 postfix postfix 96 Oct 3 18:01 subscriptions
drwx------ 2 postfix postfix 2 Oct 4 16:12 tmp

and this is my Dovecot's conf:


auth_mechanisms = plain login digest-md5 cram-md5
disable_plaintext_auth = no
first_valid_gid = 125
first_valid_uid = 125
mail_gid = 1003
mail_location = maildir:/var/spool/virtual/domains
mail_privileged_group = postfix
mail_uid = 1003
namespace {
inbox = yes
location =
prefix = INBOX.
separator = .
type = private
}
namespace inbox {
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 =

}
passdb {
args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
passdb {
args = /etc/dovecot/dovecot-sql-crypt.conf.ext
driver = sql
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
}
unix_listener auth-userdb {
group = postfix
mode = 0600
user = postfix
}
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
}
ssl_cert = </etc/ssl/wildcard.domain.net_bundle.crt
ssl_key = # hidden, use -P to show it
userdb {
args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
driver = sql


It seems I have duplicate folder (for example during webmail access, I use Roundcube).

What is wrong with my setup?

Thank you


More information about the dovecot mailing list