= Need email server on my own domain on a VPS running Wordpress on Debian 10 =

![ ](httpswww.redditstatic.com/desktop2x/img/renderTimingPixel.png)

Hey there,

I recently aquired a VPS for a wordpress server for my gf. She wants to have an email adress running from this domain her website runs on. The DNS entry is bought. What would be the best way to set it up? I read that you have either the chance on doing it with postfix or just use a commercial option like gmx.

Other than the email server it runs wordpress on there.

![ ](httpswww.redditstatic.com/desktop2x/img/renderTimingPixel.png)

Buy it in. Running your own mail server is not something to do unless you have to. Source: I’ve been doing it 20 years.

Been there. Done it. Now buy hosted email.

It was a learning experience, and I don't fancy experiencing it again!

I'd probably run one to host the website if I needed to, but that's all.

This is a good starting point: httpsworkaround.org/ispmail/bullseye/

Edit: debian10 httpsworkaround.org/buster/

You can separate the web from e-mail. The wordpress can run on the VPS and the e-mail can be hosted somewhere else. Even on a cloud service.

Hey,

You may set up a postfix server following tutorials online and that will give you some knowledge but maintaining a mail server is not a simple task.

If you indeed want to follow that path, I'd recommend a web-hosting panel such as virtualmin/webmin that handles the software stack (e.g. LAMP, postfix/dovecot, DNS, spamassassin etc) and has a nice GUI that you can use.

Hey, as other said - running your own mail server may be hard, but if you want to, in my opinion, the easiest way to achieve it, is by using "mailcow" which runs in docker.

Hard to guarantee your sent mails are not going into spam boxes when hosting your own email service. Recommend private email as an inexpensive option. They are run by namecheap. If your domain is with them, then the setup is super easy.

Another vote for outsourcing the job. Let someone else deal with the spam filtering and the increasing intricacies of being a mail server. Google Apps & Mail for business starts at $72 / year per account. Plus it just seamlessly works on your phone with Gmail and other Google apps. All you need to do to get it working is setup some custom MX records on the domain.

Google is just an example herethere are other options out there.


Running your own email server is not a fun, easy, or cheap task (time is money). If it's for your gf business or something you don't want to get the calls in the middle of the night that something broke or get in that fight that your server is down for however long. Make life easy and just use the add on service or use gmail or something like that.

I did this How to Easily Set Up a Mail Server on Debian 10 Buster with iRedMail . Make sure your VPS allows emails outbound (port 25) bothways.

been having a personal email for about 8 months, and using a free domain service with from dot.tk and using vultr.com for $6.00/month, 1 GB Memory, 1 TB Bandwidth plenty for my needs.

Eitherway, as long as you got about 1 gig of ram, iRedMail works best for small servers

Try docker mail server - httpsgithub.com/docker-mailserver/docker-mailserver

Simple all in one that takes care of postfix, dovecote, provides for user administration, skim, etc.