Page 1 of 1

Error: no SASL authentication mechanisms

Posted: Sun 24. Aug 2025, 11:07
by technotravel
I'm sure the cause of the problem is within KeyHelp
not really sure actually

Server operating system + version
Debian 13.0 (64-bit)

Server virtualization technology used
(e.g. none, OpenVZ, KVM, XEN, etc.)
KVM (server is ARM)

KeyHelp version + build number
25.2 (Build 3483)

Problem description / error messages
Clients can't log in to email anymore, and mails can't be sent or received

Expected result
Clients can log in and receive and send mails

Actual result
see details below

Steps to reproduce
collect mail from a client (TB or FairEmail), try to log in webmail, send a mail from a client

Additional information
(e.g. recent changes to the server, excerpts from log files (/var/log/*, /var/log/keyhelp/php-error.log, etc.))
I have the suspicion it happened after a recent upgrade (dist-upgrade), but not sure. As mentioned, server is running on ARM.

some console messages showing in journalctl -f

Code: Select all

Aug 24 10:55:42 tembo.meinevserver.de postfix/smtpd[66120]: warning: SASL: Connect to Dovecot auth socket 'private/auth' failed: Connection refused
Aug 24 10:55:42 tembo.meinevserver.de postfix/smtpd[66120]: fatal: no SASL authentication mechanisms
Aug 24 10:55:43 tembo.meinevserver.de postfix/master[1487]: warning: process /usr/lib/postfix/sbin/smtpd pid 66120 exit status 1
Aug 24 10:55:43 tembo.meinevserver.de postfix/master[1487]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
when trying webmail login:

Code: Select all

Aug 24 11:00:43 tembo.meinevserver.de roundcube[78591]: PHP Warning:  stream_socket_client(): Unable to connect to 127.0.0.1:143 (Verbindungsaufbau abgelehnt) in /home/keyhelp/www/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 1059
Aug 24 11:00:43 tembo.meinevserver.de roundcube[78591]: <7ocuhlgb> IMAP Error: Login failed for redacted@mymail.com against 127.0.0.1 from 2003:ef:7707:bd00:75ee:48d2:b02f:84eb. Could not connect to 127.0.0.1:143: Verbindungsaufbau abgelehnt in /home/keyhelp/www/roundcube/program/lib/Roundcube/rcube_imap.php on line 211 (POST /webmail/?_task=login&_action=login)
Aug 24 11:00:55 tembo.meinevserver.de sudo[79897]:  keyhelp : PWD=/home/keyhelp/www/keyhelp ; USER=root ; COMMAND=/
Please help!

Re: Error: no SASL authentication mechanisms

Posted: Sun 24. Aug 2025, 14:47
by technotravel
Kann meinen Beitrag nicht mehr bearbeiten - hier noch eine Meldung:

Code: Select all

Aug 24 14:45:04 tembo.meinevserver.de postfix/smtpd[184442]: connect from unknown[191.232.166.181]
Aug 24 14:45:05 tembo.meinevserver.de postfix/smtpd[184442]: warning: SASL: Connect to Dovecot auth socket 'private/auth' failed: Connection refused
Aug 24 14:45:05 tembo.meinevserver.de postfix/smtpd[184442]: fatal: no SASL authentication mechanisms
Aug 24 14:45:06 tembo.meinevserver.de postfix/master[1487]: warning: process /usr/lib/postfix/sbin/smtpd pid 184442 exit status 1
Aug 24 14:45:06 tembo.meinevserver.de postfix/master[1487]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Hat jemand eine Idee, woran das liegen könnte?

Re: Error: no SASL authentication mechanisms

Posted: Mon 25. Aug 2025, 05:32
by Fezzi
Ohne das genauer untersucht zu haben... laeuft Dein "Dovecot" ... schon mal den Dienst neu gestartet?

Edit: Oh, I just realized that you were posting in the englisch section...

On a first quick look it looks like a "Dovecot" malfunction... did you try to restart the service already?

Re: Error: no SASL authentication mechanisms

Posted: Mon 25. Aug 2025, 14:50
by technotravel
Hi Fezzi,

sorry - weil die Vorlage auf Englisch ist, habe ich es halt automatisch auf Englisch geschrieben :mrgreen:

Danke für den Tip mit Dovecot, das Problem ist eindeutig dort. Hatte den Sever schon rebooted, hat nichts gebracht.

Ist mir jetzt aber zu blöd, zu versuchen, das zu richten - ich habe beschlossen, dass ich diesen ARM Server doch lieber loswerden will. Warte nur auf eine günstige Gelegenheit :mrgreen: