I'm getting an error message sent to my admin email address:
ADMIN = ['admin.error.email.here@domain.com'] email address.
This error message occurs at a constant rate of around two per minute.
I want to stop all error messages sent to my admin email that are HTTP_HOST errors, but at the same time still receive 500 error messages. I looked at the documentation and couldn't find any help. I searched on Stack Overflow and only found changing nginx 80 port server config file to contain a header error to a 444 error, so to bypass the 500 error report. However, this didn't work.
Is there any setting.py
variable for excluding certain errors? Time is of the essence - like I said, 2 damn emails per minute from some asshole that is desperate to scrape data. It's not a security risk but it is annoying and consuming my monthly email limit from my email host.
Thanks for any help.