Fix: connection timed out on port 25
What "connection timed out on port 25" means and exactly how to fix it — with the DNS or client change that resolves it for good. Practical guide for…
Seeing "connection timed out on port 25"? Here is what it actually means and the specific fix — not generic advice. Most email errors trace back to DNS or an encryption setting, and both are quick to correct.
Quick summary
- Never use port 25 for client sending — use 587 with STARTTLS.
- For app sending, use the OquMail API over HTTPS instead of raw SMTP.
- If self-hosting a relay, port 25 blocks are why hosted sending is simpler.
- Send a test message and check it lands in the inbox, not spam.
- In Gmail, use "Show original" to confirm SPF, DKIM and DMARC all pass.
What is happening
Most ISPs and clouds block outbound port 25; clients must send on 587.
How to fix it
- Never use port 25 for client sending — use 587 with STARTTLS.
- For app sending, use the OquMail API over HTTPS instead of raw SMTP.
- If self-hosting a relay, port 25 blocks are why hosted sending is simpler.
Confirm it is resolved
- Send a test message and check it lands in the inbox, not spam.
- In Gmail, use "Show original" to confirm SPF, DKIM and DMARC all pass.
- If it persists, re-verify your domain in the OquMail dashboard.
Common questions
How long does fix take for a small business?
Most teams finish domain connection and first mailboxes in under an hour. DNS propagation is often minutes; in rare cases wait up to 24–48 hours. OquMail shows live verification so you know when you are ready.
Do I need technical experience to set up business email?
No. If you can log into where you bought your domain and paste a few lines of text, you can set up professional email. OquMail guides you step by step and verifies when DNS is correct.
Can my small team use business email for free?
Yes. OquMail's free plan includes up to 15 mailboxes on your own domain with webmail, guided SPF/DKIM/DMARC setup, and a transactional email API — no credit card required.
Free business email on your own domain
OquMail gives you up to 15 mailboxes on your domain — free — with guided SPF/DKIM/DMARC, webmail, IMAP/SMTP for any mail app, and a send API. Most teams are live in under fifteen minutes. Start at oqumail.com.
Get started free