Skip to content

migrating mail_location deserves some more information #1332

@wolegis

Description

@wolegis

IMHO the line

mail_location setting & mail userdb field | Split into multiple mail_* settings.

in Upgrading Dovecot CE from 2.3 to 2.4 deserves a separate section explaining the migration in more detail.

In my case it took considerable time and several trials and errors to figure out that previous

mail_home = /srv/vmail/%d/%u
mail_location = sdbox:~/mail

needed to be transformed to

mail_home = /srv/vmail/%{user|domain}/%{user|username}
mail_driver = sdbox
mail_path = /srv/vmail/%{user|domain}/%{user|username}/mail

In particular, it was not possible to specify mail_path = $SET:mail_home/mail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions