Rate this article :
4/5 | 1 opinion
This article was useful to you ?
Yes
No
Vous avez noté 0 étoile(s)
Sommaire
Procédure
Concerned service: mail_php function, shared web hosting LWS Panel
Concerned panel: LWS Panel
Level: intermediate
The LPI-RATE01 and LPI-RATE11 codes appear when a site sends a large number of emails using the PHP mail() function.
They can be triggered by particularly high normal activity, but also by a hijacked form, a poorly configured extension, or a compromised site. This help article lets you find the source of the sends and prevent the problem from happening again.
This help concerns emails sent directly by a site or a PHP script.
Are you using another sending service?
L-RATEXX codes.LPR-RATEXX codes.These two codes monitor emails sent with the PHP mail() function, also referred to as mail_php in LWS tools.
| Code | Detected volume | Reference period | Consequence |
|---|---|---|---|
LPI-RATE01 |
More than 480 emails | 1 [PERSON_NAME]> | Notification, without blocking |
LPI-RATE11 |
More than 4,800 emails | 24 hours | [PERSON_NAME] of mail_php for 1 hour |
The LPI-RATE01 code does not block email sending. It alerts you that a large volume has been detected.
The LPI-RATE11 code only blocks sends made by sites using the PHP mail() function for one hour. It does not block the receipt of your emails or the normal use of your email accounts.
The temporary block protects your hosting and the reputation of its sending servers. Waiting for it to end is not enough, however: you must look for the cause [PERSON_NAME] reproduise.
From your hosting management in the LWS Panel, open the Mail tracking tool.
Select a period corresponding to the time when the code was detected, then look for emails sent from your domain.
Messages coming from the PHP mail() function are identified with a technical sender in the form:
[EMAIL]
This sender is not a real email mailbox. It indicates that the message was generated directly by a site or script installed on your hosting.
[PERSON_NAME] notably:
[PERSON_NAME] then determine whether these sends correspond to expected activity on your site.
The emails may come from normal activity, for example:
When the volume is intentional, check that the site is not sending the same message multiple times. A misconfigured extension, an automatic task that runs too often, or a loop in a script can cause thousands of sends in a short time.
Reduce the frequency of notifications or fix the extension concerned. For regular sends, preferably configure authenticated SMTP sending or use a specialized service suitable for mass campaigns.
The PHP mail() function is mainly suitable for occasional messages from a site, such as a form confirmation. It is not suitable for mass sending newsletters or commercial campaigns.
Unknown sends may come from:
Start by updating your CMS, its extensions and its [PERSON_NAME]. Temporarily disable recently installed extensions or those that manage forms and notifications, then check [PERSON_NAME]>
If your site has a form, add anti-spam protection or a CAPTCHA. Also check that the form limits the number of submissions and does not allow the recipient address to be chosen freely.
[PERSON_NAME] then run a scan with the antivirus and anti-malware tool available in the LWS Panel.
Before modifying or deleting files, make sure you have a recent backup of your site.
Do not delete a file simply because its name seems unusual to you. Some files required for the site to function may have technical names.
If a compromise is confirmed, also change the passwords associated with the site:
Use different and sufficiently long passwords for each access.
The block associated with the LPI-RATE11 code lasts one hour.
[PERSON_NAME] to find and fix the source of the sends. Once the delay has ended, emails generated by PHP can again be [PERSON_NAME] overrun is detected.
Avoid immediately restarting a large send. Start by performing a single test.
After the block ends, send a test message from the relevant function: contact form, order, notification, or another site action.
Then open Mail tracking and check that:
[EMAIL];LPI-RATE11 code does not reappear.The fix is confirmed when a test email is sent normally and no new abnormal volume appears in mail tracking.
The LPI-RATE11 code reappears after one hour
[PERSON_NAME] [ADDRESS] cause of the sends is still present. Check the mail tracking again and inspect the forms, extensions, automatic tasks and files on the site.
If necessary, temporarily disable the sending function or extension responsible in order to stop the sends during diagnosis.
My form is still not sending any message
First check [PERSON_NAME]. [PERSON_NAME] then a single test and check its status in mail tracking.
If the message does not appear, the problem may come from the form or the script [PERSON_NAME]. If it appears with another error, see the help corresponding to the new code displayed.
[PERSON_NAME] site is responsible
When several sites are installed on the same hosting, compare the time and subject of the messages with the forms and notifications used on each site.
You can also temporarily disable sending functions on one site at a time in order to identify the one generating the messages.
I cannot identify the source of the sends
[ADDRESS] LWS support with the following information:
Rate this article :
4/5 | 1 opinion
This article was useful to you ?
Yes
No
1mn reading
[PERSON_NAME] on LWS email error codes
1mn reading
Error 553 sending email: Sender address rejected not logged in
2mn reading
Error 521 5.7.1: Too much spam from your email address
1mn reading
Error code L-MQS1