Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Urgent: Haraka crashes with FATAL state. SMTP service not reachable. users with incorrect password attempts.

Urgent: Haraka crashes with FATAL state. SMTP service not reachable. users with incorrect password attempts.

Scheduled Pinned Locked Moved Unsolved Support
1 Posts 1 Posters 10 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dev-cbD Offline
    dev-cbD Offline
    dev-cb
    wrote last edited by
    #1

    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 function
    

    Once 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 work

    This 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 quickly
    

    Troubleshooting 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:
    672bbfdb-c4ba-47ad-86bf-2b0cf3b45dba-Bildschirmfoto 2026-01-22 um 22.52.33.png

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Bookmarks
    • Search