2.1 to 2.2 server migration Qs: sanity check, config ?
Aki Tuomi
aki.tuomi at dovecot.fi
Sat Dec 16 09:45:33 EET 2017
> On December 16, 2017 at 1:44 AM voytek at sbt.net.au wrote:
>
>
> On Sat, December 16, 2017 2:34 am, Aki Tuomi wrote:
> > Please read between the lines =)
>
> > at least you should remove autocreate plugin.
>
> Aki, thanks.
>
> I forgot to write this is meant as a plain vanilla pop/imap multi
> user/multi domain server, no special requirements or deviations should be
> needed
>
>
> >> mail_gid = 2000 mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
> >>
> >
> > The INDEX= is redundant.
>
> so I go from
> mail_location = maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/
> to
> mail_location = maildir:/%Lh/Maildir/
>
>
you could use
mail_location = maildir:~/Maildir
You can use mail_home (or home) to specify homedir, such as
/var/mail/%Ld/%Ln to get lowercase path.
>
>
> >> private }
> >> namespace { list = children location =
> >> maildir:/%%Lh/Maildir/:INDEX=/%%Lh/Maildir/Shared/%%u
> >>
> >
> > You should read https://wiki.dovecot.org/SharedMailboxes/Shared
>
> (not sure whether I might have tried shareing my mailbox across two
> domains for myself once?...maybe that's why it's there... not sure)
>
> so I just remove this whole block:
>
> namespace {
> type = shared
> separator = /
> prefix = Shared/%%u/
> location = maildir:/%%Lh/Maildir/:INDEX=/%%Lh/Maildir/Shared/%%u
> # this namespace should handle its own subscriptions or not.
> subscriptions = yes
> list = children
> }
>
> thanks again, sorry for dumb questions
>
> Voytek
>
No problem, it's better to ask than not. =)
Aki
More information about the dovecot
mailing list