Hetzner blocks outbound ports 25 and 465 by default on every cloud server. You can request an unblock once your account is a month old and your first invoice is paid, and Hetzner reviews each request individually, so a new server cannot deliver mail directly for at least four weeks. Until then you can relay through port 587, which is open, or put the mail server on a host that allows port 25 from the start.
What Hetzner actually blocks, and why
From Hetzner's cloud server FAQ:
| Port | Status on a new cloud server | What it is for |
|---|---|---|
| 25 | blocked outbound | server-to-server delivery to Gmail, Outlook and everyone else |
| 465 | blocked outbound | submission to a relay over implicit TLS |
| 587 | open, no request needed | submission to a relay with STARTTLS |
The block exists because new cloud accounts are the cheapest way to send spam. Almost every large cloud provider does something similar. Our explainer on why port 25 is blocked covers the history and which providers do it.
The practical result: a mail server you install on a fresh Hetzner VM can receive mail but cannot deliver it. Outbound connections to port 25 just hang and time out, which looks exactly like the error in our port 25 connection timed out fix.
Ports 25 and 465 are walled off; 587 goes around via a relay
How to request the unblock
The conditions are fixed: your account must be at least a month old, and your first invoice must be paid. After that:
- Open a limit request from your Hetzner account for the server or project.
- Describe the use case honestly: transactional mail for your app, a newsletter to opted-in subscribers, and so on.
- Give a volume estimate, per day and per month.
- Show you are a responsible sender: SPF, DKIM and DMARC published, reverse DNS set, bounce handling and unsubscribes in place.
- Wait for the review. Hetzner decides case by case.
A request that answers the reviewer's questions up front looks something like this:
Use case: order confirmations and a monthly newsletter for example.com
Recipients: our own customers and opted-in subscribers (double opt-in)
Volume: about 2,000 a day, 40,000 a month
Setup: SPF, DKIM and DMARC published, PTR mail.example.com set
Handling: bounces suppressed automatically, one-click unsubscribe in every email
Keep it factual and specific. Vague requests ("need to send email") and very large volume figures on a brand new account are the ones most likely to be questioned.
Users report mixed outcomes. Some describe Hetzner asking follow-up questions about the mail and volume, then unblocking. Others describe requests for bulk or newsletter sending being refused with a suggestion to use a bulk mail provider. A clear, modest, well-documented request has the best chance.
How long the whole thing takes
A new account waits at least a month before it can even ask
| Stage | Time |
|---|---|
| Account created to first invoice paid | about 30 days |
| Limit request reviewed | usually days, no published target |
| If refused | move host or relay; there is no fast path |
| Total before direct delivery | plan for 4 to 6 weeks |
If you are launching something with a date on it, do not plan around the unblock. Plan around a relay or a different host, and treat the unblock as a bonus.
Your three options, compared
| Option | Works from | Sends from | Ongoing cost | Main risk |
|---|---|---|---|---|
| Wait and request | about day 30, if approved | your own Hetzner IPs | just the server | refusal for bulk use |
| Relay through port 587 | today | the relay's IPs | per email, plus dedicated IPs if wanted | relay's content rules and account reviews |
| Host that allows port 25 | today | your own IPs | just the server | must still warm the IPs |
The relay route keeps your Hetzner server and sends through, for example, Amazon SES on 587. At $0.10 per 1,000 emails it is cheap at low volume, but your mail goes out on the relay's IPs, and the relay can pause your account. Our comparison of Amazon SES vs a dedicated SMTP server shows where that stops being worth it.
Moving host is the clean answer for steady bulk volume. Pick a provider that lets you send on port 25 and set reverse DNS on each IP, then warm the IPs up gradually. Our guide to setting up a bulk email server on a VPS covers the build.
Set reverse DNS while you wait
The month of waiting is not wasted. Use it to finish everything receivers check, so the server is ready the moment port 25 opens:
| Task | Where | Why |
|---|---|---|
| Reverse DNS (PTR) on each IP | Hetzner Cloud Console, per IP | Gmail and Outlook reject or junk mail from IPs without matching PTR |
| SPF, DKIM, DMARC | your DNS provider | required for bulk senders since 2024 |
| HELO name | your MTA config | should match the PTR hostname |
| Bounce and unsubscribe handling | your mailer | part of what makes the request credible |
The PTR record should point to a hostname such as mail.example.com, and that hostname's A record should point back to the same IP. Mismatches are one of the most common reasons a freshly unblocked server still lands in spam.
Check any host before you pay
Before committing to a VPS for mail, ask sales two questions: is outbound port 25 open, and can I set the PTR record on my IPs? Then test after signup:
nc -vz gmail-smtp-in.l.google.com 25
A line ending in succeeded or open means the port works. A timeout means it is blocked. Then set reverse DNS so the PTR matches your HELO name; see how to set up a PTR record.
How BulkEmailSetup helps
We build your dedicated SMTP server on hosting that can actually deliver: outbound port 25 open, PTR set on every IP, SPF, DKIM and DMARC published, bounce handling, a campaign platform and a warm-up plan. If you already have a Hetzner account where port 25 has been approved, we can set up there.
Basic is $549 once for 3 IPs and 25,000 emails a day, with hosting around $11 a month paid to your host. Advance is $1,199 once for 15 IPs and 200,000 a day. There is no contact limit, and the 15-day money-back guarantee applies until server access is handed over. See pricing or the Basic plan cost breakdown.
Frequently asked questions
How do I unblock port 25 on Hetzner?
Wait until your account is a month old and your first invoice is paid, then submit a limit request from your Hetzner account describing your use case. Hetzner reviews each request individually. Explain what mail the server sends, roughly how much, and how you handle bounces and unsubscribes. Until it is approved, ports 25 and 465 stay blocked outbound.
How long does Hetzner take to open port 25?
At least a month from signup, because you cannot ask before the account is a month old and the first invoice is paid. After that, the review itself is usually a matter of days, but Hetzner publishes no fixed time and decides case by case. Plan for four to six weeks in total before outbound port 25 works on a new account.
Does Hetzner allow bulk email?
Not as a given. Hetzner says it unblocks port 25 for valid use cases after review, and users report that some requests describing newsletters or bulk sending were refused with a suggestion to use a bulk mail provider. Transactional mail for your own app is the easiest case to get approved. Treat bulk approval as possible, not promised.
Which VPS hosts allow port 25 from day one?
Some do, but policies change and many cloud providers now block it by default. Before you buy, ask sales directly and test after signup with a command like nc -vz to a Gmail MX host on port 25. If the connection times out, the port is blocked. A host that allows 25 also needs to let you set reverse DNS on your IPs. BulkEmailSetup installs only on hosts that pass both checks, from $549 one-time.
Can I use port 587 on Hetzner instead?
Yes. Hetzner says port 587 is not blocked and needs no request. But 587 is a submission port: you use it to hand mail to another server that then delivers it. That means relaying through a provider such as Amazon SES, so your mail goes out on their IPs and you pay per email, not from your own IPs.
Is port 465 also blocked on Hetzner?
Yes. Hetzner's FAQ says ports 25 and 465 are both blocked by default on all cloud servers. 465 is the implicit-TLS submission port, so the block mainly affects sending to relays that only accept 465. Most relays also accept 587 with STARTTLS, which is open.



