Dovecot pop3 login error

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.4
Virtualmin version 7.10.0 Pro

howdy
migrating sites from cPanel and running into a weird problem with not being able to login to pop or imap with a mail client. double-checked that the password for the user was correct (explicitly re-set it in virtualmin), but it fails and times out.

some lines from /var/log/mail.log:

Jun 26 10:26:21 hosting100 dovecot: auth: Debug: pam(pms@lilswervy.com,71.61.201.159,<+QthzMsbdfhHPcmf>): Performing passdb lookup
Jun 26 10:26:21 hosting100 dovecot: auth-worker(3940): Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Jun 26 10:26:21 hosting100 dovecot: auth-worker(3940): Debug: Module loaded: /usr/lib/dovecot/modules/auth/lib20_auth_var_expand_crypt.so
Jun 26 10:26:21 hosting100 dovecot: auth-worker(3940): Debug: conn unix:auth-worker (pid=3939,uid=118): Server accepted connection (fd=13)
Jun 26 10:26:21 hosting100 dovecot: auth-worker(3940): Debug: conn unix:auth-worker (pid=3939,uid=118): Sending version handshake
Jun 26 10:26:21 hosting100 dovecot: auth-worker(3940): Debug: conn unix:auth-worker (pid=3939,uid=118): auth-worker<1>: Handling PASSV request
Jun 26 10:26:21 hosting100 dovecot: auth-worker(3940): Debug: conn unix:auth-worker (pid=3939,uid=118): auth-worker<1>: pam(pms@lilswervy.com,71.61.201.159,<+QthzMsbdfhHPcmf>): Performing passdb lookup
Jun 26 10:26:21 hosting100 dovecot: auth-worker(3940): Debug: conn unix:auth-worker (pid=3939,uid=118): auth-worker<1>: pam(pms@lilswervy.com,71.61.201.159,<+QthzMsbdfhHPcmf>): lookup service=dovecot
Jun 26 10:26:55 hosting100 dovecot: auth: Error: auth-worker: Aborted PASSV request for pms@lilswervy.com: Worker process died unexpectedly
Jun 26 10:26:55 hosting100 dovecot: auth: Debug: pam(pms@lilswervy.com,71.61.201.159,<+QthzMsbdfhHPcmf>): Finished passdb lookup
Jun 26 10:26:55 hosting100 dovecot: auth: Debug: auth(pms@lilswervy.com,71.61.201.159,<+QthzMsbdfhHPcmf>): Auth request finished
Jun 26 10:26:55 hosting100 dovecot: auth-worker(3940): Fatal: master: service(auth-worker): child 3940 killed with signal 11 (core dumped)
Jun 26 10:26:55 hosting100 dovecot: auth-worker(3945): Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Jun 26 10:26:55 hosting100 dovecot: auth-worker(3945): Debug: Module loaded: /usr/lib/dovecot/modules/auth/lib20_auth_var_expand_crypt.so
Jun 26 10:26:55 hosting100 dovecot: auth-worker(3945): Debug: conn unix:auth-worker (pid=3939,uid=118): Server accepted connection (fd=13)
Jun 26 10:26:55 hosting100 dovecot: auth-worker(3945): Debug: conn unix:auth-worker (pid=3939,uid=118): Sending version handshake
Jun 26 10:26:57 hosting100 dovecot: auth: Debug: client passdb out: FAIL#0111#011user=pms@lilswervy.com#011code=temp_fail
Jun 26 10:26:57 hosting100 dovecot: auth: Debug: client in: AUTH#0112#011PLAIN#011service=pop3#011secured=tls#011session=+QthzMsbdfhHPcmf#011lip=69.46.21.218#011rip=71.61.201.159#011lport=995#011rport= 63605#011local_name=mail.lilswervy.com

i’ve been banging my head on this and feel like i am missing something basic somewhere.

thanks

Its been a long time since I had an error like this but if I remember correctly that is either a config error in dovecot configuration or you are using a plugin from a different version of dovecot. How did you install virtualmin? I hope on a clean install and using the install script

yes – clean install with the install script.

I’m wondering if something has be used from migration that shouldn’t have, tbf I have never used cpanel so am unsure exactly what settings are transfered

just setup a fresh virtual server (not a transfer), and it’s doing the same thing

Are you sure it’s a clean os ? Some providers do try to ‘help you out’ by adding stuff to their deployment images that may not be required or configures stuff in a different way. For example my provider adds tmux to their default deployment image, which does not affect other services

yeah, as much as i can be?

Define

So was anything pre installed before you started ?

correct – nothing was installed before running the virtualmin install script

Do a dovecot status and post the result
systemctl status dovecot

or any errors when you do a restart

systemctl restart dovecot

systemctl status dovecot:

dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-06-26 10:18:17 EDT; 8h ago
Docs: man:dovecot(1)
https://doc.dovecot.org/
Main PID: 1276 (dovecot)
Status: “v2.3.16 (7e2e900c1a) running”
Tasks: 5 (limit: 76984)
Memory: 10.0M
CPU: 26min 24.499s
CGroup: /system.slice/dovecot.service
ââ 1276 /usr/sbin/dovecot -F
ââ 1538 dovecot/anvil
ââ72682 dovecot/log
ââ74085 dovecot/config
ââ74086 dovecot/stats

systemctl restart dovecot:

no errors.

I just use vultr to install Ubuntu Linux 22.04 using a spare domain and I can’t replicate the error.

Created a user and thunderbird can login with no probs,

Not sure why you would have a issue.

I used the Downloading and Installing | Virtualmin — Open Source Web Hosting Control Panel page and ran the script they suggest.
You sure you using a clean system with no dovecot preinstalled.

Jun 26 23:32:28 server dovecot: pop3-login: Login: user=steve@domain.com, method=PLAIN, rip=xx.xxx.xxx.xxx, lip=yyy.yyy.yyy.yyy, mpid=56146, TLS, session=
Jun 26 23:32:28 server dovecot: pop3(steve@domain.com)<56146>: Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0

yeah this was clean deployment and I ran virtualmin install script.

Who supplied the OS? Not sure how my installs works fine and yours doesn’t unless the source OS is different.
Before running script use the package manager to confirm no dovecot install is all I can suggest.

this was deployed by the data center

I would make a new top-level virtual server with a subdomain from any domain I owned or had control of to test and see if it acts any differently. Just to see if the transfers and settings are creating any of the problems.

I’d check with them seeing you won’t say which one or use the package manager to check if its installed. The issue is not virtualmin.

yeah I did that and same errors

So your new server is 71.xx.xx.xx and lilswervy.com is hosted on 69.xx.xx.xxx ?

the 71.xx up is where I am logging in from.