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

Self-Hosted Main

502 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] 3 points 10 months ago

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

[–] [email protected] 3 points 10 months ago (1 children)

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

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

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

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

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

[–] [email protected] 2 points 10 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 10 months ago (2 children)

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

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

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

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

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

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

How did you guys get approved on Amazon SES? My application was instantly rejected when I specified it for outbound emails.

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

gmail with separate account than primary one

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

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

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

The SMTP relay that comes with my M365 tenant.

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

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

No.

Having a couple emails end up in spam boxes isn't that big a deal for many self-hosted app scenarios.

For example, if you have a limited set of users, the setup process can involve getting an email and marking it not spam.

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

i personally found SendGrid easy to setup and cost effective

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

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

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

G suite account supports inbound and outbound relaying.

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

I have secondary gmail account just for that.

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

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

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

A VPS with Mailcow.

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

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

Dedicated Gmail account.

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

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

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

mxroute

they have a bf sale right now

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

mxroute?

Their sale in on their site

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

Mailrise + pushover

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

I was using mailgun, but they recently fucked me, so I switched everything to Brevo.

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

Interesting to not have seen PostMark mentioned

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

I got a Black Friday special at MXRoute a few years ago - $15 for the year.

Host whatever domains you want then for email.

Might get a bargain again this year if they do Black Fridays

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

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

load more comments
view more: next ›