I never thought I'd be here with an email question!
-
Since Aug 23, I just noticed, my email has not been working on my Cloudron.
Everything checks out green.
When I send a test email, I get:
connect ECONNREFUSED 172.18.0.2:2525Here is a sample of the logs... seems like there is a null file stopping things, but I don't know what to do.
I've tried restarting the mail service.
This all has started, in retrospect, since I reinstalled a new VPS on SSDNodes to move from Ubuntu 18 to 22, and then restored from my MINio backups. All that went seamlessly... except maybe for the email.
p 06 22:02:02loaded TLD files: Sep 06 22:02:021=1470 Sep 06 22:02:022=9768 Sep 06 22:02:023=5119 Sep 06 22:02:02loaded 9027 Public Suffixes Sep 06 22:02:03loglevel: INFO Sep 06 22:02:03log format: DEFAULT Sep 06 22:02:03Starting up Haraka version 3.0.2 Sep 06 22:02:03[INFO] [-] [core] Loading plugins Sep 06 22:02:03[INFO] [-] [core] Loading plugin: delay_deny Sep 06 22:02:03[INFO] [-] [core] Loading plugin: dnsbl Sep 06 22:02:03[INFO] [-] [core] Loading plugin: helo.checks Sep 06 22:02:03[INFO] [-] [core] Loading plugin: headers Sep 06 22:02:03[INFO] [-] [core] Loading plugin: tls Sep 06 22:02:03[INFO] [-] [core] loading tls.ini Sep 06 22:02:03[INFO] [-] [core] Loading plugin: spf Sep 06 22:02:03[INFO] [-] [core] Loading plugin: cloudron Sep 06 22:02:03[INFO] [-] [core] Loading plugin: rcpt_to.in_host_list Sep 06 22:02:03[INFO] [-] [core] Loading plugin: dkim_sign Sep 06 22:02:03[INFO] [-] [core] Loading plugin: spamassassin Sep 06 22:02:03[INFO] [-] [core] Loading plugin: queue/smtp_forward Sep 06 22:02:03[INFO] [-] [core] Loading plugin: limit Sep 06 22:02:032023-09-06 20:02:03,288 INFO success: haraka entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Sep 06 22:02:03[INFO] [-] [core] getting SocketOpts for SMTPS server Sep 06 22:02:03[NOTICE] [-] [core] Listening on [::0]:2525 Sep 06 22:02:03[INFO] [-] [core] Creating TLS server on [::0]:2465 Sep 06 22:02:03[NOTICE] [-] [core] Listening on [::0]:2465 Sep 06 22:02:03[NOTICE] [-] [core] Listening on [::0]:2587 Sep 06 22:02:03[INFO] [-] [cloudron] Initializing queue server on port 6000 Sep 06 22:02:03[INFO] [-] [limit] connected to redis://127.0.0.1:6379/4 Sep 06 22:02:03[INFO] [-] [core] [outbound] Loading outbound queue from /app/data/haraka-queue Sep 06 22:02:03[INFO] [-] [core] [outbound] Loading the queue... Sep 06 22:02:03[INFO] [-] [core] [outbound] [pid: undefined] 0 files in my delivery queue Sep 06 22:02:03[INFO] [-] [core] [outbound] [pid: undefined] 1 files in my load queue Sep 06 22:02:03[INFO] [-] [core] [outbound] [pid: undefined] 0 files in my temp fail queue Sep 06 22:02:03[INFO] [-] [core] loading tls.ini Sep 06 22:02:03[ERROR] [-] [outbound] Error reading queue file 1683327674148_1683327674148_0_61_UHaVbu_48_6f92c87cedc6: zero bytes Sep 06 22:02:03[CRIT] [-] [core] Error [ERR_UNHANDLED_ERROR]: Unhandled error. ('Error reading queue file 1683327674148_1683327674148_0_61_UHaVbu_48_6f92c87cedc6: zero bytes') Sep 06 22:02:03[CRIT] [-] [core] at new NodeError (node:internal/errors:393:5) Sep 06 22:02:03[CRIT] [-] [core] at HMailItem.emit (node:events:502:17) Sep 06 22:02:03[CRIT] [-] [core] at /app/code/haraka/outbound/hmail.js:82:22 Sep 06 22:02:03[CRIT] [-] [core] at FSReqCallback.oncomplete (node:fs:208:5) Sep 06 22:02:03[NOTICE] [-] [core] Shutting down Sep 06 22:02:032023-09-06 20:02:03,383 INFO exited: haraka (exit status 1; not expected) Sep 06 22:02:042023-09-06 20:02:04,388 INFO spawned: 'haraka' with pid 138 -
FWIW, for now I've gone and deleted that zero byte file, 1683327674148_1683327674148_0_61_UHaVbu_48_6f92c87cedc6, and it seems I can send email (before, the Send Email test thing was giving me an error), and the email logs looks quite busy, but I can't seem to receive emails. I've gone now and restarted the whole kit and kaboodle. Let's see what happens.
-
FWIW, for now I've gone and deleted that zero byte file, 1683327674148_1683327674148_0_61_UHaVbu_48_6f92c87cedc6, and it seems I can send email (before, the Send Email test thing was giving me an error), and the email logs looks quite busy, but I can't seem to receive emails. I've gone now and restarted the whole kit and kaboodle. Let's see what happens.
-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login