Not Solved [Mail] SMTP Server Works but gives "110: Connection timed out" on MyBB
#1
Not Solved
Hello everybody, I have setup a SMTP Server, tested it out online and confirmed it is working.

   

   

Not only that, I've checked the same configurations on my mybb forum and it does not work.

   

   

I am currently running MyBB Version 1.8.39PHP Version 8.4.16, on Debian 13.

Any help?
Reply
#2
Not Solved
Change encryption to SSL

or use another port 587 for TLS
Micronation as virtual state entity // bialenia.net.pl
Reply
#3
Not Solved
(2026-02-28, 08:36 PM)mtsz Wrote: Change encryption to SSL

or use another port 587 for TLS

Already tried that configuration, no results

       

   
Reply
#4
Not Solved
Yeah, I just checked it now. There's no SMTP.

You have to configure mail subdomain creating DNS records at your registrar pointing to your email service provider or use your hoster's mail server.


   
Micronation as virtual state entity // bialenia.net.pl
Reply
#5
Not Solved
(2026-02-28, 09:03 PM)mtsz Wrote: Yeah, I just checked it now. There's no SMTP.

You have to configure mail subdomain creating DNS records at your registrar pointing to your email service provider or use your hoster's mail server.


The records are correct, my router blocks pinging (It's a brazillian thing afaik)

   

   
site link


   

Try using nmap to specify the ports, it should show up as normal.

EDIT: and again, forgot to mention, but I've used multiple online SMTP testing tools and they work just fine
Reply
#6
Not Solved
Did some more testing and followed this script and the best thing I've got was SMTP error 250, which soulds like a good thing but it still doesn't authenticate.

Again, testing with other sites it sends emails just fine, so I hope someone here can help me out on how to set mybb to work with it.
Reply
#7
Not Solved
Might work better if your smtp hostname setting was neosampa.org, instead of mail.neosampa.org.
The former has a mx record published which points to mail.neosampa.org. There is no dns record for the latter.

Using https://mxtoolbox.com/MXLookup.aspx to compare my records to yours, as well as comparing my smtp configuration to yours.
The above is the only difference I can spot.

May also depend on your hosting service. Had to get tech support involved in tweaking deliverability. There are WHM/cPanel tools available to me on a VPS.
Reply
#8
Not Solved
I did try to do like you've said but no results, I've enabled logging on the forum settings to get a more detailed explanation and it seems that the error is: 

Unable to connect to the mail server with the given details. Reason: 0: php_network_getaddresses: getaddrinfo for neosampa failed: Name or service not known

Even with neosampa.org and forum.neosampa.org, no progress was made.
Reply
#9
Not Solved
First are you on a vps or shared hosting? Try connecting from the vps server directly to verify!

Run this command:
telnet smtp.yourprovider.com 587

If it doesn’t connect, you’ll get the same timeout. Networking/hosting settings need adjustment.

You can also use free mail servers as well. You don't have to use your cpanels, or php mailer:
Mailgun
SendGrid
Brevo (formerly Sendinblue)
Mailjet
Postmark
⚠️ Transparency:
AI may assist with writing clarity.
Security & Forensics | MyBB Dev | Theme Design
Projects & resources:
Reply
#10
Not Solved
(2026-03-02, 09:29 PM)xxcorrosionxx Wrote: First are you on a vps or shared hosting? Try connecting from the vps server directly to verify!

Run this command:
telnet smtp.yourprovider.com 587

If it doesn’t connect, you’ll get the same timeout. Networking/hosting settings need adjustment.

You can also use free mail servers as well. You don't have to use your cpanels, or php mailer:
Mailgun
SendGrid
Brevo (formerly Sendinblue)
Mailjet
Postmark

Believe it or not, I am hosting it locally using mailcow.


By using telnet on my local machine (and now using on another network on my aunt's house) it has returned like this:

telnet mail.neosampa.org 587
Trying 179.101.234.46...
Connected to mail.neosampa.org.
Escape character is '^]'.
220 mail.neosampa.org ESMTP Postcow
  
It hangs there so I tried typing 250 so it kicked me out, I think it connected but I don't know how to use telnet lol

Is there a guide on using these free hosting services? I do prefer mostly to use selfhosted options when possible (since the mailserver looks like its working) but I'm totally down to follow a guide on some free service if that's the way.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)