KIKOMONO

HOSTING GUIDE

Check VPS port 25 before buying

Webmaster Toolbox

If your VPS must send mail directly to recipients' mail servers, check the provider's port 25 policy before you pay. Many providers block outbound port 25 by default to stop spam from compromised servers, and some will not unblock it at all. Discovering that after you have migrated your domain and mail is a rebuild, not a setting change.

Check VPS port 25 before buying: Decide first: direct mail or relay?; Read the provider SMTP policy first; Test 25 against 587 after setup; Open 25 is not inbox delivery

The short answer

Port 25 is the port mail servers use to talk to each other. When your server delivers mail directly, it connects to the recipient's mail server on port 25, unauthenticated, and hands the message over. Port 587 and port 465 are different jobs: they are submission ports, for an authenticated application or mail client handing mail to a relay or provider that delivers it onward. Confusing those two jobs is the most common cause of a wasted VPS purchase for mail.

So the check has a fixed order: decide which job you actually need, then read the provider's policy for that port, then test it after provisioning. A provider that blocks port 25 is not necessarily a bad host — it may be exactly right for a website that sends its mail through a relay. It is only a bad purchase if direct delivery was the plan and nobody checked.

1. Decide the task first: direct delivery or relay?

Write down, in one sentence, what mail the server must send and how it will send it. The answer sorts every VPS into usable or not:

Your planPort that mattersWhat to check before buying
Run your own mail server, delivering directly to recipients' serversOutbound 25, plus inbound 25 if you also receive mailWhether outbound 25 is open, unblockable, or closed for good
Send application mail (password resets, receipts, notifications) through a relaySubmission port 587 or 465 to the relayWhether that submission port is open, and which relay account you will use
Send no mail from the server at allNoneNothing — a port 25 block is not a reason to reject an otherwise good server

For most small sites, the second row is the right plan. A relay exists precisely so a small sender does not have to build a sending reputation from a fresh hosting address. Only choose the first row deliberately, knowing it also means reverse DNS, sender authentication, bounce handling, and reputation building are now your jobs — see the last section before committing to it.

One more distinction, borrowed from our IP blocklist guide: check the address mail receivers will judge. If mail goes through a relay, receivers judge the relay's address, not your server's. A port 25 check on your server then answers a question nobody asked.

2. Read the provider's SMTP policy before you pay

Do not take the sales page's word for it. Search the provider's help centre or documentation for its SMTP or port 25 article — that is the document that governs, not a marketing page. You are looking for four answers, and a policy that does not answer one of them is an answer in itself:

Ask the provider in writing before paying if the article is vague, and keep the answer with the order. A pre-sales question costs minutes; a post-migration unblock refusal costs the migration. The same timing rule runs through our refund window guide: the check belongs before the window closes, not after the domain has moved.

3. Test it after provisioning, and read the result correctly

Policy reading tells you what should happen; a test tells you what does happen on your server. From the server, test outbound connectivity to a real mail destination on port 25 and to your relay on port 587, for example:

nc -vz -w 5 gmail-smtp-in.l.google.com 25
nc -vz -w 5 smtp.your-relay.example 587

Replace the relay hostname with your relay's real hostname. If you do not have a relay yet, the port 25 test alone still tells you whether direct delivery can even start. Read the pair of results together:

Port 25 resultPort 587 resultMost likely reading
ConnectsConnectsBoth routes are open; proceed to the authentication and DNS checks below
Times outConnectsConsistent with a provider port 25 block — confirm it against the published policy
Times outTimes outNot yet a diagnosis: check your own firewall first, then routing and the destination
Refused immediatelyConnectsA firewall or filter is rejecting the connection; check your own rules before blaming the provider

A timeout alone proves nothing — a firewall that drops packets, a routing problem, and an unreachable destination all look the same from the sending side. That is why the comparison test, your own firewall rules (see our firewall guide), and the provider's policy all belong in the same diagnosis, and why a single failed command is never enough to file a support ticket claiming a block.

If the test confirms a block and your plan needs direct delivery, you now have three honest options, in this order: request the unblock if the policy offers one, switch to a relay for the mail the site actually needs, or move providers before the refund window closes. What does not work is installing a mail server first and hoping the port opens itself — it will not.

4. An open port is not inbox delivery

Even with outbound port 25 open, a fresh VPS address starts with no sending reputation, in an address range receivers already associate with hosting traffic. Before sending anything real, confirm the four items receivers actually check:

If you also receive mail on the server, add inbound port 25 and the domain's MX record to the same checklist: mail cannot arrive if the receiving port is filtered or the MX record points elsewhere. And if the server sends over IPv6, check that address and its reverse DNS separately — see our IPv6 guide, since an IPv4 result says nothing about IPv6.

What not to do

Do not buy first and check the mail port later, and do not treat a timeout as proof of a provider block. The first mistake turns a policy question into a migration; the second turns a firewall or routing problem into a support argument. Decide direct or relay, read the policy, test both ports, and only then commit the domain and the mail to the server.

Do not build a bulk-sending service on the assumption that an open port 25 is a sending licence. The port is one gate among several, the acceptable use policy governs what you may send, and reputation is earned by sending mail people asked for — slowly, from a correctly configured server, with bounces read and acted on.

Checked 2026-11-05. Provider SMTP policies, relay ports, and acceptable use terms change; confirm the current policy on the provider's own help pages before you buy or migrate mail to a server.

← All guides · How we verify offers

Frequently asked questions

If outbound port 25 is blocked, will my website's contact form stop working?

Not necessarily. A contact form usually sends through an application or a relay on a submission port such as 587 or 465, not directly to the recipient's mail server on port 25. A port 25 block breaks direct server-to-server delivery; it does not automatically break relayed mail, provided the relay port itself is open and the relay account is configured.

Does a connection timeout prove my provider blocks port 25?

No. A timeout can also come from your own firewall, a routing problem, or an unreachable destination. Compare a port 25 test with a port 587 test to the same kind of destination, check your own firewall rules, and confirm the provider's published SMTP policy before calling it a provider block.

If outbound port 25 is open, will my mail reach the inbox?

No. An open port only lets your server attempt delivery. Receivers also weigh reverse DNS, SPF, DKIM and DMARC records, the sending domain's history, and the IP address's reputation. A fresh VPS address has no sending history, so even correctly configured direct mail may be filtered or refused at first.

Can I just use port 587 instead of port 25?

For application mail sent through a relay — password resets, order messages, notifications — yes, that is the normal route: your application submits authenticated mail to the relay on port 587 or 465, and the relay delivers it onward. That does not replace port 25 if you plan to run your own mail server delivering directly to recipients' mail servers. Also check the relay port itself, because some providers block submission ports too.

Should I ask for a port 25 unblock before buying?

Ask before you pay, not after you have migrated. Ask whether unblocking is possible at all, what use case and account conditions apply, how to request it, and how long a decision takes. Meeting the stated conditions is not a guarantee of approval, so a plan that only works with an unblock is a plan that depends on an answer you do not have yet.