I just setup a gmail account, just gotta turn on legacy smtp
Self-Hosted Main
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
- Service: Dropbox - Alternative: Nextcloud
- Service: Google Reader - Alternative: Tiny Tiny RSS
- Service: Blogger - Alternative: WordPress
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
- Awesome-Selfhosted List of Software
- Awesome-Sysadmin List of Software
This is the easiest way to do it.
I use mailgun. They give 1000 emails for free monthly which is plenty for me.
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.
Postfix installed on the server itself. My apps don't send many emails, why go through the complication and cost of hosting email externally?
Started using Purelymail. Easy setup with my multiple domains. Really cheap.
gmail with separate account than primary one
Mailtrap
Send grid has no approval process and will give you 100/day for free
Gmail
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.
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?
Amazon SES. My monthly bills are between 3 and 8 cents per month
I'm noob here, how to setup spam filters while trying to receive emails
First set up spam filters, then send emails. Both at the same time isn't very convenient.
AWS SES or Hetzner (where my mail id also hosted)
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?
The SMTP relay that comes with my M365 tenant.
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.
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)
Sendgrid
Selfhosted Mailcow.
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.
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.
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.
i personally found SendGrid easy to setup and cost effective
Sendgrid… you’d be well within the free tier.
I have secondary gmail account just for that.
PurelyMail
G suite account supports inbound and outbound relaying.
Gmail
I pay $7 for a noreply user in my business starter Google workspace.
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.
A VPS with Mailcow.
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.
Dedicated Gmail account.
Are there any third party services that don't require phone numbers for sign-ups?
Mailrise + pushover
A bit overkill but mxroute. Complete own Mail-environment for sending and receiving.
About 50.- a year I think it was
Check for Black Friday deals at mxroute. I signed up last year for $10/year.
.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
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.
Are you sending lots of mails to a large group of users. If not why not use any normal e-mail service like gmail?
MailJet
Sendgrid, Sparkpost, SES, plain gmail.
If you're only sending emails to yourself, gmail works well with no cost.
Mailjet. Free for 6000 emails/mo, which for me is plenty to cover backup notification, monitoring system notifications, etc.