BBS:      TELESC.NET.BR
Assunto:  Re: Dovecot for testing - can someone please give advice?
De:       Markus Robert Kessler
Data:     Sun, 18 Jan 2026 21:30:01 +1100
-----------------------------------------------------------
On Sat, 17 Jan 2026 20:43:12 -0000 (UTC) Lawrence D?Oliveiro wrote:

> On Sat, 17 Jan 2026 13:51:22 -0000 (UTC), Markus Robert Kessler wrote:
> 
>> When I try to log into Dovecot, it asks for password (based on
>> /etc/shadow as it looks like), but then Dovecot asks for some imap
>> password:
>>
>> [502 root@rpi-inst ~]# cyradm -u cyrus localhost Password:
>> IMAP Password:
>>               Login failed: authentication failure at
>>               /usr/lib/arm-linux-gnueabihf/perl5/5.32/Cyrus/IMAP/
Admin.pm
>>               line 134.
>> cyradm: cannot authenticate to server as cyrus
> 
> Seems to be saying it?s trying to authenticate as user ?cyrus?. Is this
> valid?
> 
> Another thing to check is, is it trying to connect via the imap port
> (143) or imaps (993)?

Oh sorry, wrong machine...
Just reinstalled dovecot to have a clean start.

There are these ports open now and imaps is also up:

PORT    STATE SERVICE
22/tcp  open  ssh
25/tcp  open  smtp
80/tcp  open  http
143/tcp open  imap
631/tcp open  ipp
993/tcp open  imaps

I created a user 'dov' for such purposes, hence I have

dov:x:1010:1010::/home/dov:/bin/bash
dovecot:x:123:131:Dovecot mail server,,,:/usr/lib/dovecot:/usr/sbin/
nologin
dovenull:x:124:130:Dovecot login user,,,:/nonexistent:/usr/sbin/nologin

as dovecot-related users.


At the moment I am stuck because any attempt to log in ends by returning 
to commandline instantly:

[592 root@rpi-inst /tmp]# doveadm auth login dov
Password: 
passdb: dov auth succeeded
extra fields:
  user=dov
  
userdb extra fields:
  dov
  system_groups_user=dov
  uid=1010
  gid=1010
  home=/home/dov
  auth_mech=PLAIN
[593 root@rpi-inst /tmp]# 

No chance to create a mailbox here.
Maybe the definition of who is admin is missing?



Can someone please give a little advice how to log in to create a mailbox 
and set the password in the right way?

Thank you!

--- PyGate Linux v1.5.2
 * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)

-----------------------------------------------------------
[Voltar]