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-lines, 
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 m...@example.com
doveadm(m...@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?
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to