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

Self-Hosted Main

515 readers
1 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 1 year 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
[–] [email protected] 4 points 11 months ago (1 children)

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

[–] [email protected] 1 points 11 months ago

This is the easiest way to do it.

[–] [email protected] 3 points 11 months ago

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

[–] [email protected] 2 points 11 months ago

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

[–] [email protected] 2 points 11 months 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?

[–] [email protected] 2 points 11 months ago

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

[–] [email protected] 2 points 11 months ago

gmail with separate account than primary one

[–] [email protected] 2 points 11 months 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.

[–] [email protected] 2 points 11 months 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?

[–] [email protected] 2 points 11 months ago
[–] [email protected] 2 points 11 months ago

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

[–] [email protected] 2 points 11 months ago (3 children)

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

load more comments (3 replies)
[–] [email protected] 2 points 11 months ago (1 children)
[–] [email protected] 1 points 11 months 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.

[–] [email protected] 2 points 11 months 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?

[–] [email protected] 1 points 11 months ago

Check if your ISP has an SMTP service. I use mine for alerting when stuff breaks and haven't had any issues. If you use your own domain name and have trouble with delivery, you could try setting up SPF.

[–] [email protected] 1 points 11 months ago

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

[–] [email protected] 1 points 11 months ago

Sendgrid, Sparkpost, SES, plain gmail.

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

[–] [email protected] 1 points 11 months ago

https://mail.baby/

Very cheap and reliable.

[–] [email protected] 1 points 11 months ago
[–] [email protected] 1 points 11 months ago
[–] [email protected] 1 points 11 months 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.

[–] [email protected] 1 points 11 months 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)

[–] [email protected] 1 points 11 months ago
[–] [email protected] 1 points 11 months ago

Selfhosted Mailcow.

[–] [email protected] 1 points 11 months 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.

[–] [email protected] 1 points 11 months ago

I just checked the docs and didn't see anything about ntfy accepting smtp? This would be useful, what am I missing?

[–] [email protected] 1 points 11 months ago

The SMTP relay that comes with my M365 tenant.

[–] [email protected] 1 points 11 months ago

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

[–] [email protected] 1 points 11 months 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.
[–] [email protected] 2 points 11 months 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)
[–] [email protected] 1 points 11 months ago

G suite account supports inbound and outbound relaying.

[–] [email protected] 1 points 11 months ago
[–] [email protected] 1 points 11 months 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.

[–] [email protected] 1 points 11 months ago

I have secondary gmail account just for that.

[–] [email protected] 1 points 11 months ago

i personally found SendGrid easy to setup and cost effective

[–] [email protected] 1 points 11 months 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.

[–] [email protected] 1 points 11 months ago
[–] [email protected] 1 points 11 months ago

Interesting to not have seen PostMark mentioned

[–] [email protected] 1 points 11 months ago

Seconding everyone suggesting to just use a Gmail account.

But to add to that, I created a small VM running Postfix that is an open relay that sends mail via that Gmail account. This way, I can use the Postfix VM as the SMTP server for all the other services and I don't have to remember and sprinkle that Gmail password all over the place.

Postfix's main.cf can be secured by configuring it to route all mail through that Gmail account, overwrite the 'from' address, and restrict the 'to' field to send only to myself and no other recipients. Then it doesn't matter what the 'from' of the various self-hosted services are, Postfix transforms the headers into something appropriate and sends it to Gmail to be delivered.

[–] [email protected] 1 points 11 months ago

Dedicated Gmail account.

[–] [email protected] 1 points 11 months ago (2 children)

mxroute

they have a bf sale right now

load more comments (2 replies)
[–] [email protected] 1 points 11 months ago

Mailrise + pushover

[–] [email protected] 1 points 11 months 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

[–] [email protected] 1 points 11 months ago

I use duocircle.com, allows.dkim and spf. 1,000 per month for free. Gives a warning at 800 and 900 - helpful when I have a process run a little amok.

load more comments
view more: next ›