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
  • 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 | Demo | Docs | Install
W

wmlutz

@wmlutz
About
Posts
10
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed
    W wmlutz

    @jdaviescoates got it! It was the IP allowlist.

    Last week I noticed a cloudron error that said:

    Server is running out of disk space 2:30 PM
    
    One or more file systems are running out of space. Please increase the disk size at the earliest.
    
    /dev/root is at 97% capacity.
    

    So I attempted to make my EC2 instance bigger (didn't solve the space problem, but that's for another thread). It did however change my IP address. I added the new IP to Mailgun and swaks started working properly in a few minutes.

    Side note: @crazybrad I think we're mixing up marketing/bulk and transactional. I use transactional for my ghostcms so I can keep things behind an auth wall, trying to keep kids safe. My parents/members use it rarely, it's not even worth $12/mo compared to mailgun's transactional email cost which is cents/mo.

    Thanks to all for the help.

    Support mailgun smtp relay

  • Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed
    W wmlutz

    @crazybrad thanks for the suggestion. I'm running a little 350 person newsletter for the parent-teacher organization in my town. Postmark looks way overpowered for what I need. There has to be something fundamentally wrong with my GhostCMS and Cloudron setup. @joseph can you point me in the right direction on how to keep troubleshooting?

    Support mailgun smtp relay

  • Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed
    W wmlutz

    Is there another way to do transactional emails from Ghost that doesn't involve going back to mailgun? Can Cloudron send from a different email address?

    Support mailgun smtp relay

  • Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed
    W wmlutz

    @luckow I verified and re-verified that I have the credentials correct (Mailgun makes you copy it to the clipboard when you make new credentials). Plus the fact that it worked a week ago, and not now . . . that would hint that it's not a credential typo right?

    Support mailgun smtp relay

  • Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed
    W wmlutz

    Roger that. Does this help?

    root@17221886-0501-4fa4-8aeb-8a3025067e25:/# swaks --auth \
           --server smtp.mailgun.org:587 \
           --au postmaster@mail.tjspto.org \
           --ap PASSWORD \
           --to EMAIL \
           --h-Subject: "Hello" \
           --body 'Testing some Mailgun awesomness!'
    === Trying smtp.mailgun.org:587...
    === Connected to smtp.mailgun.org.
    <-  220 Mailgun Influx ready
     -> EHLO 17221886-0501-4fa4-8aeb-8a3025067e25
    <-  250-bc2e5756fbc9
    <-  250-AUTH PLAIN LOGIN
    <-  250-SIZE 52428800
    <-  250-8BITMIME
    <-  250-SMTPUTF8
    <-  250-PIPELINING
    <-  250 STARTTLS
     -> AUTH LOGIN
    <-  334 VXNlcm5hbWU6
     -> cG9zdG1hc3RlckBtYWlsLnRqc3B0by5vcmc=
    <-  334 UGFzc3dvcmQ6
     -> NjIxNWJhOGYyZTZmMDFkZGE0MjAyZTZhYTEyMjM5MjQtZjYyMDIzNzQtMzNjYjQzZWY=
    <** 535 Authentication failed
     -> AUTH PLAIN AHBvc3RtYXN0ZXJAbWFpbC50anNwdG8ub3JnADYyMTViYThmMmU2ZjAxZGRhNDIwMmU2YWExMjIzOTI0LWY2MjAyMzc0LTMzY2I0M2Vm
    *** Remote host closed connection unexpectedly.
    root@17221886-0501-4fa4-8aeb-8a3025067e25:/# 
    
    Support mailgun smtp relay

  • Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed
    W wmlutz

    I also tried the other ports:

    root@17221886-0501-4fa4-8aeb-8a3025067e25:/# swaks --auth \
           --server smtp.mailgun.org:465 \
           --au postmaster@mail.tjspto.org \
           --ap PASSWORD \
           --to my-personal-email@gmail.com \
           --h-Subject: "Hello" \
           --body 'Testing some Mailgun awesomness!'
    === Trying smtp.mailgun.org:465...
    === Connected to smtp.mailgun.org.
    <** Timeout (30 secs) waiting for server response
     -> QUIT
    <** HTTP/1.1 400 Bad Request
    <** Content-Type: text/plain; charset=utf-8
    <** Connection: close
    <** 
    *** Remote host closed connection unexpectedly.
    root@17221886-0501-4fa4-8aeb-8a3025067e25:/# swaks --auth \
           --server smtp.mailgun.org:587 \
           --au postmaster@mail.tjspto.org \
           --ap PASSWORD \
           --to my-personal-email@gmail.com \
           --h-Subject: "Hello" \
           --body 'Testing some Mailgun awesomness!'
    === Trying smtp.mailgun.org:587...
    === Connected to smtp.mailgun.org.
    <-  220 Mailgun Influx ready
     -> EHLO 17221886-0501-4fa4-8aeb-8a3025067e25
    <-  250-dc25da1f3901
    <-  250-AUTH PLAIN LOGIN
    <-  250-SIZE 52428800
    <-  250-8BITMIME
    <-  250-SMTPUTF8
    <-  250-PIPELINING
    <-  250 STARTTLS
     -> AUTH LOGIN
    <-  334 VXNlcm5hbWU6
     -> cG9zdG1hc3RlckBtYWlsLnRqc3B0by5vcmc=
    <-  334 UGFzc3dvcmQ6
     -> NjIxNWJhOGYyZTZmMDFkZGE0MjAyZTZhYTEyMjM5MjQtZjYyMDIzNzQtMzNjYjQzZWY=
    <** 535 Authentication failed
     -> AUTH PLAIN AHBvc3RtYXN0ZXJAbWFpbC50anNwdG8ub3JnADYyMTViYThmMmU2ZjAxZGRhNDIwMmU2YWExMjIzOTI0LWY2MjAyMzc0LTMzY2I0M2Vm
    *** Remote host closed connection unexpectedly.
    
    Support mailgun smtp relay

  • Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed
    W wmlutz

    OK, cool I just ran this:

    swaks --auth \
           --server smtp.mailgun.org \
           --au postmaster@mail.tjspto.org \
           --ap PASSWORD \
           --to my-personal-email@gmail.com \
           --h-Subject: "Hello" \
           --body 'Testing some Mailgun awesomness!'
    === Trying smtp.mailgun.org:25...
    *** Error connecting to smtp.mailgun.org:25:
    ***     IO::Socket::INET: connect: timeout
    root@17221886-0501-4fa4-8aeb-8a3025067e25:/# 
    

    Does that help?

    Support mailgun smtp relay

  • Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed
    W wmlutz

    @joseph it worked fine a few weeks ago. I'm US based and haven't used any of the eu accounts/servers.

    Screenshot 2025-03-26 at 10.07.38 AM.png

    Support mailgun smtp relay

  • Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed
    W wmlutz

    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:
    Screenshot 2025-03-26 at 9.47.59 AM.png

    Clicking on the domain
    Screenshot 2025-03-26 at 9.48.39 AM.png

    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.

    Support mailgun smtp relay

  • Emojis in email render incorrectly
    W wmlutz

    They still aren't happy with v5.108.2 and recommend rolling back.

    https://forum.ghost.org/t/html-encoding-issue-in-emails-nbsp-amp-etc/54798/18

    Any guidance on how to do this in my cloudron deployment? My members are getting cranky.

    Ghost
  • Login

  • Don't have an account? Register

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