即使在Ubuntu 11上更新了dovecot.conf,Dovecot也会抛出过时的警告

在试图为Ubuntu 11上的dovecot设置SASL时,我在日志中不断收到过时的警告:

Sep 10 15:33:53 server1 dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:24: passdb {} has been replaced by passdb { driver= } Sep 10 15:33:53 server1 dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:27: userdb {} has been replaced by userdb { driver= } 

即使我的dovecot.conf文件如下所示:

 protocols = none auth default { mechanisms = plain login passdb { driver=pam } userdb { driver=passwd } socket listen { client { path = /var/spool/postfix/private/auth mode = 0660 user = postfix group = postfix } } 

}

即使当我尝试:

 driver=etc/pam.d/dovecot driver=etc/passwd 

我仍然得到同样的错误。 看下面的示例configuration文件:

 cat /usr/share/doc/dovecot-common/dovecot/example-config/dovecot.conf 

没有帮助。 Dovecot正在运行:

 ps -A | grep 'dovecot' 9663 ? 00:00:00 dovecot 

但我似乎无法得到那种难以捉摸的“鸽舍authentication”过程。 任何人都知道发生了什么事?

新的dovecot.conf文件:

 # 2.0.13: /etc/dovecot/dovecot.conf # OS: Linux 3.0.0-12-server x86_64 Ubuntu 11.10 passdb { driver = pam } passdb { driver = pam } protocols = none service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem userdb { driver = passwd } userdb { driver = passwd } 

尝试使用doveconf将您的configuration文件转换为v2.x格式:

 doveconf -n -c /oldpath/dovecot.conf > /etc/dovecot/dovecot.conf.new