Hello!
The mail_location value with all the necessary keys can be quite long, for example: mail_location = mdbox:~/mdbox:VOLATILEDIR=/dev/shm/dovecot/volatile/%d/%n:LISTINDEX=/dev/shm/dovecot/listindex/%d/%n/dovecot.list.index:ALT=/var/dovecot-alt/%d/%n/mdbox When trying to split a value into multiple lines like:
mail_location =
mdbox:~/mdbox:
VOLATILEDIR=/dev/shm/dovecot/volatile/%d/%n:
LISTINDEX=/dev/shm/dovecot/listindex/%d/%n/dovecot.list.index:
ALT=/var/dovecot-alt/%d/%n/mdbox
according to the documentation https://doc.dovecot.org/configuration_manual/config_file/index.html#long-lin..., each new line adds a whitespace, which breaks the value: doveadm config mail_location mail_location = mdbox:~/mdbox: VOLATILEDIR=/dev/shm/dovecot/volatile/%d/%n: LISTINDEX=/dev/shm/dovecot/listindex/%d/%n/dovecot.list.index: ALT=/var/dovecot-alt/%d/%n/mdbox
doveadm mailbox list -u mail@example.com doveadm(mail@example.com): Error: Namespace '': Unknown setting: VOLATILEDIR
Is it possible to split the value into multiple lines for better readability? Maybe add functionality to trim extra spaces when reading the mail_location value?