Mail failure - rejected by local scanning code
Hi,
A couple of days ago my website went on and offline over several hours and occasionally I got a 502 Bad Gateway notification. I raised a support ticket with my hosting provider and they said they were experiencing some temporary networking issues. After the website was back online, I then discovered yesterday that none of the email triggers were working across the site and each time I would get an email with the following:
Mail failure - rejected by local scanning code
A message that you sent was rejected by the local scanning code that
checks incoming messages on this system. The following error was given:
local configuration problem
I contacted my hosting provider for support and they said there were no issues with sending mail and created a short script on my site for me to test, which worked, so they concluded that the script on my site needs checking.
I have checked the WA_Email.php file on the server (v1.15) and this is different to my local file (v1.20)
Could this be the issue? I'm nervous about updating this file without checking with you first since I can't understand how things were working a few days ago and now they have stopped working.
Your help would be much appreciated.
Kind regards,
Thomas
P.S. Files attached