If you want to use passdb sql remove the comment hashes: # SQL database
passdb sql { # Path for SQL configuration file, see doc/dovecot-sql-example.conf args = /etc/dovecot-sql.conf }
Sorry to bother you however I'm having some troubles and can't understand what is required to adapt here, as now I have this error :
Error: Error in configuration file /etc/dovecot.conf line 1022: Plugin section not allowed here (section changed at line 997) Fatal: Invalid configuration in /etc/dovecot.conf
Line 997 is last line of following :
# It's possible to export the authentication interface to other programs: #socket listen { #master { # Master socket provides access to userdb information. It's typically # used to give Dovecot's local delivery agent access to userdb so it # can find mailbox locations. #path = /var/run/dovecot/auth-master #mode = 0600 # Default user/group is the one who started dovecot-auth (root) #user = #group = #} #client { # The client socket is generally safe to export to everyone. Typical use # is to export it to your SMTP server so it can do SMTP AUTH lookups # using it. #path = /var/run/dovecot/auth-client #mode = 0660 #} #} }
Line 1022 is here :
dict { #quota = mysql:/etc/dovecot-dict-quota.conf #}