Procédure
Service concerned : standard email domain and hosting package LWS, Pro email
Concerned panel : LWS Panel
Level : beginner
The codes LPI-SIZE01 and LPI-SIZE11 appear when a website or a PHP script has sent a large volume of files by email.
This help will allow you to understand the threshold reached, find the script behind the sending, and reduce the volume of files transmitted.
The PHP function mail() allows your website to send messages automatically. It can be used by a contact form, an online store, an extension, or a scheduled task.
The LPI-SIZE codes concern the total volume of files transmitted in these messages during a given period.
| Code | Observed file volume | Reference period | Blocking |
|---|---|---|---|
LPI-SIZE01 |
More than 250 MB | 1 hour | None |
LPI-SIZE11 |
More than 2,500 MB | 24 hours | None |
These thresholds correspond to the two notifications previously presented separately in the help articles LPI-SIZE01 and LPI-SIZE11.
These codes are volume notifications. They do not, by themselves, block the PHP function mail().
The indicated volume may correspond to a large file, but also to several smaller files sent in many messages.
The Mail tracking / Mail access tool in the LWS Panel lets you view messages sent from your hosting account.
Emails generated with the PHP function mail() are displayed with a sending address in the following form:
mail_php@domain.extThe domain.ext part is replaced by the domain name used by your hosting account.
Compare the date, time, and recipient with the actions performed on your website. This can help you find the form, extension, or feature that generated the sending.
For more details about this tool, see the help article Using mail tracking on the LWS Panel
When sending is normal, adapt the website’s behavior to limit the files sent by email.
In particular, you can:
To upload a file, you can use the LWS Panel file manager or FTP software.
A file placed in a folder accessible from your website can be viewed by anyone who has its link.
Do not use this method without protection for a confidential document. Also delete the file when it is no longer needed.
Unexpected volume may come from a form being abused, a misconfigured extension, an automatic task, or a malicious file.
Check first:
If the logs show sending that you did not configure, secure the relevant website before resending messages.
Update the website and its extensions, remove unused components, and change the administrator and hosting access passwords.
After correcting the source of the sending:
LPI-SIZE01 ;LPI-SIZE11.The situation is under control when the logs show only the expected sending and no new LPI-SIZE notification appears during the next reference period.
I did not send any file of 250 MB or 2,500 MB
The threshold does not necessarily correspond to a single file. It takes into account the total volume sent during one hour or 24 hours.
For example, a 10 MB file sent 25 times already represents a cumulative volume of 250 MB.
I cannot find the messages in mail tracking
By default, the tool displays the last 100 events or those from the last 10 days. Click See the last 1000 events to display more results.
Also make sure you are viewing the hosting account associated with the domain indicated in the address mail_php@domain.ext.
The notification returns regularly
An automatic feature is probably still sending files.
Identify the times when messages appear in the tracking tool, then check the forms, notification extensions, email backups, and scheduled tasks running at those times.
Ask the LWS team and the community. Answers are published after moderation.