D Chen
2012-Mar-04 06:25 UTC
[Dovecot] doveconf: Warning: Obsolete settings.... in /etc/dovecot/dovecot.conf: ...
Got duplicated Warnings from the "doveconf -n" output ! Can anyone explain and fix them ? thx! ?? admin at server:/etc/dovecot$ doveconf -n ? ? # 2.0.13: /etc/dovecot/dovecot.conf ? ? doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf ? ? doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:716: protocol managesieve {} has been replaced by protocol sieve { } ? ? doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:888: add auth_ prefix to all settings inside auth {} and remove the auth {} section completely ? ? doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:926: passdb pam {} has been replaced by passdb { driver=pam } ? ? doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1039: userdb passwd {} has been replaced by userdb { driver=passwd } ? ? doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1101: auth_user has been replaced by service auth { user } ? ? doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf ? ? doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:716: protocol managesieve {} has been replaced by protocol sieve { } ? ? doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:888: add auth_ prefix to all settings inside auth {} and remove the auth {} section completely ? ? doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:926: passdb pam {} has been replaced by passdb { driver=pam } ? ? doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1039: userdb passwd {} has been replaced by userdb { driver=passwd } ? ? doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:1101: auth_user has been replaced by service auth { user } ? ? # OS: Linux 3.0.0-16-server x86_64 Ubuntu 11.10? ? ? log_timestamp = "%Y-%m-%d %H:%M:%S " ? ? mail_location = maildir:~/Maildir ? ? mail_privileged_group = mail ? ? managesieve_notify_capability = mailto ? ? managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ? ? passdb { ? ? ? driver = pam - Ignored: ? ? } ? ? passdb { ? ? ? driver = pam ? ? } ? ? plugin { ? ? ? sieve = ~/.dovecot.sieve ? ? ? sieve_dir = ~/sieve ? ? } ? ? protocols = imap pop3 sieve ? ? service auth { ? ? ? unix_listener /var/spool/postfix/private/auth-client { ? ? ? ? group = postfix ? ? ? ? mode = 0660 ? ? ? ? user = postfix ? ? ? } ? ? ? unix_listener /var/spool/postfix/private/dovecot-auth { ? ? ? ? group = postfix ? ? ? ? mode = 0660 ? ? ? ? user = postfix ? ? ? } ? ? ? user = root ? ? } ? ? ssl_cert = </etc/ssl/certs/dovecot.pem ? ? ssl_cipher_list = ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM ? ? ssl_key = </etc/ssl/private/dovecot.pem ? ? userdb { ? ? ? driver = passwd ? ? } ? ? userdb { ? ? ? driver = passwd ? ? } ? ? protocol imap { ? ? ? imap_client_workarounds = delay-newmail ? ? ? mail_max_userip_connections = 10 ? ? } ? ? protocol pop3 { ? ? ? mail_max_userip_connections = 10 ? ? ? pop3_client_workarounds = outlook-no-nuls oe-ns-eoh ? ? ? pop3_uidl_format = %08Xu%08Xv ? ? } ? ? protocol lda { ? ? ? deliver_log_format = msgid=%m: %$ ? ? ? mail_plugins = sieve ? ? ? postmaster_address = postmaster ? ? ? quota_full_tempfail = yes ? ? ? rejection_reason = Your message to <%t> was automatically rejected:%n%r ? ? }
Timo Sirainen
2012-Mar-04 12:36 UTC
[Dovecot] doveconf: Warning: Obsolete settings.... in /etc/dovecot/dovecot.conf: ...
On 4.3.2012, at 8.25, D Chen wrote:> Got duplicated Warnings from the "doveconf -n" output ! Can anyone explain and fix them ? thx!v2.0 has different configuration from v1.x, you need to migrate the configuration the way it says:> doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.confSo, doveconf -n > dovecot-new.conf mv dovecot-new.conf /etc/dovecot/dovecot.conf That should do it.