this post was submitted on 15 Jun 2023
28 points (96.7% liked)

Selfhosted

40347 readers
441 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

One of the things I don't really want to self host is a mail server, especially for outbound mail. Currently I'm using a Gmail account, but I want to change that.

What do you all use for things like notifications sent through smtp?

I'm leaning towards AWS SES since it's cheap, but I know there are some other options like mailgun and sendgrid.

top 47 comments
sorted by: hot top controversial new old
[–] falcon15500@lemmy.nine-hells.net 5 points 1 year ago* (last edited 1 year ago) (1 children)

Another vote for smtp2go - free plan allows up to 1000 emails per month.

[–] greybeard@lemmy.one 4 points 1 year ago

I use SMTP2Go for a verity of things. It's simple and pretty configurable. If you are using it, I recommend setting up a subdomain specifically for sending mail, that way you can isolate SPF/DKIM records from your primary domain.

[–] leopardboy@netmonkey.tech 5 points 1 year ago (1 children)

Sendgrid has a free plan, I know, but I believe you're limited on the number of emails you can send per day.

[–] wischi@lemmyrs.org 6 points 1 year ago (1 children)
[–] leopardboy@netmonkey.tech 2 points 1 year ago

Thanks, I believe you are correct.

[–] mikehunt@lemmy.world 4 points 1 year ago (1 children)

msmtp, I'm using purelymail for all my emails.

[–] johntash@eviltoast.org 1 points 1 year ago (1 children)

This is the first I've heard of purelymail. It looks really cheap. How do you like it so far? I'm using fastmail currently for most of my domains, but have been considering moving my incoming e-mail too.

[–] mikehunt@lemmy.world 1 points 1 year ago

Love it. Heard about it from HN some years ago and been using it since. The guy who runs it is super friendly and aswers mails quickly too. And yes, it's super cheap, I'm using the "usage based" pricing or whatever it's called.

[–] TheOneCurly@lemmy.theonecurly.page 4 points 1 year ago* (last edited 1 year ago)

SendGrid hasn't failed me yet. I can't speak on pricing though, I basically only use it for password resets on some self hosted services so the free tier is all I need.

[–] eddie@fig.systems 4 points 1 year ago (1 children)

I'm using mailgun and have had zero issues with it. Hard to beat since it's free.

[–] johntash@eviltoast.org 1 points 1 year ago (1 children)

I might be missing something, but isn't mailgun only free for the first month? It looked like their cheapest plan is $35/mo after the 30day trial.

[–] eddie@fig.systems 1 points 1 year ago

You know I think you’re right. I might be grandfathered into an old plan. I’ve been using mailgun for over 3 years

[–] addandsubtract@feddit.de 3 points 1 year ago (1 children)

I pay a mail provider $7/year to host all of my hobby / private mail.

[–] johntash@eviltoast.org 2 points 1 year ago

Which mail provider do you use?

[–] IlliteratiDomine@infosec.pub 3 points 1 year ago (2 children)

There's a proton bridge docker container out there that I'm planning to standup this weekend for SMTP use inside my home lab.

[–] johntash@eviltoast.org 1 points 1 year ago (1 children)

I'd be interested in hearing how that goes. I don't currently use protonmail, but need to look at it again sometime.

[–] IlliteratiDomine@infosec.pub 1 points 1 year ago

Well, got it done. I was going to write something up about this process, but it ended up being really straightforward. I'm running it in k3s and the worst part was waiting for the initial sync.

Now, something about the SMTP traffic my router sends (trying to send notifications from a Mikrotik) makes the smtp implementation mad, but all my other clients were fine.

[–] wohfab@digitalcourage.social 1 points 1 year ago* (last edited 1 year ago) (1 children)

@IlliteratiDomine @johntash

I've read about SMTP tokens for certain protonmail accounts yesterday. Seems to be for select business accounts + visionary accounts only (, yet, @protonmail?). Would this make the bridge obsolete (for sending)?

Source: https://proton.me/support/smtp-submission

[–] IlliteratiDomine@infosec.pub 2 points 1 year ago

Yeah, if that rolls out to more account types, you would no longer need the bridge for sending.

[–] nick_99@sh.itjust.works 3 points 1 year ago (1 children)

AmazonSES and SMTP2Go are both awesome.

[–] johntash@eviltoast.org 2 points 1 year ago (1 children)

Thanks for mentioning SMTP2Go. It's another I haven't looked at yet, but looks like 1,000 e-mails/mo in the free plan isn't bad.

[–] nick_99@sh.itjust.works 1 points 1 year ago

Of course. The only thing I don't like about it is the free plan only allows 5 domains.

[–] Tempiz@sh.itjust.works 3 points 1 year ago

I’m also on gmail. Haven’t had any issues with it, no real desire to change.

[–] lemmy@endlesstalk.org 3 points 1 year ago (1 children)

I also thought about using AWE SES, but I decided not to use it, since I was "sandboxed"(See more here).

I decided to use MXRoute, which have worked great for me so far. It is more expensive(50$ per year), than purelymail and Migadu, but for me reliabillity is very important, so I don't mind paying a bit extra for it.

[–] johntash@eviltoast.org 1 points 1 year ago

$50/yr isn't too terrible if it's good. Do you use it only for outgoing notification type e-mails or do you use it as your main email too?

[–] dsegonds@sh.itjust.works 2 points 1 year ago

I am using PostmarkApp. It works for me and I don't have to worry about outbound messages.

[–] howdy@thesimplecorner.org 2 points 1 year ago

Following...

[–] bl00dmeat@sh.itjust.works 2 points 1 year ago (1 children)

If you want free options, I often use MailEnable and hMailServer in lab environments. Also a free Azure developer trial includes some M365 licenses, and it pretty much always auto-renews every 90 days (I've had a few tenants going for YEARS now)

[–] johntash@eviltoast.org 1 points 1 year ago

Oh man, I have enough bad memories from MailEnable :D

That's a good tip about the 365 license though, I didn't know it could renew for free. I might try it just to learn more about azure.

[–] dap@lemmy.onlylans.io 2 points 1 year ago (1 children)

I actually setup SES for my Lemmy instance. I was evaluating SendGrid but less than 24 hours after signing up they closed my account with zero explanation so...yeah lol.

I was sandboxed in SES initially but I created a support ticket asking for production access and I was good to go. No issues with SES thus far.

[–] seang96@exploding-heads.com 2 points 1 year ago (1 children)

Lucky SES rejected my request lol

[–] dap@lemmy.onlylans.io 1 points 1 year ago (1 children)
[–] seang96@exploding-heads.com 1 points 1 year ago

Yeah seems like they are pretty strict on what you are doing, i assume not having a business on the account affects it too. Maybe depends on who you get to reply to your ticket as well lol

[–] death916@lemmy.death916.xyz 2 points 1 year ago

Been using a zoho free account and their smtp servers . Used it for lemmy notifications

[–] xxdesmus@kbin.social 2 points 1 year ago
[–] howdy@thesimplecorner.org 2 points 1 year ago* (last edited 1 year ago) (1 children)

This is a weird one. I have my instance in a vps that blocks smtp and all it's alternative and secure ports. Is there anyway for me to get smtp out of here? Id have to fiddle with Lemmy's functions. I imagine an API or something. Anyone have experience with this?

[–] johntash@eviltoast.org 3 points 1 year ago

Does your vps provider block outbound smtp to port 465/587? Usually providers only block port 25 outbound so that the vps can't send mail directly to a server (and can't host incoming mail). I haven't seen many providers block smtp altogether.

If that's the case though, services like sendgrid do offer http apis. I'm not sure if there's any sort of smtp-to-http relay bridge, but I wouldn't be surprised if there is one. Otherwise Lemmy would have to support the specific api to send e-mails through.

[–] gregw@lemmy.gregw.us 2 points 1 year ago (1 children)

I set up a smtp relay with gsuite for outgoing mail but don't think it is ideal; it is tied to my user. It was just expedient rather than preferred.

Totally looking forward to the answers here.

[–] johntash@eviltoast.org 1 points 1 year ago (1 children)

That's pretty much my concern as well. Most of my notifications (lemmy/etc) get sent from a gsuite account or a fastmail account. I don't really want any automated e-mails being tied to my personal accounts like that.

[–] gregw@lemmy.gregw.us 1 points 1 year ago

With my one user gsuite I setup a secondary domain in it so lemmy sends from no-reply@lemmy.gregw.us, not my main address, but lemmy still authenticates using my main address.

[–] blah@lemmy.1204.org 2 points 1 year ago (1 children)

MXroute. First, because Jar is stupid (hope someone will get the reference). Second, because they are awesome and cheap at the same time. You can go from full-fledged hosting with them to using them as relay, and for pizza money for a year.

[–] johntash@eviltoast.org 1 points 1 year ago (1 children)

Are you using mxroute only for outbound (notifications/etc) mail, or are you using it for all of your incoming e-mail too?

[–] blah@lemmy.1204.org 1 points 1 year ago* (last edited 1 year ago)

In some cases outbound only, in other cases inbound, too, with redirect somewhere else. I’m not using them to store emails right now.

[–] rodti@kayb.ee 2 points 1 year ago* (last edited 1 year ago)

Had issues at scale with Mailgun, moved to Sendinblue (now Brevo) and all sorted. Mailgun’s support might as well be non-existent, took them nearly two weeks to address my issue, at which point I’d already jumped ship.

[–] MentallyExhausted@reddthat.com 2 points 1 year ago (1 children)

Mailjet is working great for me.

[–] johntash@eviltoast.org 2 points 1 year ago

I don't think I've looked at mailjet yet, thanks! The free plan looks better than sendgrid's free plan so far

[–] exu@feditown.com 1 points 1 year ago

I'm using Mailgun, but there are other providers offering similar services as well. Main reason is because it's free for the volume I send :)

load more comments
view more: next ›