systemuser login

Aki Tuomi aki.tuomi at open-xchange.com
Fri Mar 20 16:50:29 EET 2020


> On 20/03/2020 16:48 ratatouille <ratatouille at bitclusive.de> wrote:
> 
>  
> Hello!
> 
> Aki Tuomi <aki.tuomi at open-xchange.com> schrieb am 20.03.20 um 16:06:48 Uhr:
> 
> > > On 20/03/2020 15:55 ratatouille <ratatouille at bitclusive.de> wrote:
> > > 
> > >  
> > > Hello!
> > > 
> > > I have one systemuser on my testsystem running CentOS. All other users live in a mysql- database.
> > > 
> > > I created a /etc/dovecot/users file and use auth-passwdfile.conf.ext.
> > > 
> > > andreas at dualbit.de:{CRAM-MD5}334bb91aad4fb976870535bbbd9f07db512fce13bc8f7b58f9dedca404a421aa:5006:5006::/var/spool/mail/andreas::userdb_mail=mbo
> > > x:/var/mail/andreas:INBOX=/var/mail/%u
> > >   
> > 
> > Use /var/mail/%n instead of %u.
> 
> I then get in debuglog
> 
> 2020-03-20 15:44:43 auth: Debug: passwd-file(andreas at dualbit.de,::1,<pYBcU0qhqIMAAAAAAAAAAAAAAAAAAAAB>): lookup: user=andreas at dualbit.de file=/et
> c/dovecot/users
> 2020-03-20 15:44:43 auth: Debug: client passdb out: OK  1       user=andreas at dualbit.de
> 2020-03-20 15:44:43 auth: Debug: master in: REQUEST     2126249985      15266   1       37d0ecbd12433c7a5675892b0dc95b6f        session_pid=15272
>         request_auth_token
> 2020-03-20 15:44:43 auth: Debug: prefetch(andreas at dualbit.de,::1,<pYBcU0qhqIMAAAAAAAAAAAAAAAAAAAAB>): success
> 2020-03-20 15:44:43 auth: Debug: master userdb out: USER        2126249985      andreas at dualbit.de      mail=mbox:/var/mail/andreas:INBOX=/var/ma
> il/andreas      auth_token=47c609de6858e739ba3c9f9e163417b24b5968dc
> 
> and in logfile
> 
> 2020-03-20 15:44:43 imap-login: Info: Login: user=<andreas at dualbit.de>, method=PLAIN, rip=::1, lip=::1, mpid=15272, secured, session=<pYBcU0qhqIM
> AAAAAAAAAAAAAAAAAAAAB>
> 2020-03-20 15:44:43 imap(andreas at dualbit.de): Error: Couldn't drop privileges: User is missing UID (see mail_uid setting)
> 2020-03-20 15:44:43 imap: Error: Internal error occurred. Refer to server log for more information.
> 
> hmmm
> 
>   Andreas

Hi!

You need to specify uid&gid in your passwd file.

username:password:uid:gid:...

AKi


More information about the dovecot mailing list