48

I started hosting my own email server with stalwart and my dkim dmarc spf etc is all configurrd right but i get sent to spam with all the major providers so any tips to improve ip reputation?

you are viewing a single comment's thread
view the rest of the comments
[-] nitrolife@hikki.team 0 points 2 days ago

Just set up a PTR record and you will never end up in Google's spam. I've been running my own server for almost 10 years and have never seen this problem once. At the same time, I host my server at home on a residential IP range. I just talked my provider into setting up a PTR for my static IP.

[-] yuman@programming.dev 1 points 2 days ago

my own server for almost 10 years

gonna guess OP's is younger than that

[-] nitrolife@hikki.team 3 points 2 days ago* (last edited 2 days ago)

So what? Does this somehow cancel out PTR filtering? This isn't the only server I've maintained, and I've never received bans. Moreover, I recently moved and also didn't end up in Google's spam. ¯_(ツ)_/¯

With a normal configuration, you won't get spam marked.

[-] yuman@programming.dev 0 points 2 days ago

hear that, OP? here's the solution, if only all the ~~spammers~~ marketing-ers just knew this simple trick!

you're either willfully ignorant or obtuse; either way change your tone if you want serious replies.

[-] nitrolife@hikki.team 2 points 2 days ago* (last edited 2 days ago)

It's unlikely you understood my tone through an AI translator. Oh well.

Personally, I still think that it is almost impossible to end up in spam right away from a clean address without engaging in spam. If you config corrent of course.

And I think this is a much more objective piece of advice than something like

the solution is simple - you stop talking, sending, receiving mail from them fucks and teach your server to only talk to independent mail servers.

[-] lemmyvore@feddit.nl 1 points 2 days ago

Residential addresses are basically used all the time now by AI crawlers, spammers, malware and all kinds of shit. It's a "known secret" that everybody uses and it doesn't mean anything anymore.

Kudos for having working email for so long but you're the exception.

[-] Lichtblitz@discuss.tchncs.de 1 points 2 days ago

I haven't had problems either, though I'm not hosting on residential IPs. It really depends on the hoster and whether they are following up and thus limiting on abuse or not. If they are then it is 99% up to the mail server and DNS and PTR configs. There is only one company I've encountered that requires you to actually message them and get your IP explicitly allow listed even if you've done everything right: the (German) Telekom. But that's also more of a formality and as long as you stay on their good side, it's a once-in-a-lifetime thing.

[-] lemmyvore@feddit.nl 1 points 1 day ago

But that's relying heavily on the IP's history, doesn't it? You're essentially betting both that it's never going to change and that it's never been misused.

Even than, one overzealous list is all it takes to taint it. Or it can end up included inside a block that's blacklisted for unrelated reasons.

I don't see a reason to bother with all this when I can rent reliable SMTP service for a couple of dollars a month. I could understand pushing back if small and medium email providers were on the verge of extinction, but they aren't.

[-] Lichtblitz@discuss.tchncs.de 1 points 1 day ago

You do you. I'm just arguing that self-hosting email isn't nearly as bad as the reputation makes it out to be.

[-] lemmyvore@feddit.nl 1 points 22 hours ago

I'm just interested in the practical aspects.

If I were to set someone up for email right now, from scratch, using my approach, it's 100% achievable and straightforward, just have to pick a provider with the ratio of features/price you like.

The other approach hinges on the IP. You have to get one, it has to be clean, and it has to be kept clean going forward. The latter might be not as hard as people think, but the former?

To put it in practical terms, If you didn't have your IP, would it be easy to get another one? And how much of a sure thing would it be to find a clean one? As easy as opening an account with an email provider?

[-] Lichtblitz@discuss.tchncs.de 1 points 8 hours ago* (last edited 8 hours ago)

I believe the IP is secondary to the IP block. If you have a reputable hoster who takes care of their business, IPs are likely not deny-listed. With the hosters I've used, changing the IP is trivial. Order a new one and cancel the previous. I never needed it, though. There is just one thing I would strongly recommend: never go the self hosted setup route for someone else if you're not using the same setup as well. That's setting someone up for disaster. If you are your own client and something breaks, you can easily fix it. If they have to rely on you, your availability and responsiveness in case they want to send or receive something urgent, it can be very frustrating. Always go the route with a service that provides support when setting someone else up.

If you love tinkering, the self hosting route is very viable and once everything is set up properly, the only thing you'll have to do for many years is regularly patching the system, preferably automatically.

this post was submitted on 30 Nov 2026
48 points (96.2% liked)

Selfhosted

64184 readers
635 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS