Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed
-
@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?
@wmlutz I have no idea about Mailgun. But IMHO it's ultimately just a smtp endpoint. Try to find out if - say - a Thunderbird smtp setting works. If you can send emails with your email client, everything should work with your Cloudron instance. If not (with the Cloudron instance), you have found an error.
-
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?
-
@wmlutz Checkout Postmarkapp.com. They do a great job as long as you separate transactional from broadcast (marketing) messages. I can't speak about Ghost email config, but all you need is their endpoint, port and username/password which looks like Ghost supports. Suggestion: establish a sender signature by adding DKIM, Return-Path DNS records and you can send from any email address on your domain.
-
@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?
-
@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?
@wmlutz said in Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed:
Postmark looks way overpowered for what I need.
@wmlutz Ghost requires Mailgun anyway
One thing that's tripped me up in the past (especially after moving server): you need to whitelist your IP in Mailgun, see https://help.mailgun.com/hc/en-us/articles/360012244474-IP-Allowlist
Have you already done that?
If not go here https://app.mailgun.com/settings/ip-access-management to add your server's IP.
Also be sure to update the Email address of your app here too to match your support@ address (I can't remember exactly why I needed to do this, but when I moved it from https://bridport.news to https://westdorset.news that was one of the things I ended up needing to do):
-
@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?
-
@wmlutz It's not a matter of scope. Even sending 10 emails could trip the spam filters. And your comment about a newsletter indicates "broadcast" (a/k/a marketing) not transactional. If you are sending the same email to 350 people in the same batch, then this is considered "broadcast"/marketing. It's not my definition, it's how inbox providers see your domain/traffic. You need to use the correct type of traffic or you will eventually be blocked/banned. It doesn't matter about Cloudron config, Mailgun vs. Postmark. Move your traffic to a platform that sends via outbound marketing streams.
-
@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.
-
-
@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.
@wmlutz said in Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed:
@jdaviescoates got it! It was the IP allowlist.
Glad to be of assistance
@wmlutz said in Outbound SMTP (Transactional Email) Stopped Working - Invalid login: 535 Authentication failed:
mailgun's transactional email cost which is cents/mo.
I don't think I've ever paid anything yet as I've not yet gone over the 1000 free messages a month or whatever it is...