BUG: extra_groups doesn't accept multiple values
Hello,
I'm reporting a bug in the config processor/parser. The option extra_groups does not accept multiple (list) values. If you put a section like:
service auth-worker {
user = $default_internal_user
group = $default_internal_group
extra_groups = shadow mail
}
you will get the error message like:
dovecotFatal: service(auth-worker) Group doesn't exist: shadow mail (See service auth-worker { extra_groups } setting)
It is trivial to reproduce - just try to run the dovecot with the section like above, and you will get the error.
Best regards,
Marcin
On 14/06/2025 19:31 EEST Marcin via dovecot <dovecot@dovecot.org> wrote:
Hello,
I'm reporting a bug in the config processor/parser. The option extra_groups does not accept multiple (list) values. If you put a section like:
service auth-worker {
user = $default_internal_user group = $default_internal_group extra_groups = shadow mail
}
you will get the error message like:
dovecotFatal: service(auth-worker) Group doesn't exist: shadow mail (See service auth-worker { extra_groups } setting)
It is trivial to reproduce - just try to run the dovecot with the section like above, and you will get the error.
Best regards,
Marcin
Works with lastest main at least. What version are you using? Can you try shadow,mail
, although the code seems to split with space and comma, so I wonder if you somehow put some kind of special space there?
Aki
participants (2)
-
Aki Tuomi
-
m@sacha.pl