Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

palarith , (edited )

You don’t need a mail server to send emails

Use an smtp smart host like smtp2go

ozzyrockin ,

+1 to this worked for me, only issue was they block common free emails (like gmails etc) from making accounts but porkbun made it super easy to make a email forward that worked!

MHanak ,

I'd advice against it, aside from spam filters, and it being a general PITA, there is a chance your ISP will block any outgoing mail traffic (in my case orange blocks it)

Humorless4483 OP ,

Which orange ? I’m with orange Belgium.

cvf ,

All you need is a local smtp server that relays to another, "real" smtp server. I have a postfix that is configured to use the Proton smtp servers (before that it was Googles). No issues on Telenet.

iarigby ,

This tool is for your use case. It comes with bonus privacy features like unique address for each service so they can’t cross track you

https://simplelogin.io/

smileyhead ,

SimpleLogin is for mail aliasing, not transactional mail.

bastion ,

Interesting how you use "simple" and "mail server" in the same sentence.

vext01 ,
@vext01@lemmy.sdf.org avatar

I self host my email. It was hard work to set up. 0/10. Would not come again.

roofuskit ,

I second this comment. It's been a long time since I set one up and it was a pain. And from what I can tell it's only gotten harder.

ErwinLottemann ,

i self host my mails for almost 20 years now, it was hard work in the beginning, now it's just a few updates a year. no problem with blacklists or anything, a good hoster is probably beneficial, 10/10 would recommend, even just to learn how all of this works

vext01 ,
@vext01@lemmy.sdf.org avatar

That's true. I did learn a lot, but the idea of setting it all up again gives me anxiety.

Shimitar ,
@Shimitar@feddit.it avatar

I I agree with everybody else saying that the email server should not be self-hosted. But I have a specific exception to this rule, which I was keen to try, but I never did this or take this with a pinch of salt.

I do self-host on my services, but at the moment I keep myself hosted email on a public server, not on my home server.

Since I am using a tunnel to access my services from outside, my home server is actually using my public server ip. moving my email self-hosting to my home server would not actually change the front facing IP address of that email server, and no harm would be done to my mail server.

But is it really worth it? Probably not. Since I would still need some kind of backup email server out on the internet for the rare situations where my home server is cut from the internet due to power outage or ISP being down.

You want full reliability for your email server. So your home connection without UPS or backup connection isn't going to cut the cheese fully.

So, I would suggest you don't self-host your email on your home server. You can still self-host your email, but on a public server. Be aware, though, that is a difficult task which will require lots of effort and many months to get it done right and accepted everywhere.

pHr34kY ,

I host my own mail. When it's down, the mail just gets delivered after I get online again. Almost all mail servers are configured to retry over a period of several days before giving up.

Once my health insurer sent me mail by post to tell me that my mail server was down. That was kinda funny.

Shimitar ,
@Shimitar@feddit.it avatar

What if your home network goes down while you are away for a week and you cannot get it back online?

Not a risk I am willing to take, so a backup server would be required.

pHr34kY ,

The longest outage I've had in a decade is when my primary SSD died a 2 months ago and I had to reinstall using config backups. It was down for around a day.

I've thrown a UPS on it and flown overseas for a week or two. It's basically just email for me and the kids.

I've had longer outages on hosted services, TBH.

deafboy ,
@deafboy@lemmy.world avatar
hperrin ,

This is a can of worms, but you’re probably looking for something like Postfix. Running your own mail server is complicated. You need to set up SPF, DKIM, DMARC, and make sure outbound traffic on port 25 isn’t blocked. You need to check if your IP is on any block lists. You can do that here:

https://mxtoolbox.com/blacklists.aspx

merthyr1831 ,

don't.

just_another_person ,

You are asking for a world of pain here.

mojoaar , (edited )
@mojoaar@lemmy.world avatar

I would not go down the route of doing it myself. Take a look at something like: migadu if it is simple mail hosting you are looking for.

smileyhead ,

Migadu is great but they state in their policy that automated (non-human) outgoing email like for password resets are not allowed.

mojoaar ,
@mojoaar@lemmy.world avatar

Yeah, you a right. Didn't read that requirement carefully enough.

mypasswordis1234 ,
@mypasswordis1234@lemmy.world avatar

Please, just don't. It's pain in ass

Toes ,
@Toes@ani.social avatar

I found this docker option.

https://hub.docker.com/r/apache/james#!

Although it's pretty cheap to have someone else host it.

https://www.ovhcloud.com/en/emails/mail-hosting/

darklamer ,
@darklamer@lemmy.dbzer0.com avatar

As already mentioned several times, selfhosting a mail server is not recommended unless you're particularly interested in hosting a mail server, but with that said, you might find this project interesting:

https://maddy.email/

retro ,
@retro@infosec.pub avatar

If you need to throw in the towel on email self-hosting, don't be ashamed. Mail servers are one of the more difficult projects to run. If you do end up outsourcing this, I recommend SendGrid, it's reliable and free.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted@lemmy.world
  • random
  • incremental_games
  • meta
  • All magazines