this post was submitted on 19 Nov 2023
5 points (100.0% liked)

Self-Hosted Main

587 readers
7 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 2 years ago
MODERATORS
 

How are people sending emails from their self hosted apps? I Thought MailSender would be good but i guess not. Im about to try SendPulse now. Why isnt there a service that doesnt care what you do with your emails as long as you only sending max a few emails a day?

https://preview.redd.it/hkoq76imnb1c1.png?width=591&format=png&auto=webp&s=7ba39afb9edcff8f1e1e5a0806f542024691e606

top 50 comments
sorted by: hot top controversial new old
[–] Luci@lemmy.ca 4 points 2 years ago (1 children)

I just setup a gmail account, just gotta turn on legacy smtp

[–] oleorun@real.lemmy.fan 1 points 2 years ago

This is the easiest way to do it.

[–] adiyasl@alien.top 3 points 2 years ago

I use mailgun. They give 1000 emails for free monthly which is plenty for me.

[–] dumbasPL@alien.top 2 points 2 years ago

Guys, we are on r/selfhosted, and all the top replies are recommending cloud services? The actual fuck. I personally host my own postal server and it works great.

[–] legrenabeach@alien.top 2 points 2 years ago

Postfix installed on the server itself. My apps don't send many emails, why go through the complication and cost of hosting email externally?

[–] Powerstream@alien.top 2 points 2 years ago

Started using Purelymail. Easy setup with my multiple domains. Really cheap.

[–] pigers1986@alien.top 2 points 2 years ago

gmail with separate account than primary one

[–] Lynx323@alien.top 2 points 2 years ago
[–] GNUGradyn@alien.top 2 points 2 years ago

Send grid has no approval process and will give you 100/day for free

[–] smnhdy@alien.top 2 points 2 years ago (1 children)
[–] wally40@alien.top 1 points 2 years ago

Same, set up a separate email that I use exclusively for services. Did this as if the app password is hacked, they have access to an account with nothing but notifications.

[–] scubanarc@alien.top 2 points 2 years ago

Docker Mail Server

All you need is a static IP address, a DNS record, a PTR record, an SPF record, and a DKIM record. See, it's simple, right?

[–] SysAdmin-Universe@alien.top 2 points 2 years ago (2 children)

Amazon SES. My monthly bills are between 3 and 8 cents per month

[–] unixbox911@alien.top 1 points 2 years ago (1 children)

I'm noob here, how to setup spam filters while trying to receive emails

[–] Perpetual_Nuisance@alien.top 1 points 2 years ago

First set up spam filters, then send emails. Both at the same time isn't very convenient.

load more comments (1 replies)
[–] JM-Lemmi@alien.top 2 points 2 years ago

AWS SES or Hetzner (where my mail id also hosted)

[–] MrGG@lemmy.ca 2 points 2 years ago

Why isnt there a service that doesnt care what you do with your emails as long as you only sending max a few emails a day?

Because it would be overrun with phishing abuse in a matter of minutes?

[–] ImissHurley@alien.top 1 points 2 years ago

The SMTP relay that comes with my M365 tenant.

[–] primevaldark@alien.top 1 points 2 years ago (1 children)

I use Fastmail with a specific domain and/or aliases to separate it easily by rules as needed. But I do pay for Fastmail and only send emails to myself so may or may not be applicable to you.

[–] thesmiddy@alien.top 1 points 2 years ago

I do the same. I like how each application gets its own password and only gets the permissions I want to give it (usually just smtp)

[–] madrascafe@alien.top 1 points 2 years ago
[–] lighthawk16@alien.top 1 points 2 years ago

Selfhosted Mailcow.

[–] airclay@alien.top 1 points 2 years ago

I used zoho. $16/yr for mail.mydomain and myname@mydomain set up. Use groups to set up different streams/mailboxes for all the things (gitlab@/cloud@/admin@/etc). It's super easy to point things at.

[–] Tai9ch@alien.top 1 points 2 years ago (1 children)

Delegating mail to an external service means you're not self hosting it.

Sending email is something you can just do. There's no need for an external service unless:

  • You're trying to deliver email to external users.
  • You really need your email to get through without ending up in people's spam folder.
[–] reddit_names@alien.top 2 points 2 years ago (1 children)

You're trying to deliver email to external users.

You really need your email to get through without ending up in people's spam folder.

So literally everyone actually using email.

load more comments (1 replies)
[–] hunterhulk@alien.top 1 points 2 years ago

i personally found SendGrid easy to setup and cost effective

[–] AvGeekExplorer@alien.top 1 points 2 years ago

Sendgrid… you’d be well within the free tier.

[–] ggezboye@alien.top 1 points 2 years ago

I have secondary gmail account just for that.

[–] ItzGonzoHD@alien.top 1 points 2 years ago
[–] crashj@alien.top 1 points 2 years ago

G suite account supports inbound and outbound relaying.

[–] FetAkhenaten@alien.top 1 points 2 years ago
[–] pcs3rd@alien.top 1 points 2 years ago

I pay $7 for a noreply user in my business starter Google workspace.

[–] scarf3@alien.top 1 points 2 years ago

Gmail with app specific password + Postfix docker container loganmarchione/docker-postfixrelay. I configure gmail in one spot (the container) and everything else connects to that container to relay out. You can easily limit destination email addresses with the container as well, so you don’t have to worry about an app going rogue.

[–] crazedizzled@alien.top 1 points 2 years ago

A VPS with Mailcow.

[–] Stone_Monarch@alien.top 1 points 2 years ago

I use fastmail. Since I'm already paying for it as my normal email service, I started using it as my incomming and outgoing email provider for seldhosted apps. Works fine, no complaints.

[–] DLSantini@lemmy.ml 1 points 2 years ago

Dedicated Gmail account.

[–] machstem@alien.top 1 points 2 years ago (2 children)

mxroute

they have a bf sale right now

load more comments (2 replies)
[–] aadoop6@alien.top 1 points 2 years ago

Are there any third party services that don't require phone numbers for sign-ups?

[–] Insomniac24x7@alien.top 1 points 2 years ago

Mailrise + pushover

[–] anachronisdev@alien.top 1 points 2 years ago (1 children)

A bit overkill but mxroute. Complete own Mail-environment for sending and receiving.

About 50.- a year I think it was

[–] capecodcarl@alien.top 1 points 2 years ago

Check for Black Friday deals at mxroute. I signed up last year for $10/year.

[–] _EuroTrash_@alien.top 1 points 2 years ago

.test internal domain, own postfix SMTP+dovecot IMAP server.

The IMAP server is accessible from WAN via IMAPS (HAproxy+SSL/letsencrypt certificate).

As per securing against brute force attacks:

  • Dovecot has a listener process configured to talk the HAproxy's specific PROXY protocol which passes the original client IP to Dovecot, so the latter can apply its own authentication penalty algorithm

  • Crowdsec is installed with the HAproxy plugin, so client IPs can also be banned after authentication errors, albeit I'm not sure this works with HAproxy's PROXY protocol

[–] thekrautboy@alien.top 1 points 2 years ago (1 children)

Nothing at all.

I selfhost ntfy and services that only support email for notifications send them to ntfy smtp, then ntfy turns them into a push notification.

load more comments (1 replies)
[–] tschloss@alien.top 1 points 2 years ago

Are you sending lots of mails to a large group of users. If not why not use any normal e-mail service like gmail?

[–] the-last-user@alien.top 1 points 2 years ago

https://mail.baby/

Very cheap and reliable.

[–] Spider-One@alien.top 1 points 2 years ago
[–] stoneobscurity@alien.top 1 points 2 years ago (3 children)

gmail with an app specific password.

load more comments (3 replies)
[–] Innominate8@alien.top 1 points 2 years ago

Sendgrid, Sparkpost, SES, plain gmail.

If you're only sending emails to yourself, gmail works well with no cost.

[–] nutterbg@alien.top 1 points 2 years ago

Mailjet. Free for 6000 emails/mo, which for me is plenty to cover backup notification, monitoring system notifications, etc.

load more comments
view more: next ›