65
submitted 3 days ago* (last edited 3 days ago) by crandall@lemmy.today to c/selfhosted@lemmy.world

Several of my self hosted services need to be able to send minor occasional emails for things like changing passwords or other notifications.

I've never been interested in the hassle of self-hosting my personal email, since I've heard about it being difficult. But for my little local services to have one admin@ or noreply@ to send from, with just a small handful of friends and family as users, maybe it's simpler than a full personal email replacement would be? I'm not too concerned, for example, if they have to check their spam folders. As long as the email still lands. And probably wouldn't need to worry about incoming emails.

What are you using for this type of thing? Hoping to have something not too complicated, and FOSS.

Edit: I also would like it to come from ____@mydomain.com

you are viewing a single comment's thread
view the rest of the comments
[-] mschae@discuss.mschae23.de 10 points 3 days ago* (last edited 3 days ago)

I'm not too concerned, for example, if they have to check their spam folders. As long as the email still lands.

In that case, it really isn't that much of a hassle. A basic mail system isn't that complicated to set up (just make sure you have proper authentication and such, don't host an open relay!). I actually did this not too long ago, using maddy, which unlike the traditional postfix+dovecot setup (which I had also been looking into) means you don't even have to host separate services for SMTP and IMAP, and it also automates most additional things that are necessary nowadays for you, like TLS, DKIM, DMARC, and so on. Not quite everything though, there's still stuff needed to do manually, mostly to set the SPF and DMARC records in the DNS, but it's been working really well so far.

And really, the only mail provider you have to worry about for putting your mails into spam is gmail. They're the worst. (maybe microsoft-hosted outlook too, but I haven't encountered anyone using that)

[-] ieGod@lemmy.zip 1 points 1 day ago

I can hardly blame Google for this. My spam to legit mail ratio is over 9000.

[-] SirHaxalot@nord.pub 4 points 2 days ago

The big problem you’ll run into is that it’s very likely outgoing connections to port 25 is blocked. In my experience it’s very uncommon that residential ISPs allow it, and even most VPS providers will block it unless you request access. So you’ll most likely need some form of relay anyway, and at that point you may as well send directly to the relay.

[-] korthrun@piefed.social 2 points 2 days ago* (last edited 2 days ago)

Port 25 being blocked on residential connections is still a thing, but it's much less of a thing than it used to be.

I've never had an issue just using the submission port when the default smtp port was blocked :D

I've never run into it being blocked on a VPS or ded host provider. I wonder if this is a locale thing or if you've been unlucky enough to choose providers that attract enough abusers to require these policies.

[-] AHemlocksLie@lemmy.zip 1 points 1 day ago

Some hosts block it by default, but if you ask, they'll open it up no problem.

[-] mschae@discuss.mschae23.de 2 points 2 days ago

On residential connections, that's probably the case, yes. I'm hosting it on a VPS though and have had no problems with blocked ports so far. I imagine it depends on the provider?

[-] SirHaxalot@nord.pub 1 points 2 days ago

To be honest I haven't done that deep search into how common it is for VPS providers to block port 25, but in the cases it has been relevant for me it has required at least raising a request and for instance for Hetzner being a customer for at least one month. I've figured that it's a good thing and if a VPS provider has no restrictions at all their IP ranges are much more likely to have bad reputation and blocklist issues.

[-] korthrun@piefed.social 2 points 2 days ago* (last edited 2 days ago)

Good answer! I get tired of the self hosted email FUD. Sure there's more to it than "docker up" (Maddy is close though) but it's not that hard and it's thoroughly documented at this point. So many tutorials.

this post was submitted on 17 Sep 2026
65 points (100.0% liked)

Selfhosted

62227 readers
1602 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS