• hansl@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    There are also cases where you want to have a disallow list of known bad email providers. That’s also part of the parsing and validating.

    • anti-idpol action@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      8 months ago

      fuck any website that requires an account to just READ it’s stupid content and at the same time blocks guerrillamail/10minutemail (looking at you, Glassdoor,I don’t want to get fucking spam just so that I can check approximate salary in a company)

      • hansl@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        8 months ago

        Sounds like your gripe is with people requiring accounts for reading public content, and not with preventing usage of automated email creation and trying to limit bots on your website.

    • Tramort@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      8 months ago

      It’s a valid need, but a domain blacklist isn’t part of email parsing and if you conflate the two inside your program then you’re mixing concerns.

      Why is the domain blacklist even in your program? It should be a user configurable file or a list of domains in the database.

    • ono@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 months ago

      disallow list of known bad email providers.

      Imagine giving someone your phone number, and having them say you have to get a different one because they don’t like some of the digits in it.

      I have seen this nonsense more times than I care to remember. Please don’t build systems that way.

      If you’re trying to do bot detection of the like, use a different approach. Blacklisting email addresses based on domain or any other pattern does a poor job of it and creates an awful user experience.