this post was submitted on 13 Dec 2023
234 points (98.0% liked)

Selfhosted

40382 readers
464 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 2 years ago
MODERATORS
 

I'm a retired Unix admin. It was my job from the early '90s until the mid '10s. I've kept somewhat current ever since by running various machines at home. So far I've managed to avoid using Docker at home even though I have a decent understanding of how it works - I stopped being a sysadmin in the mid '10s, I still worked for a technology company and did plenty of "interesting" reading and training.

It seems that more and more stuff that I want to run at home is being delivered as Docker-first and I have to really go out of my way to find a non-Docker install.

I'm thinking it's no longer a fad and I should invest some time getting comfortable with it?

you are viewing a single comment's thread
view the rest of the comments
[–] irotsoma@lemmy.world 5 points 11 months ago (2 children)

Docker is nice for things that have complex installations and I want a very specific implementation that I don't plan to tweak very much. Otherwise, it's more hassle than it's worth. There are lots of networking issues like limited/experimental support for IPv6, and too much is hidden and preconfigured, making it difficult to make adjustments that would otherwise just be a config file change.

So it is good for products like a mail server where you want to use the exact software they use like let's say postfix + dovecot + roundcube + nginix + acme + MySQL + spam assassin + amavisd, etc. But you want to use an existing reverse proxy and cert it setup, or want to use a different spam filter or database and it becomes a huge hassle.

[–] blackstrat@lemmy.fwgx.uk 1 points 11 months ago (3 children)

Can you recommend a mail server docker image like that? I have a hand cranked iredmail server that I've been babying for 5 years but I want to move it to either docker or an LXC.

[–] dan@upvote.au 2 points 11 months ago* (last edited 11 months ago)

I use Mailcow and like it a lot.

I use a mail service (MXRoute) as an outbound SMTP relay though, since I don't want to have to deal with deliverability, especially to picky services like Microsoft Hotmail/Outlook. It's a trade off. Other relays like SMTP2Go and Amazon SES work well too.

So I'm self-hosting the mailboxes, but when I send mail through my server, it sends them via MXRoute.

[–] irotsoma@lemmy.world 1 points 11 months ago

Mailcow or Mailu have pretty good setups if you don't want to do anything too different and don't need to keep resource usage to a minimum.

[–] dan@upvote.au 1 points 11 months ago

I haven't had any issues with IPv6. If you want to, you can just use a macvlan network and rely on SLAAC. I manually assigned ULA addresses to some containers and it's working well.

Also as a side note, it's not common for mail servers to use SpamAssassin any more. Most have moved to rspamd which is more powerful and much more efficient.