this post was submitted on 20 Jun 2023
6 points (100.0% liked)

Selfhosted

40134 readers
535 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 1 year ago
MODERATORS
 

Pay for Sendgrid (100 / day for free is not enough) VS set up your own email server?

For own email server, do you not get flagged a lot as spam ?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

The set up isn't actually hard at all, if you understand the concepts. Keeping off blacklists is the hard part, as big providers often block entire IP ranges due to one bad actor.

Edit: I meant sometimes your server gets blacklisted for something some neighboring server did

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

Well I did set one up today and the mails land in the spam folder for GMX, GMail and Microsoft (@live.de), although I set up SPF, rDNS, and DKIM. I have to take a look at how to setup DMARC, beacause my domain hoster doesn't allow free configuration of the TXT entries, you have to use templates and there isn't one for DMARC

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

Couple things that I've found out,

  • Gmail seems to need your server to have IPv6 with PTR, even if the mail is sent over IPv4
  • Even a DMARC record with no ruf or rua helps lower the spam score
  • For Outlook you need to send some mail to yourself or someone else and mark the messages as not spam manually for a while
  • MS365 will even put mails from Gmail to spam initially
  • Some TLDs like .xyz will go to spam even if everything is set up perfectly
  • Outlook also seems to cache DNS quite long, you may need to wait a day for changes to propagate
  • A recently registered domain will land in spam more easily, if it has been registered for a while it also seems to help

If you're not already familiar with these, https://mxtoolbox.com/SuperTool.aspx (write smtp:your.mx.record is a good tool, and I've also used https://www.mail-tester.com/. Mxtoolbox blacklist check is also good.

I hate it that spammers have made hosting email such a hassle. Hope you get stuff running!

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

I don't have an IPv6 PTR and I send mails through a .xyz domain and everything still works at least when sending to a gmail inbox.