Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
view the rest of the comments
do you happen to have done guide in place, or some docker compose I can look at?
mailcow is by far the easiest way to self host email: https://docs.mailcow.email/getstarted/install/#initialize-mailcow
Be aware that it's significantly easier to host on smaller trusted hosting providers. Hosting this on cloud providers like DigitalOcean is almost impossible without getting blacklisted.
Haven't used Mailcow in a while, but personally I found https://github.com/docker-mailserver/docker-mailserver better at the time. Great docs, many features.
I've never heard of mailcow specifically, but I was intentionally avoiding all-in-one packages when setting up. Life has proven that good things aren't easy and easy things aren't good.
And so far I'm happy with that decision - setup is modular, was already able to extend it with postfwd, dual dkim signatures (rsa and ed25519), mta-sts and some other policy I can't recall right now.
I've also specifically wanted to run as little code as possible that's exposed to the internet - as such, I chose to not have webmail.
I also hosted my mail directly with Postfix and Dovecot back in the day before the all-in-one packages were a thing.
mailcow has reduced my yearly maintenance from a few hours to a few minutes. Addtionally it runs in Docker, meaning each service is fully isolated and it can be updated with a single command and without headache. Also includes a really handy web interface to configure each of the services, it even does 2FA if you are worried about security.
Have been running it since before it was using Docker and have 0 complaints, it always works and always improves.
Happy it works for you!
I'm running it on arch so that I never have to go through big upgrades. Been over 5 years now - so far, so good!
In regards to docker - it's just a container. You can make any executable run a container. I quite like a lean system myself, though.
The best option is https://github.com/docker-mailserver/docker-mailserver
I've tried them all, and this one I super-easy in comparison. Great documentation and just some ENV variables and you're done. Happy to share my compose file with you if you want.
I use it with my Active Directory hosted with https://github.com/Fmstrat/samba-domain for users, but it has many different user options.
I don't, but I could probably come up with one next weekend.