New AMD EPYC dedicated servers in the Swiss Alps, from $64.99 a month See servers

Pay with
EN

Self-hosted app·Mail and private messaging

Self-hosted SMTP relay on a Swiss VPS.

Run a self hosted SMTP relay for your SaaS on a Swiss VPS in ALP1: outbound port 25 open, Postfix on Debian 13, SPF/DKIM/DMARC, from $12.99/month.

Runs here
  • Debian
  • Docker
  • MariaDB

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · Small appsStandard · 4 vCPU · 4 GB RAM$12.99/mo160 GB NVMe · 15 TB transfer · 1 Gbps
  • 1 Gbps port15 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$12.99/mo

Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less

Deploy VPS Standard
  • No KYC
  • Crypto only
  • Swiss jurisdiction

ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto

  • 4 vCPU, 4 GB RAM
  • 160 GB NVMe local storage
  • 15 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/06

Short answer.

Yes. A self-hosted SMTP relay runs comfortably on our Standard plan — 4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB of transfer a month, $12.99 — with Debian 13 and Postfix, in our ALP1 site in the Swiss Alps. Outbound port 25 is open on every VPS, so there is no unblock ticket to file before your first message leaves.

What decides whether the relay works is not on the server. It is the reputation of one IPv4 address and the DNS around it: a PTR record that matches the hostname, SPF, DKIM and DMARC, and a sending history made of mail people asked for. With those in place the relay delivers. Without them, the most carefully tuned Postfix in the Alps spends its days retrying Gmail's deferrals.

02/06

What an SMTP relay is, and who runs one.

A relay is a mail transfer agent with a single job. Your applications hand it messages over authenticated SMTP; it signs them with DKIM, queues them, and delivers each one directly to the recipient's MX on port 25, retrying whenever the remote side answers "try later". It holds no mailboxes and speaks no IMAP. If you want those as well, you are building a full mail server, which is a different project with a different risk profile (our mail server guide).

The people who build one are mostly SaaS teams whose transactional mail — sign-up confirmations, password resets, invoices, alerts — has outgrown per-message pricing at an email service provider, or who want the queue and logs on a machine they control. Many arrive because their current cloud will not allow it. DigitalOcean's documentation says ports 25, 465 and 587 are blocked on all Droplets by default, Reserved IPs included, and recommends a third-party email service instead; its acceptable use policy also bans open relays and requires bulk senders to produce evidence of opt-in within 72 hours of being asked. The 587 block is the detail people miss: an application server on a Droplet cannot even submit mail to your own relay on the standard submission port, which is why the configuration below also listens on 2525.

For the software, Postfix remains the sensible default. Debian 13 ships the 3.10 branch and patches it through Debian security advisories, so apt keeps you current without a third-party repository. If you want a web interface, per-customer SMTP credentials, delivery webhooks and click tracking — in effect a self-hosted Mailgun — Postal is the usual choice. It runs in Docker and documents a minimum of 2 CPU cores, 4 GB RAM, 25 GB of disk and MariaDB 10.6 or newer, and it asks for a server running nothing else.

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.

03/06

Requirements and sizing.

Postfix barely registers on a modern CPU, and the receivers' throttling caps your throughput long before your cores do. The resources go to what surrounds it: TLS, a DKIM milter and, if you relay for your own customers, an outbound scanner such as rspamd with Redis, which flags a compromised tenant account before Gmail flags your IP. Postal adds MariaDB and a message history that grows with retention.

PlanvCPU / RAM / NVMeMonthly transferPrice / monthWhat it carries
Cloud VPS Starter2 / 2 GB / 80 GB10 TB$6.99Bare Postfix and OpenDKIM for one application
Cloud VPS Standard4 / 4 GB / 160 GB15 TB$12.99Postfix with rspamd and Redis, or Postal at its documented minimum
Cloud VPS Pro6 / 8 GB / 320 GB20 TB$22.99Postal with several tenants and weeks of message history

Transfer will not be what stops you. At an average of 75 KB per message, 15 TB is roughly 200 million messages a month (theoretical: 15 × 10¹² ÷ 75 × 10³), and no new IP address is allowed anywhere near that volume by the large receivers. Disk matters for latency more than capacity: Postfix writes and syncs a queue file for every message it accepts, and NVMe keeps that cheap when a few thousand password resets arrive in the same minute.

The address is the scarce resource. Each VPS gets one dedicated IPv4, and for your purposes it arrives cold: the big receivers know nothing good about it yet, and possibly something bad from a previous customer. An extra IPv4 costs $2 a month and we would add one as soon as you send anything besides transactional mail. Put newsletters on one address and account mail on the other, and a campaign that irritates people does not delay the reset link a locked-out customer is waiting for.

04/06

How to deploy it with us.

  1. 01Deploy Cloud VPS Standard with Debian 13 from the Cloud VPS Standard order page. The server is provisioned in ALP1, and the IPv4 address and root access appear in the client panel.
  2. 02Before installing anything, look the address up on Spamhaus and one or two other blocklists. Addresses are reused between customers; if yours is listed, open a support ticket from the client panel before sending a single message.
  3. 03Set up DNS. Gmail requires valid forward and reverse DNS from every sender, whatever the volume.
  4. 04Install the packages: apt install postfix opendkim opendkim-tools dovecot-core. Dovecot is there only for its SASL authentication service; Cyrus sasldb also works, but it fights Debian's chrooted Postfix.
  5. 05Configure Postfix as a submission-only relay (excerpts below), generate a key with opendkim-genkey, point OpenDKIM's socket at inet:8891@localhost, and publish the DNS records.
  6. 06Restrict ports 587 and 2525 with nftables to your application servers' addresses where those are fixed. Where they are not, SASL over mandatory TLS is the gate, so use long random credentials per application.
  7. 07From a machine outside the VPS, try to relay a message without authenticating and confirm it is refused. A misconfigured relay becomes an open relay within hours of going live, and the blocklists notice before you do.
  8. 08Register the sending domain with Google Postmaster Tools and the IP with Microsoft SNDS, then start with transactional mail only.

The parts of /etc/postfix/main.cf that turn a stock install into a relay:

example
myhostname = relay.example.com myorigin = notify.example.com mydestination = inet_interfaces = all inet_protocols = ipv4 mynetworks = 127.0.0.0/8 smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_tls_cert_file = /etc/letsencrypt/live/relay.example.com/fullchain.pem smtpd_tls_key_file = /etc/letsencrypt/live/relay.example.com/privkey.pem smtp_tls_security_level = may smtpd_milters = inet:127.0.0.1:8891 non_smtpd_milters = $smtpd_milters milter_default_action = tempfail

inet_protocols = ipv4 keeps outbound delivery on the address whose PTR you control. milter_default_action = tempfail is already Postfix's default; leave it there, because the alternative is a queue of unsigned mail every time OpenDKIM restarts. In master.cf, enable submission and add an identical listener on 2525 for clients on networks that block 587:

example
submission inet n - y - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_relay_restrictions=permit_sasl_authenticated,reject 2525 inet n - y - - smtpd -o syslog_name=postfix/submission-2525 -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_relay_restrictions=permit_sasl_authenticated,reject

DNS for a dedicated sending subdomain (documentation addresses):

example
relay.example.com. A 203.0.113.25 notify.example.com. TXT "v=spf1 ip4:203.0.113.25 -all" s1._domainkey.notify.example.com. TXT "v=DKIM1; k=rsa; p=MIIBIjANBg..." _dmarc.notify.example.com. TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.com"

A separate subdomain keeps application mail's SPF record short and its reputation apart from your staff's mailboxes. The From domain, the envelope sender and the DKIM signing domain are then all notify.example.com, so DMARC aligns without tricks. Move the policy from p=none to quarantine once the aggregate reports show nothing but your relay sending as that domain.

The first two weeks decide most of what follows. Send only mail people are waiting for, since confirmations and resets get opened, and raise volume only while Postmaster Tools shows a clean spam rate: Google wants it below 0.10% and treats 0.30% as the line not to reach. Above 5,000 messages a day to personal Gmail accounts it also requires SPF and DKIM together, a DMARC record and, for marketing mail, RFC 8058 one-click unsubscribe; Outlook.com has applied a similar floor to senders of that volume since 5 May 2025. When a large receiver defers you for no visible reason, ask on the mailop list, where mail operators and blocklist maintainers read along; r/sysadmin is better for war stories than for fixes.

If you prefer Postal, install Docker Engine from Docker's own Debian repository and follow Postal's installer. It takes over port 25 and expects the machine to itself. On Cloud VPS Standard it sits exactly at its documented 4 GB minimum, which is fine for one product's mail with short retention; with several tenants or weeks of history we would start on Cloud VPS Pro instead.

05/06

Cost.

LinePer month
Cloud VPS Standard: 4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB transfer, 1 Gbps$12.99
Second IPv4 to separate transactional and marketing streams+ $2.00
Daily backups (+20 % of the plan price)+ $2.60
Priority support (optional)+ $10.00

The relay most people need, with the second address and daily backups, comes to $17.59 a month. Yearly billing takes roughly 25 % off the plan, which puts Cloud VPS Standard at $116.99 a year, about $9.75 a month. Instead of VPS backups you can push Postal's database dumps with restic to S3-compatible object storage, where 250 GB costs $1.99 a month. Every plan and option is listed on the pricing page, and the full VPS range is on Cloud VPS.

The plan price includes full root, the dedicated IPv4, the 1 Gbps port and 15 TB of monthly transfer; VPS traffic is metered against that allowance, not unmetered. Payment is in cryptocurrency only (Monero, Bitcoin, USDT, Ethereum, Litecoin and others), priced in US dollars, and business customers paying this way are welcome. Top-ups carry a bonus from $50 upwards, so $100 becomes a $110 balance, and the unused paid part is refundable within 14 days. Sign-up is no-KYC: an email address is enough.

The honest downside of our offer: we sell a server with the port open, not deliverability. There is no pre-warmed IP pool, no managed reputation service and no feedback-loop processing on our side. The reputation of your address is yours to build, and yours to lose.

06/06

Limits and acceptable use.

Swiss law settles the opt-in question before our terms do. Article 3(1)(o) of the Federal Act against Unfair Competition, in force since 1 April 2007, makes it unfair to send mass advertising by telecommunication without the recipients' prior consent, without a correct sender identity, or without pointing to an easy, free way to refuse further messages. The one exception covers your own customers: if you collected their address during a sale and told them they could refuse, you may send them advertising for similar products of your own. The article draws no line between consumers and businesses, and a list bought from a broker passes none of its tests.

The relay is for mail to people who asked for it: transactional mail, and newsletters to opt-in lists with a working unsubscribe. Cold mailing to purchased or scraped lists is not acceptable use on our network.

Your delivery logs record every recipient address, which makes them personal data under the revised Swiss Federal Act on Data Protection, in force since 1 September 2023. Its article 6(4) requires data to be destroyed or anonymised once it is no longer needed for its purpose, so decide how many days of logs you need for support and bounce analysis and set the journald or logrotate retention to that number. For a SaaS with EU users, the European Commission confirmed on 15 January 2024 that Switzerland still ensures an adequate level of protection, so their addresses can be processed on a relay in ALP1 without additional transfer safeguards.

The platform is operated by Hosta AG, a Swiss société anonyme (CHE-107.875.655) in Riehen, and as of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia. Keep that in proportion: Swiss jurisdiction covers your queue and your logs. Once Gmail or Outlook.com accepts a message, it sits on their servers under their rules. The offshore hosting page sets out what hosting in Switzerland changes and what it does not.

Catalogue·Options

Every configuration, every option, every price.

Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.

Six cloud VPS plans in ALP1 · transfer included on every plan

PlanvCPUMemoryNVMeTransferPortPriceDeploy
StarterStaging, dev22 GB80 GB10 TB / month1 Gbps$6.99/moDeploy Starter
ProProduction68 GB320 GB20 TB / month1 Gbps$22.99/moDeploy Pro
PowerHeavy workloads1216 GB640 GB40 TB / month2 Gbps$42.99/moDeploy Power
UltraDatabases1632 GB1000 GB60 TB / month2 Gbps$65.99/moDeploy Ultra
SummitDense hosts3264 GB2000 GB100 TB / month5 Gbps$119.99/moDeploy Summit

Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.

Every plan

  • AMD EPYCon every host
  • Local NVMenot network storage
  • DDoS protectionalways on
  • 1 IPv4 addressmore at $2 each
  • VNC consoleand full root access

Options and upgrades · prices per month

OptionWhat you getPrice
Daily backupsSnapshots of the whole VPS+20%
Extra IPv4Per address, up to 64+$2.00
Priority supportPer VPS+$10.00
Longer billingPay quarterly or yearly−10% / −25%
Dedicated serverWhen a VPS is no longer enough: 10 Gbps, unmetered trafficfrom $64.99

FAQ

Questions people ask first.

Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.

Still unsure?

Tickets go straight to the people who run ALP1.

Contact support
Is port 25 open on your VPS, or do I have to request it?

Outbound port 25 is open on every VPS; there is no unblock request to file. You can confirm it in a few seconds from the server with timeout 5 bash -c '</dev/tcp/gmail-smtp-in.l.google.com/25' && echo open.

Will Gmail and Outlook.com accept mail from a brand-new IP?

They accept it once they have reasons to: valid forward and reverse DNS, TLS, passing SPF and DKIM, a DMARC record and a history of messages recipients open rather than report. Expect temporary deferrals in the first days, which Postfix retries on its own. No host can promise inbox placement, and we do not.

Can I send newsletters or cold email through the relay?

Newsletters to opt-in lists, yes, with List-Unsubscribe and List-Unsubscribe-Post headers. Cold email to bought or scraped lists, no: it fails Article 3(1)(o) of the Swiss Unfair Competition Act and our acceptable use rules.

Do I need DMARC if I send fewer than 5,000 messages a day?

Below that threshold Gmail requires SPF or DKIM, not DMARC. Publish a p=none record anyway: it costs one DNS entry and the aggregate reports show you every server sending as your domain, including the ones you forgot about.

My application runs on DigitalOcean. Can it reach a relay hosted here?

Not on 25, 465 or 587, which DigitalOcean blocks from Droplets by default. Add the 2525 listener shown above, require TLS and SASL on it, and point your application's SMTP settings at relay.example.com:2525.

Sources

Every fact on this page, with its source

Checked 3 Nov 2026 unless noted.

ALP1·Swiss Alps

Your server in the Alps, ready when you are.

Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.