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

Mail-in-a-Box on a Swiss VPS.

Mail-in-a-Box VPS in ALP1, Swiss Alps: port 25 open. Ubuntu 22.04, reverse DNS, glue records, sizing and the May 2027 OS deadline.

Runs here
  • Ubuntu

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · Staging, devStarter · 2 vCPU · 2 GB RAM$6.99/mo80 GB NVMe · 10 TB transfer · 1 Gbps
  • 1 Gbps port10 TB of transfer a monthIncluded
  • Ubuntu 22.04 LTSpreinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$6.99/mo

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

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

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

  • 2 vCPU, 2 GB RAM
  • 80 GB NVMe local storage
  • 10 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/08

Short answer.

Yes. Mail-in-a-Box fits our Starter plan at 6.99 USD a month in ALP1, our site in the Swiss Alps, and port 25 is open on every VPS we sell, inbound and outbound, with no unblock request to file. For a Mail-in-a-Box VPS the detail that decides whether the install works at all is the operating system: version 78 installs only on a fresh, unmodified Ubuntu 22.04 LTS x64, so choose that image, not Debian. Whether your mail then reaches other people's inboxes depends less on the server than on what surrounds it — reverse DNS, a clean IP address, correct glue records.

02/08

What Mail-in-a-Box is, and who maintains it.

Mail-in-a-Box is a set of shell scripts and a small Python management daemon that turn one Ubuntu machine into a complete mail host: Postfix for SMTP, Dovecot for IMAP and POP, Roundcube for webmail, Nextcloud for contacts and calendars, Z-Push for ActiveSync, SpamAssassin and Postgrey for filtering. The box also runs its own authoritative DNS, so it can publish SPF, DKIM, DMARC and MTA-STS records for you, sign the zone with DNSSEC where your registrar supports it, and fetch Let's Encrypt certificates on its own. A web control panel with TOTP login handles accounts, aliases, custom DNS and encrypted backups.

Joshua Tauberer started the project in 2013 and is still its primary maintainer; the code is public domain under CC0, and support comes from volunteers on discourse.mailinabox.email. The latest changelog entry is version 78 of 22 October 2026, a security release. The design choice you will feel most is that Mail-in-a-Box is deliberately not configurable: it wants a machine to itself and rewrites its own configuration on every setup run, so hand edits to Postfix or Nginx get overwritten. If you want to tune things, cloud VPS is the better starting point; if you want a mail server you mostly leave alone, the rigidity works in your favour.

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/08

Requirements and sizing.

RequirementWhat Mail-in-a-Box asks for
Operating systemFresh Ubuntu 22.04 LTS x64; containers and modified images are not supported
Memory512 MB minimum, 1 GB recommended; the installer stops below about 502 MB and warns under 768 MB
SwapCreated by setup when RAM is under 2 GB and at least 5 GB of disk is free
NetworkStatic IPv4, reverse DNS set to the box's hostname, port 25 open both ways
Inbound ports22, 25, 53 (TCP and UDP), 80, 443, 465, 993, 995, 4190
ExclusivityNothing else on the machine: no website stack, no Docker

Memory is the constraint that matters: SpamAssassin and the PHP behind Roundcube and Nextcloud stay resident, while one or two vCPUs sit mostly idle on a box serving a household. Below the recommended 1 GB the box still installs but leans on swap, and webmail is where you notice it first.

Disk is where installations usually get into trouble. Nightly encrypted backups are written by default to the same disk as the mail, under /home/user-data/backup, so the footprint grows by roughly the size of your data again — a theoretical doubling, before compression. Watch free space in the status checks, or send backups off the box by rsync or to an S3-compatible bucket, in which case nothing is kept locally; if you want that bucket in Switzerland too, see what our object storage offers. IPv6 needs a decision as well: the setup guide suggests disabling it where possible, because a box with an IPv6 address publishes AAAA records, is checked against Spamhaus on that address too, and needs a matching PTR record there to deliver cleanly.

04/08

How to deploy it with us.

  1. 01Choose the domain and hostname. The convention is a subdomain such as box.example.com, which leaves the bare domain free for a website elsewhere. The setup guide lists .de, .at, .nl and .ca among TLDs to avoid when the box runs its own DNS; .ch is on neither its good nor its avoid list, so confirm that your registrar accepts the glue records in step 5 before you commit.
  1. 02Order Cloud VPS Starter with the Ubuntu 22.04 image. Signing up is no-KYC: an email address is enough — for once an address elsewhere, since yours does not exist yet. Our no-KYC hosting page explains what that covers, and the VPS range lists larger plans.
  1. 03Check the IP address on Spamhaus and MXToolbox. If it is listed, open a support ticket from the client panel before you point any DNS at it.
  1. 04Set reverse DNS so that the PTR record of the box's IPv4 address reads exactly box.example.com.
  1. 05At your registrar, create glue records for ns1.box.example.com and ns2.box.example.com pointing to the VPS's address, then make them the domain's nameservers. Registries that insist on two different IP addresses need secondary DNS or the external-DNS route.
  1. 06Log in over SSH as a sudo-capable user and run the installer:
example
curl -s https://mailinabox.email/setup.sh | sudo -E bash

That pipes a script from the internet into a root shell; if you would rather read it first, the source is on GitHub. Re-running setup is safe, and sudo mailinabox is also how you upgrade to each release.

  1. 07Open https://your-ip/admin, compare the certificate fingerprint with the one setup printed, and work through System Status Checks until DNS is clean; propagation can take hours. Provision Let's Encrypt certificates, add the DNSSEC DS record at your registrar if your TLD supports it, configure backups, and copy the backup encryption key off the box the same day. Without it, nobody can decrypt the backups, you included.

The box manages its own ufw firewall, so you only need the port list if you filter traffic in front of the VPS. Docker is not an option; the project rules containers out.

05/08

Cost.

ItemPrice
Cloud VPS Starter, ALP16.99 USD / month
Twelve months83.88 USD / year (theoretical: 12 × 6.99)
Domain nameYour registrar's price, not billed by us

The plan includes port 25 in both directions and 10 TB of transfer a month. It does not include administration: we run the hardware and the network, and the box, its updates and its sending reputation are yours. The project's setup guide reckons on about 12 dollars a month for a suitable machine. We accept crypto, and top-ups carry a bonus with the unused balance refundable within 14 days; terms are on the pricing page.

06/08

The Ubuntu 22.04 deadline.

Canonical's standard security maintenance for Ubuntu 22.04 ends in May 2027; Ubuntu Pro extends patching to 2032 but brings no newer software. The maintainers follow every other Ubuntu LTS, so 26.04 is the next target; a port sits in pull request #2603, still open as we write, and the unofficial forks announced on the forum are not where the only copy of your mail should live. Install upstream on 22.04 now. When a 26.04 release ships, order a second VPS, restore your backup onto it, move the glue records and PTR, and cancel the old one — the project's move to Ubuntu 18.04 in 2019 also required a fresh machine. Budget one overlapping month (6.99 USD, theoretical), and expect the new IP address to start with no sending history.

07/08

What Swiss hosting changes, and what it does not.

Your box sits in ALP1 and your contract is with Hosta AG, a Swiss société anonyme in Riehen. The revised Federal Act on Data Protection has applied since 1 September 2023, and the European Commission reconfirmed Switzerland's adequacy on 15 January 2024, so relatives or club members in the EU can use your box without extra safeguards. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements with the United Kingdom and Australia only, and the revised Swiss surveillance ordinance (VÜPF/OSCPT) consulted on in January 2025 is not in force. Our offshore hosting page covers the legal side.

None of this follows a message once it leaves your server. Mail you send to a Gmail address is stored by Google under its terms, and the project lists being "NSA-proof" among its non-goals. Self-hosting in Switzerland gives you control over your copy of the mail and over who runs the machine it lives on; it does not make email end-to-end encrypted.

08/08

Acceptable use and your obligations.

An open port 25 is a responsibility we hand over with the server. Unsolicited bulk mail is not allowed on our network, and in Switzerland it is also unfair competition under Art. 3 para. 1 let. o of the Unfair Competition Act (UCA, SR 241): mass advertising by email needs prior consent, a correct sender and a free, easy way to refuse. Do not turn the box into a relay for other machines, do not send mail you cannot attribute to a real account holder, and do not host phishing pages on its static website.

Re-run setup when a release comes out (most 2026 releases were security fixes), protect the admin account with TOTP, and read the abuse@ and postmaster@ mail the box routes to you. Complaints about mail from your IP address are forwarded to you.

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
StandardSmall apps44 GB160 GB15 TB / month1 Gbps$12.99/moDeploy Standard
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
Can I install Mail-in-a-Box on Debian 13, or in Docker?

No. The installer checks for Ubuntu 22.04 and stops on anything else, and the project supports neither containers nor modified images. Order the stock Ubuntu 22.04 image and keep that VPS for Mail-in-a-Box alone.

Do I need to ask you to open port 25?

No. Port 25 is open on every VPS we sell, in both directions, without a ticket. That is not the industry norm: Vultr, for example, blocks outbound port 25 on new instances and reviews unblock requests case by case, without guarantee. See our answer on port 25.

Does the box have to be my domain's nameserver?

No, but the project recommends it, because the box then keeps SPF, DKIM, DMARC and MTA-STS correct on its own. With external DNS, copy the records from the control panel's External DNS page, which offers a zone-file download, and recheck them whenever the status checks complain.

Will my mail reach Gmail and Outlook inboxes?

Usually, once the status checks are green, the PTR record matches and the IP address is on no blocklist, but nobody can promise it: a new address has no sending history, and the project itself warns that other services may spam-filter self-hosted mail. Start with modest volumes and check a few test recipients' spam folders.

What do I need to sign up, and am I still responsible for what the box sends?

An email address is enough; we do not ask for identity documents, and crypto is accepted. No-KYC changes nothing about the rules above: what leaves your box is your responsibility. Other account questions are answered in our FAQ.

Sources

Every fact on this page, with its source

Accessed 2 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.