I just set up my first ever email server and I’m proud of myself! 😊 Do you have any advice to avoid common problems? I mean something beginners often do that they shouldn’t. Thanks!

stown
link
fedilink
English
71Y

Let’s hear the details! How did you do it?

My Password Is 1234
creator
link
fedilink
English
6
edit-2
1Y

Docker container with exposed ports. The container has postfix and rspamd for spam mitigation and some useful scripts for postfix management such as creating accounts, wiping data etc. Actually it comes preconfigured, the only thing you have to do is:

  • configure environment variables so it meets your needs
  • generste dkim key and set is as DNS record
  • set revDNS to the IP address
  • setup SPF (which is one, short DNS record)

Did you docker compose? Do you mind sharing it :)

My Password Is 1234
creator
link
fedilink
English
91Y

Of course! It’s called docker-mailserver. It has extensive documentation, so it all becomes easy! 😃

Are you running it locally or on a VPS?

My Password Is 1234
creator
link
fedilink
English
11Y

On a VPS, as my provider does not allow me to set the revDNS which is required for sending emails. I mean it isn’t actually required but most services like Gmail will drop your emails.

Great thank you!

Yes I want to know too

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 125 users / day
  • 420 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog