|
From: Jamie C. <jca...@we...> - 2006-09-12 16:31:39
|
On 12/Sep/2006 04:30 and...@fr... wrote ..
> I am trying to use webmin to administer dovecot, but I think that something
> changed in last dovecot version.
>
> If I use webmin to manage dovecot 0.99.14, if I enter under user and login
> options
>
> plain-text
> standard unix user database
> defaut PAM service dovecot
>
> and save and restart, everything is OK
>
> If I use webmin to manage dovecot 1.0.beta3 (the last version available
> in
> suse 10.1) if I enter the same settings I cannot restart dovecot.
>
> It says:
>
> Starting dovecot Error: Error in configuration file
> /etc/dovecot/dovecot.conf line 621: Unknown setting: userdb
> ..failed
>
> the "region" of dovecot.conf file interested by this error is this:
>
>
>
> auth default {
> # Space separated list of wanted authentication mechanisms:
> # plain digest-md5 cram-md5 apop anonymous gssapi
> mechanisms = plain
> userdb = passwd
> passdb = pam
>
> if I remove the two lines
> userdb = passwd
> passdb = pam
>
> dovecot starts again, but there is no chance to login (both imap and pop3)
> apart from localhost (which is considered a trusted host)
>
> I think that something changed in the structure of dovecot configuration
> file; is it correct ?
> And if it is, when we will have an updated webmin module ?
>
> thanks in advance,
The problem here is that the format of Dovecot's config file changed in
the 1.0.something release, and Webmin doesn't yet support the new format.
In fact, it can even add incorrect lines as you saw, causing Dovecot to fail
to start.
Until I fix this in Webmin, there only solution is to edit dovecot.conf manually.
I have no idea WHY they felt the need to change the config format (for the 3rd time!) -
the new layout doesn't really enhance its capabilities as far as I can see.
- Jamie
|