Large Scan to Email jobs fail
Last updated June 13, 2024
āHelp! Iām a PaperCut administrator and Iām seeing the message āMessage size exceeds fixed maximum message sizeā or āScan job exceeded max sizeā in the Application log whenever users try to scan a large document with a āScan to Emailā action. Why does this happen and how can we fix this?ā
Is the bottleneck PaperCut MF or my email provider?
There are two different error messages that you might see:
- If you see āScan job exceeded max sizeā, this job was rejected by PaperCut. Follow the steps in the section below to manage the threshold for email attachments in PaperCut.
- If you see āMessage size exceeds fixed maximum message sizeā, this job was rejected by the email system. Contact your email administrator to increase this amount or look at the other scanning options mentioned in this article.
āScan job exceeded max sizeā
In the Application Log you may see the error: āScan job exceeded max sizeā. This error will be present if the PaperCut server is blocking the scan job. Users may also receive an email that says āYour scanned document is too bigā¦ā.
Why would PaperCut block the scan job? Most email systems have a maximum allowed attachment size of 20MB. By default PaperCut will block any scan larger that 20MB to prevent it from being rejected by the email system.
To resolve this, find out what the maximum attachment size limit on your email system is. Then open the Advanced Config Editor and search for the key system.scan.email-max-job-size-kb
. The default value is 20480 KB, but you can increase this to match the maximum allowed attachment size on your email system. If a user scans a document that exceeds this threshold they will receive an email notification from the PaperCut server via email to let the user know:
Your scanned document is too big: %files% You can try reducing the scanned document size by using a lower resolution, or switching color mode to grayscale or black and white. Alternatively, you can try splitting your job.If you need to send a larger scanned document, please contact your system administrator.
Note that the above message can be customized by editing the advanced config key notify.scan-max-job-size-exceeded.message
.
āMessage size exceeds fixed maximum message sizeā
Here is the full error message:
Delivering scan images for scan job jobId@adea2b25ā64af-4a38-ad7a-682b00b843d9:scanAction@1001:task@0 failed with an error: Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 552 4.3.1 Message size exceeds fixed maximum message size . See more details in the server log.
When this happens, the user may receive an email message that says something like āThere seems to be a problem sending your scanned documentā¦ If this persists, please contact your system administrator.ā
So what does this mean? This SMTP error code (sometimes ā552 4.3.1ā or ā552 5.3.4ā, followed by āMessage size exceeds fixed maximum message sizeā) is coming from your email provider. It means the PaperCut MF server attempted to send the scan to the userās email address, but the email server rejected it because the attachment was too big.
There are a few ways to make this happen less frequently:
- You can increase the maximum attachment size limit on your email system.
- Change the settings of the scan action so the default DPI is lower and the color type is grayscale.
- See different options for compressing scan jobs here: Scanning with PaperCut - best practices for compression to lower the size of the file.
- Or if users regularly need to scan very large documents, you could configure a āScan to Folderā or āScan to Cloud Storageā action instead as these wonāt have the same limitation as email delivery.
Still have questions?
Let us know! We love chatting about whatās going on under the hood. Feel free to leave a comment below or visit our Support Portal for further assistance.
Categories: Troubleshooting Articles , Integrated Scanning
Comments