[Dovecot] dovecot is working, sort of

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Aug 16 09:51:08 EEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 15 Aug 2013, LuKreme wrote:

> Him. I did put

> userdb {
>  driver = static
>  args = uid=vpopmail gid=postfix
> }
>
> into dovecot.conf, but that's made no difference

er, what do you want to do? first you write:

> userdb {
>  driver = passwd
> }
> userdb {
>  args = /etc/dovecot/dovecot-sql.conf.ext
>  driver = sql
> }

Now you add yet another userdb. If you want to get the user from SQL, 
the static userdb is never reached, see 
http://wiki2.dovecot.org/UserDatabase

There is default_fields, that should do it, e.g.
userdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
   default_fields = uid=vpopmail gid=postfix
}

Or extent your SQL user_query to return static values for uid / gid.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUg3L3F3r2wJMiz2NAQKOnQf+P/S4MYExrDRWkODKkKaHQQWf2KNY6HNW
rqut1SHF946TUBicOfyEtEeGjPTTq652hPtvtCs7b0mst5zN/M382vpU002CqMp8
tEXfhTwBeXKQsN4zaBLJL+6wN6UHd20pKr7npwuzrjgx0AudE9kMccVoJ6MtCtLE
ejbQ9+UJyz4xWsMsMI8Hycef+xhjHAFDG6WqZMLcFZZ2xgWmaTlUKUKTZWSDPmCA
wEuKOcjsnxmiUrhtcFWjgOqQwQkd76X9fztoU51PlS47wB7cQsl572wy4d02/wA+
1c9pmuw0vUXzqe9XXklutixP0uMXFV9VdF6dRgKA/8Uof9hQ5y8Ytg==
=fDw5
-----END PGP SIGNATURE-----


More information about the dovecot mailing list