Hello,
I'm trying to migrate old ispconfig server with dovecot + postfix to a new
modernized server. I'm having some trouble with dovecot doing what I want/need
to reuse use my old configuration. I've been using maildir++.
The new dovecot makes me some headcache as I cannot simply reuse the old
configuration or INBOX folder. Any ideas how to get this fixed?
My Maildir's & IMAP looked like this for the old system:
Maildir/ <-- obviously not shown in IMAP :)
INBOX/
Drafts/
Templates/
Sent/
Archives/
Trash
On my old ispconfig server with older linux/dovecot version I simply had this
configuration:
namespace inbox {
inbox = yes
mailbox ".Drafts" {
auto = no
special_use = \Drafts
}
mailbox Drafts {
auto = subscribe
special_use = \Drafts
}
mailbox ".Junk" {
auto = no
special_use = \Junk
}
mailbox Spam {
auto = no
special_use = \Junk
}
mailbox Junk {
auto = subscribe
special_use = \Junk
}
mailbox ".Trash" {
auto = no
special_use = \Trash
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
mailbox Archives {
auto = subscribe
special_use = \Archive
}
}
My approach to make this work using dovecot 2.3.21 got me in some trouble.
Obviously new dovecot wants to store INBOX-Date in Maildir/{cur,tmp,new}
instead of Maildir/INBOX?
I've tried with this configuration - which at least correctly shows INBOX-Data
now in my IMAP, but I also have some troubles:
Maildir/ <-- obviously not shown in IMAP :)
INBOX/
My Custom Folder/
Drafts/ <------------- repeating from imap-root subscribing it there
duplicates it here :-/
Templates/
Sent/
Archives/
Trash
.Trash
Drafts/
Templates/
Sent/
Archives/
Trash
.Trash (somehow same than Trash, only want Trash non-dotted)
New configuration approach:
mail_location = maildir:/var/vmail/%d/%n/Maildir/:LAYOUT=fs:
DIRNAME=/:maildir_copy_with_hardlinks=yes
maildir_copy_with_hardlinks = yes
plugin {
mailbox_alias_junk1 = Junk
mailbox_alias_junk2 = Spam
mailbox_alias_sent_de = Gesendet
}
namespace {
type = private
separator = /
location = maildir:/var/vmail/%d/%n/Maildir/:LAYOUT=fs:DIRNAME=/:
LISTINDEX=
inbox = no
list = yes
subscriptions = yes
mailbox .Junk {
auto = no
special_use = \Junk
}
mailbox .Drafts {
auto = no
special_use = \Drafts
}
mailbox .Trash {
auto = no
special_use = \Trash
}
mailbox .Sent {
auto = no
special_use = \Sent
}
mailbox .Archives {
auto = no
special_use = \Archive
}
mailbox .Templates {
auto = no
}
}
namespace inbox {
type = private
separator = /
prefix = INBOX/
location = maildir:/var/vmail/%d/%n/Maildir/:LAYOUT=fs:DIRNAME=/
inbox = yes
list = yes
hidden = yes
subscriptions = yes
mailbox .Junk {
auto = no
}
mailbox .Drafts {
auto = no
}
mailbox .Trash {
auto = no
}
mailbox .Sent {
auto = no
}
mailbox .Archives {
auto = no
}
mailbox .Templates {
auto = no
}
}
--
Best regards
Gabriel Kaufmann
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]