Skip to content
commitius

Can we run business email on our own server without Google Workspace or Zoho?

Yes, you can. Which DNS records you need, what a blocked port 25 means and what Gmail and Outlook expect from anyone sending them mail.

Can DemirFounder & author · 4 min read
The envelope-shaped Outlook app icon in shades of blue on a navy background

Yes, you can. A server, mail software running on it and a few DNS records added to your domain are enough. Installing it is not the hard part. The hard part is making sure your mail lands in the other side's inbox. For that the server has to be able to send mail out, the records that vouch for your domain have to be complete, and someone has to look after the server. If you can take on those three things, you can run your own mailboxes without paying Workspace or Zoho per user.

Which DNS records do you need?

For mail to reach your domain you need an MX record. It tells every mail server in the world which server accepts mail for your domain. So that the mail you send is not taken for a fake, you need three more records. SPF lists which servers may send mail for your domain. DKIM signs every outgoing message with a private key on your server, and the receiving side checks the signature against the public key in your DNS. DMARC says what should happen to a message that fails both checks.

One more record is often forgotten. That is the reverse DNS record of your server's IP address, the PTR. You do not set it in your domain panel but in the panel of the company you rent the server from. According to Google's sender guidelines the IP of the sending server must resolve to a hostname, and that hostname must point back to the same IP. Without this match Gmail may reject your mail. We set up all five records along with the server as part of business email setup.

MXWhich server receives mail for your domainSPFWho may send mail for your domainDKIMA signature on every outgoing messageDMARCWhat to do with mail that cannot be verifiedPTR (reverse DNS)Which name the server's IP resolves to, set inthe hosting company's panel

Why does port 25 matter?

Mail servers connect to each other on port 25. When your server sends mail to another domain, it has to connect to port 25 on the receiving server. To stop spam, many cloud and server companies block this port by default. Hetzner, for example, keeps ports 25 and 465 closed on its cloud servers. After you have been a customer for a month and paid your first invoice, you can ask for them to be opened by describing your use case.

Ask the company whether this port is open before you rent a server. If it cannot be opened you have two options. You send outgoing mail through a relay service, or you move to a company that allows the port. Incoming mail is not affected by the block, and your mailboxes keep working.

What do Gmail and Outlook expect from a sender?

Google's rules start from the same base for every sender. SPF or DKIM must be set up, the PTR record must match, mail must be sent over an encrypted connection and the spam rate shown in Postmaster Tools must stay below 0.3 percent. Anyone sending more than 5,000 messages a day needs all three of SPF, DKIM and DMARC. If you send newsletters, one-click unsubscribe is required too.

Microsoft has introduced a similar rule. Since May 2025 Outlook.com, Hotmail and Live require SPF, DKIM and DMARC from domains sending them more than 5,000 messages a day. Mail that does not meet the rule goes to the junk folder.

A company's daily correspondence does not come near these numbers. Still, setting up all three records from the start is the cheapest insurance. The IP address of a new server has no reputation yet. Do not send bulk mail in the first weeks, and check whether your IP is on any blocklist.

Is mail lost if the server goes down?

Not right away. When a server sending you mail cannot reach yours, it keeps the message in a queue and tries again at intervals. RFC 5321, the core standard of email, recommends at least 30 minutes between retries and generally waiting at least 4 to 5 days before giving up. So an outage of a few hours usually does not mean lost mail. But if the server stays down for days or the disk fills up, mail bounces.

That is why looking after your own mail server is your job. Update it regularly, back up mailboxes outside the server, get a warning before the disk fills and set up protection against password-guessing attacks.

When do Workspace or Zoho make more sense?

If nobody will look after the server, the team is large or your company has special rules it must follow for email, a ready-made service causes fewer headaches. Calendars, shared documents and mobile device management also come ready with them. If you already have a server, only a few mailboxes and can take on the upkeep, email on your own server is both cheap and fully in your hands.

Share

Working on something similar?

Tell us in a few sentences what you want to do, and we will work out the right way together.