Support

Admin Tools

#23751 How to block email domain

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Wednesday, 23 December 2015 17:20 CST

atolli
 I am trying to figure out how to block email domains. I get a lot of registrations from Russia and Poland. How can I do a wildcard on mail.ru or other domains used by spammers/hackers? Thank you.

dlb
The easiest way would be to use the GeoIP block feature. It blocks IP addresses that are registered to a particular country or region. Note that you need to install the plugin from our website if you haven't already. The country registrations are provided by a third party service. It is about 90% accurate, so you will still get Russian IPs that the service thinks are in a different country.

This works well if it is a script trying to register. It doesn't work so well against humans. A human will just log into a proxy server in an allowed country and continue on his or her merry way. Also note that if you have any legitimate Russian visitors, this is not an appropriate solution.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

atolli
Have Geoblock on with all these countries as not valid, but that does not seem to work all the time. I use regular Joomla Registration. But Admin Tools allows emails to be blocked as well, but how does one block an email domain?

dlb
The email domains are under Web Application Firewall, Configure WAF, on the Joomla! Feature Hardening Options tab, in the bottom field enter one domain per line.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

atolli
Dale I understand but I like to block for instance *@mail.ru but i do not know nor can find syntax needed for that. So not just complete email address but wildcard. Thanks

dlb
The wildcard you want is to black all users, right? You would simply enter the domain in the field, mail.ru. That blocks all users from that domain.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

atolli
I have mail.ru in my list, but still entries come through how is this possible then?

dlb
This is what Nicholas suggested:
Admin Tools only blocks registrations done through Joomla! itself.

If you are registering a user through a third party extension such as Community Builder, JomSocial or Akeeba Subscriptions the protection does not apply.

In fact, it cannot work as we can neither hook into 3PD code nor does Joomla! let us hook on user record creation and ​prevent​ it from happening.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

atolli
I use Joomla Registration on this site. So what am I doing wrong I wonder.

dlb
I don't hear anything that you're doing wrong. I'll have to get with Nicholas again. I don't expect to be able to talk to him before Monday. I'll let you know what I find out.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

tampe125
Akeeba Staff
Hello Abraham,

I just tested the feature and it's correctly working.
Could you please paste the contents of the domain list? Please remember that you should put them on per line, containing only the domain part, for example
mail.ru
gmail.com
yahoo.com

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!