Support

Admin Tools

#42212 "Do not send email notifications for these reasons" not working

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
5.3.3
PHP version
8.4.10
Admin Tools version
7.8.1

Latest post by confidant on Tuesday, 26 August 2025 14:39 CDT

confidant

In the Logging & Reporting tab for the Web Application Firewall, I have entered "404shield" in the "Do not send email notifications for these reasons" field. However I am still receiving many emails for that reason, e.g. "Last Blocked Request Reason: 404shield" in the message. What am I missing?

nicholas
Akeeba Staff
Manager

It does work, but there might have been queued emails in your mail server from earlier. Some mail servers won't deliver hundreds of emails to the same address all at once; they will rate-limit them. So even though no new emails are generated, the old ones are still being sent.

Alternatively, you may be receiving email for other block reasons. Check what the email says.

Ideally, you need to disable those emails altogether. These are only meant for two use cases: 1. you are doing the initial set up of Admin Tools on your site and you need to unblock yourself as you're working through it; and 2. you are trying to troubleshoot something. In regular operating conditions you are meant to disable those emails.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

confidant

I received an email today at 18:26 UTC:

We would like to notify you that the IP address 52.176.111.98 will be temporarily blocked from accessing your site, XXXXX. Please find additional details below.

IP Address: 52.176.111.98 (IP Lookup: https://whatismyipaddress.com/ip/52.176.111.98)
Last Blocked Request Reason: 404shield
Blocked until: 2025-08-25 18:51:36

It has a corresponding entry in the Blocked Request Log:

Sort Table By: Target URL Select 393 2025-08-25 18:26:36 UTC  

  52.176.111.98 404 Shield https://XXXXX.net/wp-admin/css/colors/blue/index.php

 

So, this doesn't seem to be a queued email.

Perhaps the settings in the Logging & Reporting tab does not override the setting in the Auto-ban tab for "Email this address after an automatic IP ban" ? I have my email address entered there. I am interested in knowing about banned addresses, just not the 404shield variety.

nicholas
Akeeba Staff
Manager

I am sorry, but I cannot reproduce your issue with the Admin Tools, Joomla, and PHP version you specified.

I have tried triggering 404Shield and I am getting the expected results depending on whether the offender's IP is in the "Never block these IPs" list, and whether 404Shield is added to the "Do not send email notifications for these reasons" field:

  • IP is added (regardless of do not email for the reasons): nothing is logged, no email is generated. Expected, because you have told Admin Tools to not block this IP. Therefore, nothing is logged for this IP. As a result, no email is generated (since emails are a result of logging a blocked request).
  • IP not added, 404Shield added: you DO NOT get an email, but a blocked request IS logged. This is expected, as you told Admin Tools to not email you about this kind of blocked request.
  • IP not added, 404Shield not added: you DO get an email, and a blocked request IS logged. This is expected; it's the default behaviour.

The only thing I can possibly think you might be doing wrong is getting an email from a different site, or an older version of this site on a previous host. In any case, there is no bug in our code, therefore I can't be of any more help.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

confidant

Thanks for trying. Since the problem persists, I am now trying it with removing my email address from "Email this address after an automatic IP ban". I'll report back if that helps. 

nicholas
Akeeba Staff
Manager

Oh, now I understand what you mean.

The "Do not send email notifications for these reasons" only applies to "Email this address on blocked request". It DOES NOT apply to "Email this address after an automatic IP ban".

If you put your email address in "Email this address after an automatic IP ban" you will receive an email for every IP address that gets blocked regardless of what was the reason of its last blocked request which triggered the ban. 

Do remember that the IP auto-ban feature works against all blocked requests. The reason you see is the reason of the last blocked request. It does not mean that this IP address only got requests blocked for this reason, nor does it mean that we process blocked requests per reason.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

confidant

Great, glad we are on the same page. Sounds like this will work.

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!