[Dovecot] basic conf error? v1.2.11
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@localdomain.org
LOL.... nice! Thanks for being gentle.
-----Original Message----- From: dovecot-bounces+jkrejci=usinternet.com@dovecot.org [mailto:dovecot-bounces+jkrejci=usinternet.com@dovecot.org] On Behalf Of Pascal Volk Sent: Thursday, June 17, 2010 8:45 AM To: Dovecot Mailing List Subject: Re: [Dovecot] basic conf error? v1.2.11
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@localdomain.org
participants (2)
-
Justin Krejci
-
Pascal Volk