Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In trying to set up SASL for dovecot on Ubuntu 11, I keep getting obsolete warnings in my log:

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= }

Even though my dovecot.conf file looks like this:

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
   }
}

}

Even when I try:

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

I still get the same error. Looking at the example config file:

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

was of no help. Dovecot is running:

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

But I can't seem to get that elusive "dovecot-auth" process. Anyone know what's going on?

New dovecot.conf file:

# 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
}
share|improve this question
add comment

1 Answer 1

Try using doveconf to convert your configuration file into v2.x format:

doveconf -n -c /oldpath/dovecot.conf > /etc/dovecot/dovecot.conf.new
share|improve this answer
    
didn't work for me. kept getting the errors. This: "doveconf -n > dovecot-new.conf" "mv dovecot-new.conf /etc/dovecot/dovecot.conf" did work for me. However it's still not authenticating (no "dovecot-auth" process):( –  John Bowlinger Sep 10 '12 at 21:15
    
It is another problem. Append the additional info to your original question. –  quanta Sep 11 '12 at 3:07
    
appended new dovecot.conf that was outputted –  John Bowlinger Sep 11 '12 at 3:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.