Explainer VPS

Can I send email from my VPS?

Yes: port 25 for outgoing mail is currently open by default on your VPS. These tips improve the chance that your mail arrives properly.

By Hermie Updated

Yes. Port 25 for outgoing mail is currently open by default on your VPS. This may change in the future.

Zero tolerance for abuse

We have a zero-tolerance policy for abuse. If spam or other abuse comes from your VPS, we take measures. So make sure your mail server is properly secured and is not an open relay.

Tips for a good mail server

Whether your mail arrives is decided by the receiving mail server. We can't guarantee it. These steps do improve the chance:

  1. Set up reverse DNS (PTR) for your VPS's IP address. You request it from support with a ticket. Include the IP address and the hostname you want.
  2. Use a hostname that matches the PTR. Set the same hostname on your VPS, for example mail.yourdomain.com, and point that hostname to the same IP address with an A record.
  3. Set up SPF, DKIM and DMARC for your domain. SPF states which servers may send mail for your domain. DKIM signs your mail. DMARC tells receivers what to do when a check fails.

Check your PTR

On Linux or macOS, dig -x <ip-address> +short shows which hostname belongs to your IP address.

Port 25 may close

Are you building something that relies on port 25? Keep in mind that this policy may change.

See also How do I set up reverse DNS (PTR) for my VPS?

Did this article help you?

Did not find what you were looking for?

Open a ticket and our team will look into it with you. For a quick question, Discord works too.

Open a ticket Go to Discord