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?
I just setup a gmail account, just gotta turn on legacy smtp
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.
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?
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.
AWS SES or Hetzner (where my mail id also hosted)
Mailtrap
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.
gmail with separate account than primary one
Amazon SES. My monthly bills are between 3 and 8 cents per month
How did you guys get approved on Amazon SES? My application was instantly rejected when I specified it for outbound emails.
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.
Send grid has no approval process and will give you 100/day for free
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?
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.
I just checked the docs and didn’t see anything about ntfy accepting smtp? This would be useful, what am I missing?
.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
-