On 28. Jan 2026, at 17.50, Artur via dovecot <[email protected]> wrote:
> While playing with the upgrade tool I can see that some config parts are
> not updated even if it seems that there is a new syntax in 2.4.2 CE doc.
> Maybe it's not mandatory to follow the new syntax rules but I suppose it
> would be better to follow the new rules while translating. Example
> follows.
>
> In my 2.3 config I can see :
>
> protocol lmtp {
> mail_plugins = "sieve"
> }
> protocol imap {
> mail_plugins = "imap_sieve"
> }
>
> The updater tool copy these blocks without any change.
> However the suggested syntax in 2.4.2 CE doc looks like:
>
> protocol lmtp {
> mail_plugins {
> sieve = yes
> }
> }
> protocol imap {
> mail_plugins {
> imap_sieve = yes
> }
> }
These actually behave slightly differently. The former fully replaces the
mail_plugins, while the latter adds to the mail_plugins. So if the converter
did what you suggested, it might not always be correct. Looks like the
converter already does do it when your input is:
protocol lmtp {
mail_plugins = $mail_plugins sieve
}
-->
protocol lmtp {
mail_plugins {
sieve = yes
}
}
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]