I'm using Cloudron v8.2.4, GhostCMS v4.107.0. On an AWS EC2 instance.
One of my users recently noticed that the transactional emails were not working. I had made no changes on my end. I found this in the logs when attempting to use the magic-link feature:
Mar 26 09:46:33 Failed to send email. Reason: Invalid login: 535 Authentication failed.
Mar 26 09:46:33 Failed to send email. Reason: Invalid login: 535 Authentication failed.
Mar 26 09:46:33 "Please see https://ghost.org/docs/config/#mail for instructions on configuring email."
Mar 26 09:46:33 "Please see https://ghost.org/docs/config/#mail for instructions on configuring email."
Mar 26 09:46:33
Mar 26 09:46:33
Mar 26 09:46:33 ----------------------------------------
Mar 26 09:46:33 ----------------------------------------
Mar 26 09:46:33 EAUTH
Mar 26 09:46:33 EAUTH
Mar 26 09:46:33 Error: Invalid login: 535 Authentication failed
Mar 26 09:46:33 Error: Invalid login: 535 Authentication failed
Mar 26 09:46:33 baa90ed0-0a48-11f0-adce-ad4eb2a5961f
Mar 26 09:46:33 baa90ed0-0a48-11f0-adce-ad4eb2a5961f
Mar 26 09:46:33 [2025-03-26 13:46:33] ERROR "POST /members/api/send-magic-link/" 500 349ms
Mar 26 09:46:33 [2025-03-26 13:46:33] ERROR Failed to send email. Reason: Invalid login: 535 Authentication failed.
Mar 26 09:46:33 [2025-03-26 13:46:33] INFO "GET /members/api/integrity-token/" 200 1ms
Mar 26 09:46:33 at Readable.push (node:internal/streams/readable:245:10)
Mar 26 09:46:33 at Readable.push (node:internal/streams/readable:245:10)
Mar 26 09:46:33 at SMTPConnection.<anonymous> (/home/cloudron/ghost/versions/5.109.0/node_modules/nodemailer/lib/smtp-connection/index.js:554:26)
Mar 26 09:46:33 at SMTPConnection.<anonymous> (/home/cloudron/ghost/versions/5.109.0/node_modules/nodemailer/lib/smtp-connection/index.js:554:26)
Mar 26 09:46:33 at SMTPConnection._actionAUTHComplete (/home/cloudron/ghost/versions/5.109.0/node_modules/nodemailer/lib/smtp-connection/index.js:1586:34)
Mar 26 09:46:33 at SMTPConnection._actionAUTHComplete (/home/cloudron/ghost/versions/5.109.0/node_modules/nodemailer/lib/smtp-connection/index.js:1586:34)
Mar 26 09:46:33 at SMTPConnection._formatError (/home/cloudron/ghost/versions/5.109.0/node_modules/nodemailer/lib/smtp-connection/index.js:807:19)
Mar 26 09:46:33 at SMTPConnection._formatError (/home/cloudron/ghost/versions/5.109.0/node_modules/nodemailer/lib/smtp-connection/index.js:807:19)
Mar 26 09:46:33 at SMTPConnection._onData (/home/cloudron/ghost/versions/5.109.0/node_modules/nodemailer/lib/smtp-connection/index.js:772:14)
Mar 26 09:46:33 at SMTPConnection._onData (/home/cloudron/ghost/versions/5.109.0/node_modules/nodemailer/lib/smtp-connection/index.js:772:14)
Mar 26 09:46:33 at SMTPConnection._onSocketData (/home/cloudron/ghost/versions/5.109.0/node_modules/nodemailer/lib/smtp-connection/index.js:195:44)
Mar 26 09:46:33 at SMTPConnection._onSocketData (/home/cloudron/ghost/versions/5.109.0/node_modules/nodemailer/lib/smtp-connection/index.js:195:44)
Mar 26 09:46:33 at SMTPConnection._processResponse (/home/cloudron/ghost/versions/5.109.0/node_modules/nodemailer/lib/smtp-connection/index.js:991:20)
Mar 26 09:46:33 at SMTPConnection._processResponse (/home/cloudron/ghost/versions/5.109.0/node_modules/nodemailer/lib/smtp-connection/index.js:991:20)
Mar 26 09:46:33 at TLSSocket.emit (node:events:517:28)
Mar 26 09:46:33 at TLSSocket.emit (node:events:517:28)
Mar 26 09:46:33 at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
Mar 26 09:46:33 at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
Mar 26 09:46:33 at addChunk (node:internal/streams/readable:335:12)
Mar 26 09:46:33 at addChunk (node:internal/streams/readable:335:12)
Mar 26 09:46:33 at createMailError (/home/cloudron/ghost/versions/5.109.0/core/server/services/mail/GhostMailer.js:81:12)
Mar 26 09:46:33 at createMailError (/home/cloudron/ghost/versions/5.109.0/core/server/services/mail/GhostMailer.js:81:12)
Mar 26 09:46:33 at readableAddChunk (node:internal/streams/readable:308:9)
Mar 26 09:46:33 at readableAddChunk (node:internal/streams/readable:308:9)
Mar 26 09:46:33 BoxError: Not enough disk space for backup. Needed: 1.54GB Available: 1.26GB
Mar 26 09:46:33 BoxError: Not enough disk space for backup. Needed: 1.55GB Available: 1.22GB
Mar 26 09:46:33 }
Mar 26 09:46:33 }
Looking at my email settings this is what I've got:

Clicking on the domain

I reset my password in Mailgun in my outbound email settings, I know it has the right username and password, but I'm still getting the same error. Can anyone help me figure this one out? I tried following the docs, but they are hard to follow.