SMTP not working after changing service


(Maged Sammor) #1

Hello!

So I was using elasticmail but I decided to change switch over to mailjet because my elasticmail account had some problems. From what I read it was simple, just changing the SMTP settings in the app.ymp file then rebuild which I did. I have linked my domain to mailjet and SPF/DKIM status is OK. I double checked my SMTP/API settings multiple times and they are correct. But the email services are not working and I’m not sure what could be the problem as I can’t see anything being wrong, elasticmail was working with no problems beforehand.

Here’s more info:

sidekiq error: Jobs::HandledExceptionWrapper: Wrapped Net::OpenTimeout: execution expired

I’d appreciate any help, thanks!


(Jay Pfaffman) #2

Looks like you can’t connect to your smtp server.


(Maged Sammor) #3

What could have caused that, sorry I’m really not sure what could it be outside the yml file.


(Jay Pfaffman) #4

It looks like a networking problem.

Can you telnet to the smtp server?

Something like

telnet smtphost 587

(Jeff Atwood) #5

The above screenshot shows port 25 which is probably wrong.


(Maged Sammor) #6

I’ve used both 25 and 587, same issue.
I tried using telnet and its just stuck at “Trying (IP)”


(Maged Sammor) #7

I intend to change the host of the server but I’d like to download the backup first, is it possible to download the website’s backup without email messages?


(Matt Palmer) #8

Telnet stuck at “Trying” means something’s firewalled, or otherwise misbehaving at a network level. You can’t download a backup without e-mail, for security reasons. You could switch back to your previous e-mail provider in order to get the backup download e-mail, I guess…


(Maged Sammor) #9

Thanks for he help! I just did that and now telnet works and I get connected, but the problem is still there and I’m not recieving any emails :confused: When I sent an email test I get the same message.

There was a problem sending the test email. Please double-check your mail settings, verify that your host is not blocking mail connections, and try again.


(Maged Sammor) #10

I wanna add that I was able to download the backup file without an email message, using sidekiq you can see the arguments of the email message that was supposed to be sent. The link of the download is included.


Admin token verification can be bypassed using Sidekiq's web UI
(Joshua Rosenfeld) #11

Thanks for letting us know. This bypass has been fixed - the download link is no longer passed to sidekiq.


(Jay Pfaffman) #12

Just a note that if you need to download the backup and don’t have email you can do it with scp.