this post was submitted on 01 Aug 2023
159 points (97.0% liked)

Selfhosted

40439 readers
699 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 2 years ago
MODERATORS
 

For example, something that is too complex for your comfort level, a security concern, or maybe your hardware can’t keep up with the service’s needs?

you are viewing a single comment's thread
view the rest of the comments
[–] faethon 101 points 1 year ago (24 children)

Hosting an email server is pretty sure a magnet for half the Chinese IP range.... So I would refrain from hosting that myself.

[–] Tinnitus 15 points 1 year ago (2 children)

I figured email would be a common theme. I’m just starting to dip my toes into all of this, so an email server is not on my to-do list (and may never be).

[–] [email protected] 18 points 1 year ago (1 children)

Google and other large scale providers have intentionally made it very difficult to self host your own email. It’s generally not considered a wise move these days and is very difficult to maintain.

[–] peregus 3 points 1 year ago (3 children)

Why do you say so? I'm not an expert in the fields, but isn't a mail server pretty much the same as 20 years ago plus DKIM and SPF?

[–] [email protected] 9 points 1 year ago (1 children)

Problem is, that most larger providers sort your mails to spam if the domain is not well known to them, which is not easy to achieve

[–] peregus 5 points 1 year ago (1 children)

Mmm...are you sure about that? I happen to buy some random domain and I've never had any problem sending email even right after the domain created.

[–] [email protected] 7 points 1 year ago (1 children)
[–] peregus 4 points 1 year ago

But there are even people that still self host email server (have a look in the selfhosted subreddit for example). IP reputation is a thing, for sure, but I don't feel that it's been brought up by the big corp wickedly, it's a good way to prevent spam to arrive to the server. There are thousands of email providers in the world that are not Google, Amazon, Microsoft or some other big corp. This means that is possible. Is it difficult? For me for sure!!! But I think that the rising difficulty has been a result of this fields over the years. Just my 2 cents.

[–] ikidd 7 points 1 year ago* (last edited 1 year ago) (1 children)

With DKIM and SPF, I've had zero problems in the last 15 years of selfhosting, most recently with Mailcow Docker on a residential IP. I don't even have a reverse PTR to my mailserver hostname, just a PTR provided by the ISP that can be resolved.

I've added a few fresh, un-reputed domains to the server and had no issues.

I think many people's problems with running email servers are self-inflicted. I remember even before there were things like blacklists, etc with large providers, many people had problems keeping mailservers running. It's just not an easy task for a variety of reasons completely unassociated with the mega's blacklisting you. I've been running mailservers at various scales for 20+ years so maybe it's just second nature to me now.

[–] peregus 1 points 1 year ago

Thanks for sharing your experience with us. @[email protected] , @body_by_make

[–] [email protected] 1 points 1 year ago (1 children)

ip-reputation is also important. Mailgun, an email service for mass mailing, is doing an „ip-warmup“ if you choose a dedicated ip. So, if you are self-hosting with dynamic-ip, i think you would have a very very low ip-reputation.

[–] peregus 2 points 1 year ago (1 children)

True, but this has nothing to do with Google and other, is a well done method to avoid spam.

[–] [email protected] 1 points 1 year ago (2 children)

so what else is a factor for reputation? Or is it like if you dont pay to get your mail-domain whitelisted we lower your reputation score?

[–] peregus 1 points 1 year ago

No idea! I don't run my own mail server. But if you read a bit up here, there's a guy who runs his own mail server(s) since years. But the selfhosted world seems to be full (well...not so full) of people that self host their mail server.

[–] [email protected] 1 points 1 year ago

@loppwn @peregus not having PTR, DKIM, SPF, DMARC correctly setup is a killer, but there are great solutions for this nowadays, both #cloudron and #Yunohost take care of that part pretty well

[–] [email protected] 1 points 1 year ago

I have an email server but it is not my main email account. I'm purely only using it to learn and to have email notifications sent out from a few services. I do not trust myself or my setup enough to have my main email account hosted on it

load more comments (21 replies)