Tag Archives: dovecot

Unknown setting: mail_privileged_group

Downgrade dovecot to 1.0.10 give me error :

mail# /usr/local/etc/rc.d/dovecot start
Starting dovecot.
Error: Error in configuration file /usr/local/etc/dovecot.conf line 262: Unknown setting: mail_privileged_group
Fatal: Invalid configuration in /usr/local/etc/dovecot.conf

Find line 262, talk about mail_priveleged_group

solution :

change
mail_privileged_group = mail

into

mail_extra_groups = mail

and start dovecot service.

Work :-)

Upgrade Dovecot 1.0.10 to 1.0.13

Recent ports update give old ports that need to update.

Dovecot

After upgrade to 1.0.13

mail# pkg_info | grep dovecot
dovecot-1.0.13      Secure and compact IMAP and POP3 servers

I see confirmation from dovecot :

Warning: mail_extra_groups setting was often used insecurely so it is now deprecated,

use mail_access_groups or mail_privileged_group instead

Maybe I’m wrong, try restart dovecot service.

mail# /usr/local/etc/rc.d/dovecot restart

Stopping dovecot.
Waiting for PIDS: 42620.
Starting dovecot.

Warning: mail_extra_groups setting was often used insecurely so it is now deprecated, use mail_access_groups or mail_privileged_group instead

still same message, after read the conf . I decide to find the keywords in conf.

mail# ee /usr/local/etc/dovecot.conf

change the line:

# Grant access to these extra groups for mail processes. Typical use would be
# to give "mail" group write access to /var/mail to be able to create dotlocks.
#mail_extra_groups =
mail_extra_groups = mail

into :

mail_access_groups = mail

trying restart service :

mail# /usr/local/etc/rc.d/dovecot restart

Stopping dovecot.
Waiting for PIDS: 43112.
Starting dovecot.

Great, time to find out what is that mean :-)