Choose your language

Choose your login

Support

Large Scan to Email jobs fail

THE PAGE APPLIES TO:

“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

Last updated June 13, 2024