[Dovecot] Authentication woes - Couldn't drop privileges: Mail access not allowed for root

Timo Sirainen tss at iki.fi
Fri Aug 20 21:36:33 EEST 2010


On Fri, 2010-08-20 at 20:07 +0200, Ralph Seichter wrote:
>   dovecot: imap(foo): Error: user foo: Couldn't drop privileges: Mail access not allowed for root
>   passdb {
>     args = scheme=crypt /usr/local/dovecot-2.0/etc/dovecot/passwd
>     driver = passwd-file
>   }

You don't have a userdb defined or mail_uid/mail_gid setting..

>   # cat /usr/local/dovecot-2.0/etc/dovecot/passwd
>   foo:{CRYPT}xxx:1000:1000:Foo Backup:/home/foo:/bin/bash

I guess you should add:

  userdb {
    args = scheme=crypt /usr/local/dovecot-2.0/etc/dovecot/passwd
    driver = passwd-file
  }

The error message is bad though. I'm pretty sure it was better in v1.2.
I'll see about fixing that.



More information about the dovecot mailing list