• iyadmn

    (@iyadmn)


    Hi

    I have a job set up that backs me up and sends it to me via email and uploads it to the FTP to a specific folder.
    In the log it indicates the following problem with the sending of the backup to the mail:

    [03-Mar-2018 14:56:49] Comprimiendo archivos como ZipArchive. Por favor se paciente, esto puede llevar un rato.
    [03-Mar-2018 14:56:57] Creado fichero de respaldo.

    [03-Mar-2018 14:56:57] Tama?o de archivo es 7,45 MB. <— TOTAL SIZE ZIP FILE SEND TO EMAIL AND UPLOAD TO FTP
    [03-Mar-2018 14:56:57] 9 ficheros con 95,16 MB en Archivo <— ALL FILES WITHOUT COMPRESSION (I THINK YOU ARE USING THIS WRONG FOR SOME CONDITIONAL JUDGMENT WHEN SENDING THE MAIL)

    [03-Mar-2018 14:56:58] 1. Intentando enviar la copia de seguridad por correo electrónico …
    [03-Mar-2018 14:56:58] Enviando correo electrónico a [email protected]
    [03-Mar-2018 14:56:59] ERROR: Swift Mailer: Expected response code 250 but got code “552”, with message “552 5.3.4 Error: message file too big ”
    [03-Mar-2018 14:56:59] ERROR: ?Error al enviar el correo electrónico!

    [03-Mar-2018 14:56:59] 2. Intentando enviar la copia de seguridad por correo electrónico …
    [03-Mar-2018 14:56:59] Enviando correo electrónico a [email protected]
    [03-Mar-2018 14:57:00] ERROR: Swift Mailer: Expected response code 250 but got code “552”, with message “552 5.3.4 Error: message file too big ”
    [03-Mar-2018 14:57:00] ERROR: ?Error al enviar el correo electrónico!
    [03-Mar-2018 14:57:00] 3. Intentando enviar la copia de seguridad por correo electrónico …
    [03-Mar-2018 14:57:00] Enviando correo electrónico a [email protected]
    [03-Mar-2018 14:57:02] ERROR: Swift Mailer: Expected response code 250 but got code “552”, with message “552 5.3.4 Error: message file too big ”
    [03-Mar-2018 14:57:02] ERROR: ?Error al enviar el correo electrónico!
    [03-Mar-2018 14:57:04] ERROR: Etapa abortada: demasiados intentos !


    [03-Mar-2018 14:57:04] Respaldo enviado a servidor FTP: /Backups/Diario/Backup_FeC_Diario-03-03-2018-14-56-23_YLHS76GN02.zip
    [03-Mar-2018 14:57:04] Un fichero eliminado de servidor FTP
    [03-Mar-2018 14:57:04] Borrado un log antiguo
    [03-Mar-2018 14:57:04] ERROR: Job mit Fehlern beendet in 41 Sekunden. Sie müssen die Fehler für eine korrekte Ausführung beheben.

    The Swift Mailer Code 552 5.3.4 Error is for:

    552 5.3.4 Message size exceeds fixed limit
    552 5.3.4 Message size exceeds fixed maximum message size
    552 5.3.4 message size limit exceeded at MAIL FROM
    552 Backend Replied [mxlogic.net]: 5.3.4 Message size exceeds fixed maximum

    The backup does not reach the mail but if it is stored correctly in the FTP. The file in the FTP occupies 7,46 MB.

    In My Plesk VPS in the Settings of Email Server:

    Maximum message size: 10000 KBytes = 10MB

    With this maximum message size of 10MB should let send the zip file (7,45MB) to the mail, but no, I get the error that I indicate. I think your plugin is using the total number of all uncompressed files (9 files with 95.16MB in File).

    If I change the Maximum message size to 100000 = 100MB

    The email arrives correctly with the backup file and that file occupies 7,46 MB = 7.823.842 bytes

    The logical thing is that the backup file is processed on the server, compressed, temporarily stored in a location and sent already compressed by mail, right?

    There is some step that is indicating that the total size of 95.16MB is what you have to send by mail, when the correct thing is that the total size to send by mail is 7.45MB (the backup file already compressed).

    Please, check this case and thx in advance

    • This topic was modified 7 years ago by iyadmn.
  • The topic ‘Swift Mailer: Expected response code 250 but got code “552”’ is closed to new replies.