Hello @rinthm and thanks for reaching out.
If you are locked out and not receiving unlock emails but can’t wait for lockout time to expire and need immediate site access, please use FTP/SFTP — or any file manager your web host provides via their administration panel. Look inside the /wp-content/plugins/ directory and rename the wordfence directory. Once you have logged in to your WordPress admin you can name the folder back again and change the setting that caused you to be locked out.
Just so you are aware, the unlock emails actually come from your website and not our servers. If you aren’t getting emails it usually boils down to one of a few errors.
- The emails (they come from [email protected]) are getting sent to your junk mail folder by your email client or provider. Make sure and whitelist or add your website to the list of safe domains so you get emails consistently.
- Your web server is having a problem with the email software on it. This isn’t like regular emails you send and receive, but rather server alert messages. Usually, a restart of postfix or sendmail (whichever is installed) can fix it. Your hosting provider may need to help with this.
- Your hosting provider has disabled SMTP from the server for some reason like preventing the server from being used to spam people.
As for the constantly being locked out, have you tried to watch your Live Traffic to see exactly what is causing the block? Is there any particular action you are performing when the block occurs? You could also attempt to put the Firewall into Learning Mode.
From the Wordfence Dashboard click on Manage WAF. Then you will see Basic Firewall Options > Web Application Firewall Status. Change the option to Learning Mode. Now perform the actions that were causing issues. This will help Wordfence learn that these actions are normal and it will allow them in the future. After you have finished performing the actions, switch the WAF from Learning Mode back to Enabled and Protecting. Now test to see if these actions work correctly.
https://www.wordfence.com/help/firewall/learning-mode/ is an amazing resource for learning more about the WAF and learning mode.
Let me know if any of this helped!
Thanks!