On 20/02/12 11:14, Wietse Venema wrote:
> Peter:
>> Note that if you put the old config in dovecot will give a warning on
>> startup and `doveconf -n' will show the new config that you should
>> replace it with.
> 
> http://www.postfix.org/SASL_README.html was updated for Postfix 2.9.
> What are the errors?

This is what I get when I use the settings shown in the latest
SASL_README doc (as per the link you posted above)

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:14: add
auth_ prefix to all settings inside auth {} and remove the auth {}
section completely
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:16:
passdb pam {} has been replaced by passdb { driver=pam }
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:18:
userdb passwd {} has been replaced by userdb { driver=passwd }


if I run doveconf -n to get a clean config I get the following config
(parts not related to SASL removed):

auth_mechanisms = plain login
passdb {
  driver = pam
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
userdb {
  driver = passwd
}

When I replace the recommended SASL config settings from SASL_README
with the above then dovecot starts without complaint.

Note that the above is for dovecot 2, I am unsure as to whether dovecot
1 will run with the changed settings or not, at a guess it won't.  This
may leave you in the unenviable position of having to expand the
SASL_README doc to account for two different major versions of dovecot.


Peter

Reply via email to