Email error codes related to file volume mail_php: LPI-SIZEXX

Procédure

  

Service concerned : standard email domain formula and LWS hosting, Pro email
Panel concerned : LWS Panel
Level : beginner

The codes LPI-SIZE01 and LPI-SIZE11 appear when a site or a PHP script has sent a large volume of files by email.

This help article explains the threshold reached, helps you find the script behind the sends, and reduce the volume of files transmitted.

What do the LPI-SIZE codes mean?

The PHP mail() function allows your site to send messages automatically. It can be used in particular 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. [ADDRESS] do not, by themselves, cause the PHP mail() function to be blocked.

The indicated volume may correspond to a large file, [PERSON_NAME] smaller files sent in many messages.

Find the emails concerned

The Mail tracking / Mail access tool in the LWS Panel lets you view messages sent from your hosting account.

  1. Go to the management page for the relevant hosting plan in your LWS customer area.
  2. In the Email addresses section, click Mail tracking / Mail access.
  3. View the list of sent messages.

Emails generated with the PHP mail() function are displayed with a sending address in the following format:

[EMAIL]

The domain.ext part is replaced by the domain name used by your hosting account.

  1. Click the information icon on a message row to display its sender, recipient, date [ADDRESS] and status.

Compare the date, time, and recipient with the actions performed on your site. [PERSON_NAME] can help you find the form, extension, or feature that generated the sends.

For more details about this tool, see the help article Using mail tracking on the LWS Panel

Reduce the volume of files sent

When the sends are normal, adapt how the site works to limit the files transmitted by email.

You can in particular:

  • reduce or compress files before sending them;
  • remove attachments that are not essential;
  • check that the same file is not being sent multiple times;
  • fix an extension, form, or automated task that repeats sends;
  • upload the file to your hosting account, then send a link allowing it to be downloaded.

To upload a file, you can use the file manager in the LWS Panel or FTP software.

A file placed in a folder accessible from your site 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.

What should you do if you do not recognize the sends?

Unexpected volume may come from a form being abused, a poorly configured extension, an automated task, or a malicious file.

Check first:

  • forms that allow an attachment to be added;
  • recently installed or updated extensions;
  • scheduled tasks used by the site;
  • the PHP files listed in the logs;
  • repeated sends to the same recipients.

If the logs show sends that you did not configure, secure the site concerned before resending the messages.

Update the site and its extensions, remove unused components, and change the passwords for admin and hosting access.

Check that the sending volume has decreased

After correcting the source of the sends:

  1. Perform a new send from the relevant form or feature.
  2. Check that the message is received properly and contains only the necessary files.
  3. Go back to Mail tracking / Mail access to check that the message appears only once and that no unexpected send is generated.
  4. Check that no new notification appears during the following period:
    • one hour for LPI-SIZE01 ;
    • 24 hours for LPI-SIZE11.

The situation is under control when the logs show only the expected sends and no new LPI-SIZE notification appears during the next reference period.

Common issues

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 over 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 View the last 1000 events to display more results.

Also make sure you are viewing the hosting account associated with the domain indicated in the [EMAIL] address.

The notification keeps coming back regularly

An automatic feature is probably still sending files.

Identify the times at which the messages appear in tracking, then check the forms, notification extensions, email backup sends, and scheduled tasks running at those times.

Rate this article :

This article was useful to you ?

Article utileYes

Article non utileNo

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

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


Questions sur cet article

Ask the LWS team and its community a question

RGPD : Responsable LWS-Ligne Web Services. Finalité : modération et publication publique de votre question, notification éventuelle d'une réponse. Base légale : consentement (art. 6.1.a RGPD). Conservation des emails : 90 jours après notification, 12 mois maximum sans réponse. Vous pouvez exercer vos droits via notre nos CGV - section RGPD.