2 months later

0.3.0

  • Beta 16 update
  • Update underlying fgribreau/mailchecker library
Updating
composer require fof/disposable-emails:"*"
2 months later
5 days later

how can I allow Gmail, Yahoo, Hotmail only .. is there any way to build a white list? (to validate only during sign up)

i have tried this website https://temp-mail.org/ they usually buy new domains it's hard to report every single domain at github

in a way relaying on social login only helps to avoid spam accounts. FriendsOfFlarum/oauth30

    2 months later

    I suspect disposable extension has stopped detecting temp emails ever since i updated to Flarum ^ 1.0.4 and extension updated. is anyone else have some problem?

    6 days later
    3 months later

    Hari It's actually a very logical solution. It would be perfect if we only accept services like google hotmail instead of blocking domains. If you found something about it, could you share it with me?

    • Hari replied to this.

      Fealist to the extent I find social login only is the best solution. There is a extension called "social login only" (I could not share link at the moment replying you from mobile) .

      I'm just hiding the signup button using CSS, I've set that CSS code before the extension was made. Now you can simply use the new extension. But it makes everyone to login social login only.

      There is a another extension called "white list domain only" by Clark , I've not tested it since my requirement already fulfilled.

      Just go to my flarum profile > discussions > you will find a discussion related to hide signup button, a code to hide CSS fields code. You need to put it in appearance > CSS/less code are in flarums admin panel.

      Hope that helps.

        Hari https://discuss.flarum.org/d/28377-email-whitelist

        I installed the enclosed flarum extension and added the following domain names to the whitelist field on the administration page.

        gmail.com
        yandex.com
        outlook.com
        hotmail.com
        protonmail.com
        yahoo.com
        icloud.com 

        I left a custom error message and left the blacklist blank. I recorded. I have solved the problem as a result of my experiments.

          Hari Limiting it to social login only would make me lose a lot of members. This method makes more sense. What about?

          • Hari replied to this.

            Fealist thanks for testing and letting me know, i will start using it in a few days. you should also add @googlemail.com as it's also widely used in countries like Russia. it is a big story but i see significant users using this domain. let say if my email id is jhonwick@gmail.com we can also register using jhonwick@googlemail.com both mail ids are linked to the same box.

            and outlook offers a lot of domains like mail@outlook.com outlook.in, .ie once go through their list, mail.ru is also very famous you should consider adding them. my uncle still uses Rediff mail and yahoo.co.in yahoo.ca ..etc .. keep an eye on them too

            i have nearly 10 alias linked to my outlook account example jhon@outlook.com jhon@outlook.ie .. i did that just to make user no one uses my name@domain (why not when it's free) 😋

            Fealist we see a lot of haters trying to register and try bullying, spread hate speech so in my case using a social account would definitely hold them back and I don't mind losing users in this scenario.

            could you share a screenshot of the email whitelist extension admin dashboard? 🧐

            I have asked my users many times over social media which mail extensions are used more. Since my potential audience is Turkey, I did not pay much attention to this situation, but Your examples are very nice. I will use it. I leave the pictures below.

            Admin Panel Image:
            https://ibb.co/Qc9c3pY
            Error message:
            https://ibb.co/26sg41T

            2 years later

            ValiantShishu this extension will likely never be able to stop all fake accounts being created as most use regular email providers like in your example with @gmail.com or @web.de that cannot be blocked. I recommend using some CAPTCHA like Turnstile which will reduce those accounts drastically.

            9 months later

            I installed this extension a few years ago, I thought I would no longer worry about users with temporary users, but today by chance I saw that one has been registered on a domain that is on the blocked list of the main repository.

            Example

            This domain was added in November 2022 in version 5.0.4 but the extension is using in composer ^4.0.1. So I would like to know what is the process to update to the latest version of this dependency to avoid blocked domains latest the latest is v6.0.2.

            FGRibreau/mailchecker386
            FriendsOfFlarum/disposable-emailsblob/master/composer.json#L23
            FGRibreau/mailcheckertags

            I could make a PR changing the version in composer but it is not a definitive solution since it will not be up to date with the versions that appear. Any ideas?

              a month later

              Hey guys ... Please help with Disposable Emails. On my Forum users register with Disposable Emails and then spam.

              This extension is not working. Please update this extension or is there any other extension to stop spam mails ? Or any extension which only allows mails from specific domains ?

                xasharma In my experience the Recaptcha extension works much better than this or the stopforumspam extension. You can set the recaptcha to be silent so no user input is required. The only caveat I am aware of is i believe its 10,000 uses per year iirc are free, rather than 100k before the start of the year.

                  Lumeinshin My spam users are not bots, they are real and spam promotes their thing by replying to reach discussion.

                  xasharma which domain names were used? Have you checked whether they are on the list used by this extension? Can you share your php flarum info so we can see which version of the extension is used and which other extensions you have that might cause a conflict?

                  EDIT: this should be the latest version of the list pulled by the extension FGRibreau/mailcheckerblob/v4.1.19/list.txt I notice the library released 2 new major versions since 2022 which are not used by the FoF extension, so any new domain added since 2022 is currently not included. I don't know whether updating to v6 of the email list is possible without major re-writing.

                    clarkwinkelmann There is an extension name Email Whitelist but no screenshots are given that it will be used like that .... is that an extension in which we can enter specific domains like "gmail.com" "outlook.com" that can register ?

                    My PHP flarum info -

                    Flarum core: 1.8.1
                    PHP version: 8.2.17
                    MySQL version: 10.3.39-MariaDB
                    Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, readline, Reflection, SPL, session, standard, bcmath, bz2, calendar, ctype, curl, dba, dom, enchant, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, imap, intl, ldap, exif, mysqlnd, odbc, PDO, pgsql, Phar, posix, pspell, shmop, SimpleXML, snmp, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, xmlreader, memcached, igbinary, redis, Zend OPcache
                    +------------------------------------------+---------+--------+
                    | Flarum Extensions                        |         |        |
                    +------------------------------------------+---------+--------+
                    | ID                                       | Version | Commit |
                    +------------------------------------------+---------+--------+
                    | flarum-flags                             | v1.8.0  |        |
                    | flarum-tags                              | v1.8.0  |        |
                    | flarum-sticky                            | v1.8.0  |        |
                    | flarum-suspend                           | v1.8.0  |        |
                    | flarum-approval                          | v1.8.0  |        |
                    | michaelbelgium-discussion-views          | v7.2.1  |        |
                    | flarum-markdown                          | v1.8.0  |        |
                    | v17development-user-badges               | v1.1.0  |        |
                    | v17development-seo                       | v1.8.0  |        |
                    | the-turk-stickiest                       | 3.0.1   |        |
                    | the-turk-diff                            | 1.1.2   |        |
                    | sycho-profile-cover                      | v1.3.5  |        |
                    | ramesh-dada-increase-title               | 1.0.0   |        |
                    | ramesh-dada-bbcode-alerts                | 6.21    |        |
                    | nearata-copy-code-to-clipboard           | v2.2.0  |        |
                    | migratetoflarum-canonical                | 1.0.0   |        |
                    | justoverclock-contactme                  | 0.2.3   |        |
                    | ianm-no-meta-title                       | 1.1.0   |        |
                    | ianm-html-head                           | 1.1.0   |        |
                    | fof-username-request                     | 1.1.2   |        |
                    | fof-user-bio                             | 1.2.2   |        |
                    | fof-upload                               | 1.3.4   |        |
                    | fof-terms                                | 1.2.1   |        |
                    | fof-subscribed                           | 1.1.3   |        |
                    | fof-spamblock                            | 1.1.0   |        |
                    | fof-sitemap                              | 2.2.0   |        |
                    | fof-polls                                | 2.1.1   |        |
                    | fof-oauth                                | 1.4.4   |        |
                    | fof-nightmode                            | 1.5.3   |        |
                    | fof-links                                | 1.2.0   |        |
                    | fof-geoip                                | 1.2.0   |        |
                    | fof-formatting                           | 1.0.3   |        |
                    | fof-disposable-emails                    | 1.0.0   |        |
                    | fof-default-user-preferences             | 1.2.0   |        |
                    | fof-default-group                        | 1.1.1   |        |
                    | fof-byobu                                | 1.3.2   |        |
                    | fof-best-answer                          | 1.3.1   |        |
                    | fof-ban-ips                              | 1.0.3   |        |
                    | fof-analytics                            | 1.1.0   |        |
                    | flarumtr-mobile-search                   | v1.2    |        |
                    | flarum-statistics                        | v1.8.0  |        |
                    | flarum-mentions                          | v1.8.3  |        |
                    | flarum-lock                              | v1.8.0  |        |
                    | flarum-likes                             | v1.8.0  |        |
                    | flarum-lang-english                      | v1.8.0  |        |
                    | flarum-bbcode                            | v1.8.0  |        |
                    | davwheat-custom-sidenav-links            | 1.0.1   |        |
                    | davwheat-ads                             | 1.2.0   |        |
                    | clarkwinkelmann-post-permissions         | 1.0.0   |        |
                    | clarkwinkelmann-popular-discussion-badge | 1.1.1   |        |
                    | clarkwinkelmann-mass-actions             | 1.1.2   |        |
                    | clarkwinkelmann-emojionearea             | 1.0.0   |        |
                    | clarkwinkelmann-discussion-bookmarks     | 2.0.0   |        |
                    | clarkwinkelmann-author-change            | 1.0.3   |        |
                    | askvortsov-rich-text                     | v2.1.7  |        |
                    | askvortsov-moderator-warnings            | v0.6.3  |        |
                    | askvortsov-markdown-tables               | v1.2.1  |        |
                    +------------------------------------------+---------+--------+
                    Base URL: https://xyz.com
                    Installation path: /home/hacksnat/public_html
                    Queue driver: redis
                    Session driver: redis (Code override. Configured to file)
                    Scheduler status: Active
                    Mail driver: mail
                    Debug mode: off