[Dovecot] basic conf error? v1.2.11

Justin Krejci jkrejci at usinternet.com
Thu Jun 17 16:27:42 EEST 2010


I just downloaded 1.2.11 and compiled from source including mysql support
and using default directory locations.

 

I walked thru the included example conf file and tweaked it out and get an
invalid configuration file.

I trimmed out all of the commented sections to make the non-default config
super easy to navigate during troubleshooting.

 

Remaining config which gives an error of "unknown setting: mechanisms" so I
switched it to auth_mechanisms and then get the following when starting
dovecot:

 

Error: Error in configuration file /usr/local/etc/dovecot.conf line 18:
Unknown section type (section changed in /usr/local/etc/dovecot.conf at line
14)

Fatal: Invalid configuration in /usr/local/etc/dovecot.conf

 

 

#####################

protocols = imap pop3

listen = <SCRUBBED IP>

disable_plaintext_auth = no

ssl = no

login_processes_count = 100

login_max_processes_count = 500

login_max_connections = 512

login_greeting = DovecotProxy08 ready.

protocol imap {

}

protocol pop3 {

}

protocol lda {

}                                   #LINE 14

auth_username_chars =
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@/$!&\

auth default {

  mechanisms = plain

  passdb sql {                      #LINE 18

    args = /usr/local/etc/dovecot-sql.conf

  }

  userdb sql {

    args = /usr/local/etc/dovecot-sql.conf

  }

  user = root

}

dict {

}

plugin {

}

#####################

 

 

 

 

Any ideas what is wrong here? It seems like the example conf file is not
correct. Yes the dovecot-sql.conf file exists.



More information about the dovecot mailing list