DKIM, DMARC, SPF, rDNS/PTR, EHLO… all correct and verified in the email “original source,” BY GOOGLE. Still goes to SPAM folder because **** you, apparently. I hate Google.

  • Forester@pawb.social
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    2 hours ago

    If you want you can PM me your dkim and dmarc and SPF policy. Or just send me your url and I’ll look it up. I used to fix these for a living. It’s likely an issue with your SPF not being properly annotated.

  • FLOSSbOxIN@mastodon.fbin.in
    link
    fedilink
    arrow-up
    5
    ·
    3 hours ago

    @laurenceOfSuburbia
    This ain’t anything new. They have been doing this for decades and will still do it forever. Just move on with it, since it like trying to figure out something which has no meaning at all.
    Just know for sure that every company has systems designed by some developer based on a whimsical mindset of someone at the very top. So, I can care less for these stupid companies and their useless management.

  • Elvith Ma'for@feddit.org
    link
    fedilink
    arrow-up
    10
    ·
    5 hours ago

    Google Groups allows spammers to subscribe you to their groups in a workspace account, but doesn’t allow you to unsubscribe since you’re not part of that workspace account… Worse - all autoresponders for the spam will also be forwarded to all members of said group.

    Since I do not participate in Google Groups, the nuclear option is to file all mails from Google Groups as spam with a Sieve script.

    Note the require part may be too large as may sieve script also contains more rules than this one.

    require ["body", "date", "editheader", "envelope", "fileinto", "imap4flags", "mailbox", "regex", "reject", "variables"];
    
    if anyof(
        header :contains "List-Subscribe" "groups.google.com",
        header :matches "X-Google-Group-Id" "*"
       ) {
    	if header :matches "Subject" "*" {
    		set "subject" "${1}";
    	} else {
    		set "subject" "";
    	}
    	deleteheader "Subject";
    	addheader :last "Subject" "[Google-Groups-Spam] ${subject}";
    
    	fileinto "Junk";
    }
    
    • ayyy@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      35 minutes ago

      autoresponders for the spam will also be forwarded to all members of said group.

      This sounds like a pretty effective way to get yourself unsubscribed from groups you don’t want to be in.

      • Elvith Ma'for@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        6 minutes ago

        They will be drowned in hundreds of „Thanks for your email, but we don’t do support via mail. Please open a ticket at $URL“ and „Thanks for your mail, we will get back to you shortly. Your ticket ID is #123456“. Also everything you add as an auto response will be distributed to all other victims in that group, so I chose to not be a dick.

  • SystemNeo@toast.ooo
    link
    fedilink
    English
    arrow-up
    135
    arrow-down
    4
    ·
    9 hours ago

    Tbh, out of all services I’ve seen people self-host, email is the most common one I’ve seen people describe as a bad idea™️.

    I just chose a paid mail service (mailbox) and called it a day.

    • galoisghost@aussie.zone
      link
      fedilink
      arrow-up
      35
      arrow-down
      3
      ·
      6 hours ago

      Yeah we should just let them win. Why fight? It’s not like most of the spam and phishing come from Gmail and hotmail accounts. It’s those fucking self hosters

      • WesternInfidels@feddit.online
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 hours ago

        Maybe the way to fight GMail’s outsized power is to stop using GMail. You can do that without going all the way to self-hosting.

        • Lee@retrolemmy.com
          link
          fedilink
          arrow-up
          18
          arrow-down
          1
          ·
          5 hours ago

          I’ve run a mail server since the late 90s. I gave up running my own outbound years ago. Whether it gets received is too inconsistent. Primarily, make sure the IP you use isn’t on any spam lists. If it is, get a new IP or try to submit appeals. Make sure you have the standard anti spam/authenticity measures implemented (they’re listed in the OP).

          These are the minimum. Years ago it was enough to have reasonable delivery. Unfortunately these aren’t that helpful anymore because spammers also set them up (often with seemingly randomly generated domain names). I assume because not having them was a fairly strong signal for being a spammer, so now they also set them up, which also means there’s not really any configuration / setup you can do to seem legitimate (aside from mail volume and the content itself which will be analyzed).

          Anyway running your own SMTP itself is easy. The problem is getting your mail to the inbox or at least spam/junk folder (your mail may get blackholed and not even show up in spam). At least when you get a rejection, you know something is wrong, but many times the receiving server will indicate a success code and simply not deliver it to the user (not even to their spam).

          • toxicmode@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            5
            ·
            5 hours ago

            Interesting! You said you gave up on the outbound, does that mean you can’t reply to mails you receive? But if you can reply, does that mean the sender (let’s assume someone with gmail) will get it or would even that likely end up blackholed or in spam?

            • Lee@retrolemmy.com
              link
              fedilink
              arrow-up
              4
              ·
              5 hours ago

              I can reply yo emails. It’s what jaybone said – I use a 3rd party outbound (SMTP).

              I use Thunderbird as my mail client. In there you can define multiple IMAP/pop accounts (inbound) and multiple SMTP (outbound). So when I click reply, the SMTP I have set for that email address is a 3rd party service that sends emails using my domain.

              This does have a privacy implication, so whether that’s appropriate for you is for you to decide. The 3rd party can read and save a copy of your outbound email inclusive of any content included with it (like the email you’re replying to if you include it).

                • Lee@retrolemmy.com
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  edit-2
                  15 minutes ago

                  Don’t take this as an endorsement as it’s not really intended to be used for this purpose and I’m probably going to switch, but I’ve been using sendgrid for a few years as I was familiar with it from business use. I was using mandrill before that until they changed their pricing and some other things.

                  EDIT: also worth mentioning I have a grandfathered free plan.

            • jaybone@lemmy.zip
              link
              fedilink
              English
              arrow-up
              5
              ·
              5 hours ago

              Maybe they send emails using someone else’s smtp server? (Like some paid service that provides smtp?)

        • Hippo 🍉@fosstodon.org
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          6 hours ago

          @toxicmode @galoisghost I think those of us who can should selfhost an email address at least to contact other selfhosters even if we can’t use it effectively to contact users of Big Email. That’s how the network effect begins

          Think of it like how a lot of the Fedi defederated from Gab or/and Thereads, except that this time it’s Big email that’s forcing the defederation

          https://badrihippo.thekambattu.rocks/clog/staying-away-from-big-email/

          • toxicmode@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            6
            arrow-down
            1
            ·
            5 hours ago

            Stop tempting me! I might do it.

            One question, I currently use proton mail to use my domain for email and there are no issues afaik. Do you think a few years of using proton will have “whitelisted” my domain enough or will all the issues pop up once I change to hosting it myself?

    • surewhynotlem@lemmy.world
      link
      fedilink
      arrow-up
      67
      ·
      8 hours ago

      Same. It’s great for a technical challenge. Don’t do it for your primary email unless you’re ok losing emails and having them rejected a lot.

      • pankuleczkapl@lemmy.dbzer0.com
        cake
        link
        fedilink
        arrow-up
        4
        ·
        4 hours ago

        I get what you mean, but this website specifically works completely fine on my Firefox (with uBlock). Please check your browser settings for things like disabled JavaScript.

        • xylol@leminal.space
          link
          fedilink
          arrow-up
          1
          ·
          4 hours ago

          Yeah everything is disabled its Firefox focus, everything always worked fine then like this past week all sorts of sites started showing that

    • realitista@lemmus.org
      link
      fedilink
      English
      arrow-up
      15
      arrow-down
      1
      ·
      8 hours ago

      Even using a reputable hosting provider and personal domain will get you spam black holed these days

      • jaybone@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 hours ago

        I wonder if there should be some kind of law or regulation around this. It’s an antitrust issue. Though no one in Congress would understand what this is.

      • raspberriesareyummy@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        7 hours ago

        This here. My emails end up in gmail spam folders occasionally from what I am told. And I don’t self-host. I just use a good webhoster and my own domain. Fuck google.

      • Tiger@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 hours ago

        Many hosting providers won’t even let you try, they don’t want to host potential spammers.

    • Dultas@lemmy.world
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      6 hours ago

      I use a free outbound smtp relay that lets me do like 5k emails on the free tier. I use it primarily for alerts and Immich updates / new user links. But I don’t do inbound so don’t have to expose any ports. Only time I did was to do validation with the relay so just a few minutes during setup.

  • OR3X@lemmy.world
    link
    fedilink
    arrow-up
    30
    ·
    7 hours ago

    I work for state government and even we have trouble with email reputation issues from the big orgs. It’s a pain for everyone.

  • Not_Raccoon_Rick@altgag.net
    link
    fedilink
    arrow-up
    6
    ·
    6 hours ago

    Self hosting an email server to send mails that don’t get flagged as spam is a nightmare, I’d rather not attempt doing it again. My Lemmy instance is using SMTP2Go and the free tier is more than enough for my current sending capacity needs

  • Lena@gregtech.eu
    link
    fedilink
    arrow-up
    37
    ·
    9 hours ago

    Self-hosting email is quite the undertaking… I don’t have the energy to deal with it and just pay 10€/year for a hosting service.

    Here’s an informative (and funny) talk on why self-hosting email in its current state is probably a bad idea.

  • x7HlPDq9dSNO6v3A9@lemmy.world
    link
    fedilink
    arrow-up
    23
    arrow-down
    1
    ·
    8 hours ago

    I run my own mailserver in docker and it’s not so hard! There was some difficulty at the start with mail going to spam, but after a little while “warming up” the IP with usage, it works fine. It’s hardest to build an IP’s reputation in the beginning because if your mail goes to spam, it doesn’t typically lead to healthy conversations that can support it’s history.

    My trick was to forward all my incoming gmail messages from the account I was replacing into the new server - that way I could receive and reply from the new mailserver if people sent mail to the old one. Once it built up a bit of a history it started working fine, and that took maybe a few conversations over a couple of days.

    The thing I have noticed is that you very quickly get destroyed by incoming spam - a more advanced filter is definitely on the list.

    • trxxruraxvr@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      8 hours ago

      One of the problems with self hosting is that a lot of IP addresses have historically been used for spam and still have a bad reputation. If you get assigned one of those IP addresses there’s very little you can do about your mails going to spam.

      • Dultas@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        6 hours ago

        Another is most ISPs will put your IP in the PBL so unless you use a relay your outbound email is going nowhere. Google fiber was slow on updating their PBL when they rolled out service in my area so I got to send direct for several months before having to use an external relay.

      • Illecors@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        5
        ·
        7 hours ago

        I had a small problem with this, but Linode (others do that, too) allowed me to allocate myself a /56 and that solved it. Since IPv6 is preferred if set up - it’s the protocol that gets used. And so my reputation problems went away.

  • hemko@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    1
    ·
    8 hours ago

    Most email providers block new domains… You need to have the DNS records up for like 2 years before they start getting accepted… Or contact all the big doers to get yourself whitelisted

    • Illecors@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      17
      arrow-down
      1
      ·
      7 hours ago

      False. It’s a scoring system, where a domain registered within the last 14 days gets a negative score. SPF, DKIM, etc all bump the score up.

      • hemko@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        5
        ·
        6 hours ago

        That sounds right, but I just had it take ~2 years for my personal custom domain stop hitting Trend’s filter we use at work.

  • Nester@feddit.uk
    link
    fedilink
    English
    arrow-up
    12
    ·
    8 hours ago

    I self-hosted my own email for a few years, everything was set up and reporting correctly, but Google just would never have it. I think the worst is it would be a bit inconsistent.

    Anyway, I switched to an email provider with my own domain and it’s much more reliable. That is until this week, I have noticed that some services are rejecting my domain. I think there is some whitelisting nonsense going on, but in those instances I just use an alias and that seems to work.

    I just want to have control of my data!

  • marcos@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 hours ago

    Do you send enough email to classify for Google to allow you to contest your status as spam? Because there is a minimum.

  • mspencer712@programming.dev
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    8 hours ago

    I also self host email and so far haven’t had any problems. Initial setup was annoying but it’s required zero effort this past few years, and I don’t think my emails land in spam folders. Maybe I can help?

    Shoot me a message at test-message-lawrenceOfSuburbia@mspencer.net (which I’ll delete after it gets a message, for obvious reasons) and I’ll take a look. (I misspelled the name, I apologize, no insult intended)

    Honestly I think I’ve received 10 spam messages in the last four years, and five have been from gmail addresses (Best Buy invoice spam) in the past two months. I submit each one to support.google.com/mail/contact/abuse and hopefully it helps.

  • daniskarma@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    3
    ·
    6 hours ago

    Probably bad place to ask but.

    Self hosting email is complicated only for sending mails or for receiving mail it’s also hard?

    Depending on what you want to do you might not need to actually send any mail.

    Also, the anti-spam rules do also apply if you are answering a mail, I suppose it does as a response envelopement doesn’t have any evidence that it’s an actual response. But I have no experience self hosting email.

    • Hippo 🍉@fosstodon.org
      link
      fedilink
      arrow-up
      6
      ·
      6 hours ago

      @daniskarma @laurenceOfSuburbia yeah the complication is not technical so much as bureaucratic. Email itself is simple, but then you have to jump through hoops of tuning various other technical settings for Big Email to allow you in

      I think it’s usually to do with sending, so if you’re only interested in receiving I think you’ll be fine (unless your server uptime’s really bad or something)

    • mystik@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      6 hours ago

      Self hosting receiving mail is honestly, pretty straightforward, all things considered. Setup your MX record to point at a server you control, configure software to save messages however you want. Perhaps the most complicated step is wiring up certbot or similar software to get your SSL certificate for your mailserver. A Debian Linux system, apt-get install postfix; apt-get install dovecot will get you nearly 90% of the way there.

      Depending on your preference. there are docker containers that can do 100% of the process too, with all sorts of nice bells and whistles. If you don’t care about sending email, you can skip DKIM/SPF/DMARC. (though, if you are never sending from your domain, check here: https://www.cloudflare.com/learning/dns/dns-records/protect-domains-without-email/ – there are some entries you can add to DNS to make sure everyone else knows)

  • esc@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    3
    ·
    4 hours ago

    Who cares? I’m not selling things, I have no idea where email goes on someone else’s server, spam, straight to bin, whatever, recipient gets it and reads it or not. If they are so not interested in my message that they never read it, well, life goes on nothing was lost.

    • 4am@lemmy.zip
      link
      fedilink
      arrow-up
      3
      ·
      3 hours ago

      I think you missed the whole point of this post.

      “Who cares? Just let Google take over the whole internet! I have no idea why we don’t just sell the whole thing to Google and make it called ‘the Google’ instead, whatever” <— this is what you sound like

      Ok going back to your actual words, What an absolutely insane thing to say. Google aren’t the good guys when they mark every piece of email as spam that doesn’t come from them.

      And it’s not like OP was emailing random people, they had a program they run and emails them when something goes wrong; _pretty useless if they never get it because Google decided it was spam even though they jumped through the ludicrous amount of hoops it takes to run an email server in 2026, thanks exactly to mindsets like yours “who cares just let people do whatever”

      Yeah shits ruined now, but hey at least you think you’re smarter about your time than everyone else. Enjoy!

      • esc@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        3 hours ago

        I think you have a problem with reading comprehension.

        I said who cares if google throws something to spam, that’s not my problem, that’s google and recepients problem. I’m running my own email server, I’ve been running corporate mailservers and personal before. You don’t control other peoples infrastructure and google is by far not the worst gatekeeper in email world, insane whitelist configurations, spamhaus, whatever weirdness like recieving only from specific subdomains. Running email isn’t hard, just stop being a perfectionist about some metric that shouldn’t be measured to start with.