[Dovecot] Dovecot 2 fails after correct login

Frank Walter francwalter at gmx.net
Sun May 20 17:53:08 EEST 2012


Surely this was still a bit mistakely:

userdb static {
  args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
}

but it should be:

userdb static {
  driver = static
  args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
}

Dovecot talks, if I start him:

root at myserver:~# dovecot
doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: userdb is missing driver

:)

And now, after setting the user and group of the whole dir (which was just copied without the permissions owner and groups):

/home/vmail

to vmail:

chown -R vmail:vmail /home/vmail

THE GOOD DOVECOT IS WORKING!

Tank again, Tim!!!

Kinds, frank



> -----Ursprüngliche Nachricht-----
> Von: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org] Im Auftrag von Frank
> Walter
> Gesendet: Sonntag, 20. Mai 2012 15:32
> An: 'Tim Smith'; dovecot at dovecot.org
> Betreff: Re: [Dovecot] Dovecot 2 fails after correct login
> 
> Tim!
> Missing the "crucial part" of your mail made me scrutinize more exactly in the
> configuration parts of my dovecot installation.
> I discovered now, that in my previous (working) 1.0.10 Dovecot config. I have set the
> userdb to static:
> 
> userdb static {
>   args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
> }
> 
> So I will try with this again.
> Since yet, very thank you for your hint and enlightenment :)
> 
> Cheers
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: dovecot-bounces at dovecot.org [mailto:dovecot-bounces at dovecot.org] Im Auftrag von Tim
> > Smith
> > Gesendet: Sonntag, 20. Mai 2012 14:49
> > An: dovecot at dovecot.org
> > Betreff: Re: [Dovecot] Dovecot 2 fails after correct login
> >
> > Sorry - seem to have missed the crucial part of my email!! I meant to say:
> >
> > Do u not need a separate user_query in your dovecot-sql.conf to return
> > the userdb data?
> >
> > Sorry!
> >




More information about the dovecot mailing list