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.
On 06/17/2010 03:27 PM Justin Krejci wrote:> ? > auth_username_chars > abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@/$!&\ > ? > > Any ideas what is wrong here? It seems like the example conf file is not > correct. Yes the dovecot-sql.conf file exists.The above line (with non-default values) doesn't end. This is \ one line^ When your usernames really contain backslashes, don't place it at the logical end of line. Regards, Pascal -- The trapper recommends today: c01dcofe.1016815 at localdomain.org