90
submitted 1 year ago* (last edited 1 year ago) by mypasswordis1234@lemmy.world to c/selfhosted@lemmy.world

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!

you are viewing a single comment's thread
view the rest of the comments
[-] stown@sedd.it 7 points 1 year ago

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

[-] mypasswordis1234@lemmy.world 6 points 1 year ago* (last edited 1 year ago)

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 :)

[-] mypasswordis1234@lemmy.world 9 points 1 year ago

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?

[-] mypasswordis1234@lemmy.world 1 points 1 year ago

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.

Yes I want to know too

this post was submitted on 31 Jul 2023
90 points (97.9% liked)

Selfhosted

40219 readers
312 users here now

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!

founded 1 year ago
MODERATORS