| Post Reply | RetroFed Forum Forum Index » Selfhosted |
| Author | Message | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
crandall
lemmy.today
crandall@lemmy.today Joined: 2026-08-11 |
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 |
||||||||||||||||||||
| 67 Original | |||||||||||||||||||||
|
solrize
lemmy.ml
solrize@lemmy.ml Joined: 2023-06-22 |
|
||||||||||||||||||||
| 4 | |||||||||||||||||||||
|
linuxguy
piefed.ca
linuxguy@piefed.ca Joined: 2026-03-03 |
I use smtp2go.com rather than deal with ptr records on my dynamic residential address |
||||||||||||||||||||
| 20 | |||||||||||||||||||||
IsoKiero
sopuli.xyz
IsoKiero@sopuli.xyzJoined: 2023-06-12 |
My ISP offers unauthenticated SMTP for their customer addresses. It's pretty heavily rate limited, but well enough for the occasional status email my system throws out. At least around here they are pretty common for residential customers, so that might be an option. Other possibility is to set up SMTP relay to your network and give it credentials to an actual email account (with SMTP support, which isn't granted these days). It can take in emails from your network without credentials and throw them to the internet with your account. It's pretty simple to set up, search for postfix + smarthost. Added bonus is that you can read the replies to that address too via your email provider services. |
||||||||||||||||||||
| 4 | |||||||||||||||||||||
mschae
discuss.mschae23.de
mschae@discuss.mschae23.deJoined: 2026-02-27 |
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) |
||||||||||||||||||||
| 10 | |||||||||||||||||||||
iamthetot
piefed.ca
iamthetot@piefed.caJoined: 2026-01-08 |
I use smtp2go.com rather than deal with ptr records on my dynamic residential address
I also use this service. |
||||||||||||||||||||
| 5 | |||||||||||||||||||||
|
i_am_not_a_robot
discuss.tchncs.de
i_am_not_a_robot@discuss.tchncs.de Joined: 2023-06-19 |
I verified my domain with Proton and I can send mails from my domain through their servers and pass all sender verification and reputation tests. This works without needing to control a public IP in a range that is allowed to send mail to the common mail services. |
||||||||||||||||||||
| 7 | |||||||||||||||||||||
|
MessyAdvent
lemmy.dbzer0.com
MessyAdvent@lemmy.dbzer0.com Joined: 2023-06-23 |
Maybe it's a bit off-topic, but for my transactional emails, I use Scaleway TEM's free tier. 300 mails/month are included, if you go above, it's 0.25€ per 1000 mails. Dirt cheap. Never have I gone above the free tier limit. And it saves me from the hassle to have to setup something to send emails on thr server itself. Note that I had strange behavior while I tried to validate my domain while I used CloudFlare's nameservers. |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
mlg
lemmy.world
mlg@lemmy.worldJoined: 2023-07-29 |
If its internal network traffic only, you can just use stalwart and add the DNS records to your network so that stuff can use SMTP. Otherwise, (also with stalwart or your preferred software), you will want to use an SMTP relay so that outgoing messages will be delivered without the hassle of getting your domain reputational enough for sent messages not getting junked by the big email providers. I'm extra lazy and haven't set this up, so I just have a public mail server that only receives messages because my outgoing SMTP port is blocked by my ISP. |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
darklamer
feddit.org
darklamer@feddit.orgJoined: 2026-02-19 |
I'm using nullmailer, it's as simple as it gets and has worked flawlessly for me for many years now: |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
|
quadrant5835
lemmy.zip
quadrant5835@lemmy.zip Joined: 2026-01-27 |
I use Brevo.com which gives a generous 300 emails per day limit on the free plan. I will say that the web portal is a bit confusing but once you set it up you basically never need to go there again. |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
antsu
discuss.tchncs.de
antsu@discuss.tchncs.deJoined: 2025-09-05 |
I'm hosting Mailcow in a cheap VPS, for both personal/family and system emails. Not something I'd necessarily recommend (it's overkill for your requirements anyway), but the initial setup and maintenance are not nearly as difficult as people will try to make you believe. |
||||||||||||||||||||
| 6 | |||||||||||||||||||||
|
arran 🇦🇺
aussie.zone
arran4@aussie.zone Joined: 2023-09-23 |
Then you can self host. I use stalwart but in your case I would probably use mox |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
|
chaospatterns
lemmy.world
chaospatterns@lemmy.world Joined: 2023-07-09 |
For inbound, I use Postfix + rspamd + dovecot directly to my server. Outbound, I used to send it directly from my server. I did this 15+ years with DKIM, DMARC, and SPF. It worked well for like 95% of the emails I sent, but I started relaying through smtp2go.com after I had just a couple really important emails not get delivered or me not be sure if the recipient saw them. |
||||||||||||||||||||
| 6 | |||||||||||||||||||||
𝘋𝘪𝘳𝘬
lemmy.ml
Dirk@lemmy.mlJoined: 2023-06-09 |
I just created a send-only mailbox in the account I already have at my hosting service and use this in all my services. I'm not going to set up a mail server and deal with all the security issues and problems with private dial-up IP addresses myself. Been there, done that. Wasn't fun. |
||||||||||||||||||||
| 1 | |||||||||||||||||||||
|
scrchngwsl
feddit.uk
scrchngwsl@feddit.uk Joined: 2023-06-09 |
My domain registrar hosts my email too, so I set up a mailbox for self-hosted services to send emails from. Is this an option for you? For me I figured it would be a lot easier than setting up a mailserver myself and doing the research you're now doing. |
||||||||||||||||||||
| 4 | |||||||||||||||||||||
clifmo
programming.dev
clifmo@programming.devJoined: 2023-12-09 |
Postfix + Amazon SES free tier I have every one of my selfhosted domains, apps and even list monk sending mail (tho I don't have an actual newsletter yet) |
||||||||||||||||||||
| 5 | |||||||||||||||||||||
Sir. Haxalot
nord.pub
SirHaxalot@nord.pubJoined: 2026-02-03 |
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+doveco...
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. |
||||||||||||||||||||
| 4 | |||||||||||||||||||||
mschae
discuss.mschae23.de
mschae@discuss.mschae23.deJoined: 2026-02-27 |
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.
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? |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
korthrun
piefed.social
korthrun@piefed.socialJoined: 2026-04-27 |
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.
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. |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
korthrun
piefed.social
korthrun@piefed.socialJoined: 2026-04-27 |
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+doveco...
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. |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
Sir. Haxalot
nord.pub
SirHaxalot@nord.pubJoined: 2026-02-03 |
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?
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. |
||||||||||||||||||||
| 1 | |||||||||||||||||||||
Drunk & Root
sh.itjust.works
DrunkAnRoot@sh.itjust.worksJoined: 2025-04-15 |
i just use a email account from somewhere that supports email clients and set it up as a glorified mail client thats send only |
||||||||||||||||||||
| 1 | |||||||||||||||||||||
|
Decronym
Bot
Decronym@lemmy.decronym.xyz Joined: 2026-01-05 |
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
[Thread #106 for this comm, first seen 19th Sep 2026, 02:10] |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
|
tuxec
infosec.pub
tuxec@infosec.pub Joined: 2023-12-11 |
I verified my domain with Proton and I can send mails from my domain through their servers and pass all sender verification and reputation tests. This works without needing to control a public IP in a range that is allowed to send mail to the common mail services.
Hello, Can you detail how you're sending the emails? Where you have to configure the Proton credentials? |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
MaggiWuerze
feddit.org
MaggiWuerze@feddit.orgJoined: 2024-07-02 |
Hello, Can you detail how you're sending the emails? Where you have to configure the Proton credentials?
Since proton does not support IMAP, you can only send it through the browser or their official clients |
||||||||||||||||||||
| 1 | |||||||||||||||||||||
|
tuxec
infosec.pub
tuxec@infosec.pub Joined: 2023-12-11 |
Since proton does not support IMAP, you can only send it through the browser or their official clients
There also the Proton Bridge which could be an option, but haven't used is myself. That's why I am curios on the setup. 😁 |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
|
Evotech
lemmy.world
Evotech@lemmy.world Joined: 2023-10-11 |
I just use my own protonmail. You can set up different accounts smtp providers for your different services |
||||||||||||||||||||
| 1 | |||||||||||||||||||||
|
deffard
lemmy.world
deffard@lemmy.world Joined: 2025-06-05 |
I picked zoho.com free tier, with an eu.org domain after scanning through a set of different options. No marketing appended to emails and only throttles on excessive sending instead of hard limits. Each service sends from its own address. purelymail.com was my backup paid option if the free plans were no good, with the advanced pricing and low usage the cost would be miniscule. |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
|
hikaru755
lemmy.world
hikaru755@lemmy.world Joined: 2024-01-01 |
Since proton does not support IMAP, you can only send it through the browser or their official clients
That's wrong, you can set up sending via SMTP pretty easily. And they also have an IMAP bridge app to access your mailbox through other clients like Thunderbird. |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
|
hikaru755
lemmy.world
hikaru755@lemmy.world Joined: 2024-01-01 |
Hello, Can you detail how you're sending the emails? Where you have to configure the Proton credentials?
It's somewhere in the settings on the web interface, you can set up SMTP credentials for any of the email addresses you've set up in Proton there. Maybe you'll find it on your own already, but I could look it up exactly once I'm on the PC later |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
|
eleitl
lemmy.zip
eleitl@lemmy.zip Joined: 2025-06-05 |
Postfix, but even with full spf dkim etc. monty not guaranteed to be always delivered to Gmail and Outlook. Because these don't give a shit about standards. |
||||||||||||||||||||
| 6 | |||||||||||||||||||||
Nighed
feddit.uk
Nighed@feddit.ukJoined: 2024-01-13 |
It's somewhere in the settings on the web interface, you can set up SMTP credentials for any of the email addresses you've set up in Proton there. Maybe you'll find it on your own already, but I could look it up exactly once I'm on the PC later
here: |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
|
iegod
lemmy.zip
ieGod@lemmy.zip Joined: 2025-06-04 |
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+doveco...
I can hardly blame Google for this. My spam to legit mail ratio is over 9000. |
||||||||||||||||||||
| 1 | |||||||||||||||||||||
|
hikaru755
lemmy.world
hikaru755@lemmy.world Joined: 2024-01-01 |
Yup that's it, you were quicker than me, thanks! |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
|
vbatts
lemmy.ml
vbatts@lemmy.ml Joined: 2024-02-03 |
I haven't seen others mention it yet, but for a while I also self-hosted https://mailinabox.email/ and used it for what you described. |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
|
motruck
lemmy.zip
motruck@lemmy.zip Joined: 2025-08-23 |
I haven't seen others mention it yet, but for a while I also self-hosted https://mailinabox.email/ and used it for what you described.
Mailcow is also a good all in one mail distro. |
||||||||||||||||||||
| 2 | |||||||||||||||||||||
|
AHemlocksLie
lemmy.zip
AHemlocksLie@lemmy.zip Joined: 2024-03-10 |
If they'll go for it, the most reliable way will be to offer them extra email addresses on your mail server. Sometimes, when a mail provider decides they don't trust an incoming email, they don't mark it as spam or reject it and send a notification response. They just... Silently drop it without ever mentioning it to sender or recipient. The only genuinely reliable way I've heard to build and maintain the reputation to avoid that is to send way more mail than a few individuals can manage, even with your services sending notifications. Theoretically, you can do it with really low mail volume if you jump through a whole bunch of hoops, but nothing is really guaranteed long term. |
||||||||||||||||||||
| 1 | |||||||||||||||||||||
|
AHemlocksLie
lemmy.zip
AHemlocksLie@lemmy.zip Joined: 2024-03-10 |
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...
Some hosts block it by default, but if you ask, they'll open it up no problem. |
||||||||||||||||||||
| 1 | |||||||||||||||||||||
|
blinkfink182
lemmy.zip
blinkfink182@lemmy.zip Joined: 2025-06-30 |
I use smtp2go.com rather than deal with ptr records on my dynamic residential address
Ditto. Love this service. |
||||||||||||||||||||
| 1 | |||||||||||||||||||||
|
FranklyMail
lemmy.today
FranklyMail@lemmy.today Joined: 2026-09-21 |
I run a small email host, so biased a little bit. For the app-notification half, don't put it on a mailbox host at all: smtp2go or SES, the way people are already saying here, is the right shape, because your services want an authenticated relay and nothing else, and outbound 25 is blocked on most residential lines and a lot of VPS providers anyway. The part that genuinely needs mailboxes is the friends-and-family half, and it's worth separating: one host for the humans on your domain, one relay for the machines, so a noreply@ reputation problem never lands on the addresses people actually read. If you want FOSS on both sides, maddy is the honest answer and someone above already gave it. If you decide the human half isn't worth running yourself, I wrote up that tradeoff at franklymail.com/vs/self-hosting, with the caveat that we're paid and not FOSS, and we deliberately don't do app or bulk sending, so it only answers half your question. |
||||||||||||||||||||
| 3 | |||||||||||||||||||||
SharkStudiosSK
lemmy.draktis.com
SharkStudiosSK@lemmy.draktis.comJoined: 2025-12-31 |
I set up email on my phone while on a break in school without it being flagged as spam. I'm sure you can do it, it's not too hard. Or you can use proton or similar service. |
||||||||||||||||||||
| 1 | |||||||||||||||||||||
| Post Reply |
Back to top |