> On 20/03/2020 16:48 ratatouille <[email protected]> wrote:
> 
>  
> Hello!
> 
> Aki Tuomi <[email protected]> schrieb am 20.03.20 um 16:06:48 Uhr:
> 
> > > On 20/03/2020 15:55 ratatouille <[email protected]> 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.
> > > 
> > > [email protected]:{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([email protected],::1,<pYBcU0qhqIMAAAAAAAAAAAAAAAAAAAAB>): 
> lookup: [email protected] file=/et
> c/dovecot/users
> 2020-03-20 15:44:43 auth: Debug: client passdb out: OK  1       
> [email protected]
> 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([email protected],::1,<pYBcU0qhqIMAAAAAAAAAAAAAAAAAAAAB>): success
> 2020-03-20 15:44:43 auth: Debug: master userdb out: USER        2126249985    
>   [email protected]      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=<[email protected]>, 
> method=PLAIN, rip=::1, lip=::1, mpid=15272, secured, session=<pYBcU0qhqIM
> AAAAAAAAAAAAAAAAAAAAB>
> 2020-03-20 15:44:43 imap([email protected]): 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

Reply via email to