Urgent: Haraka crashes with FATAL state. SMTP service not reachable. users with incorrect password attempts.
-
Outgoing mail via the Cloudron mail server is not working. SMTP connections on ports 587 / 465 are refused from outside, while IMAP works as expected.
After further investigation, the Cloudron mail service (Haraka) repeatedly crashes during startup and enters a FATAL state, which explains why no SMTP ports are exposed externally.
The issue seems to be caused by a runtime error in Haraka during outbound TLS handling:
TypeError: err.map is not a functionOnce this happens, Haraka shuts down and Cloudron stops retrying after multiple failures.
As a result:
• No SMTP service is reachable externally
• Mail clients cannot send mail via Cloudron
• IMAP continues to workThis appears to be a bug or incompatibility between Haraka, Node.js, and/or TLS configuration.
Relevant Haraka logs:
Starting up Haraka version 3.1.1 [NOTICE] [server] Listening on [::0]:2525 [NOTICE] [server] Listening on [::0]:2465 [NOTICE] [server] Listening on [::0]:2587 [INFO] [cloudron] Initializing queue server on port 6000 [CRIT] [core] TypeError: err.map is not a function [CRIT] [core] at /app/code/haraka/outbound/client_pool.js:40:21 [CRIT] [core] at /app/code/haraka/tls_socket.js:79:18 [NOTICE] [core] Shutting down WARN exited: haraka (exit status 1; not expected) INFO gave up: haraka entered FATAL state, too many start retries too quicklyTroubleshooting Already Performed
- Verified DNS (A / AAAA records correct)
- Confirmed IMAP (993) works
- Verified SMTP ports are refused externally
- Checked listening ports inside the container (Haraka binds briefly, then crashes)
- Restarted Cloudron mail service
- Checked TLS certificate validity
- Verified this is not a firewall or provider port-blocking issue
- Confirmed issue persists across restarts
Security issues?
I have sever concerns that this might be due to an attack, since I can log several incorrect password attempts on
/logs.html?id=box such as:

And the frequency of failed attempts seem to be increasing.
System Info
Cloudron v9.0.15
Ubuntu 22.04.4 LTS Linux 5.15.0-164-generic
8 Core "AMD EPYC 9634 84-Core Processor"
16.76 GB RAM & 4.29 GB Swap