On 8/28/08 11:25 AM, Wietse Venema wrote:
Rob Tanner:
Hi,

We have a printer IP segment/VLAN which is only printers and these printers are also scanners, and they email the scan back to the user. Since the scan outputs frequently exceed the configured message_size_limit of 7.5MB, in master.cf I configured a non-standard port (2526) that is restricted to the printer segment and sets to message_size_limit back to the default of 10240000.

So, this changes the size limit as reported by the Postfix SMTP
server. As of a few releases ago, the SMTP server will also enforce
the size limit, to avoid wasting resources sending too large mail
to a before-queue content filter.

Now, when I send an oversize message (6.2MB, not even that large), I no longer get the message telling me that I have exceeded the 7.5MB message size limit (6.2MB, when BASE64 encoded will more than exceed the message_size_limit being bypassed), but instead, I am getting the message from cleanup: "queue file size limit exceeded".

Indeed. The cleanup server implements the message size limit.  In
early Postfix days, this was the only place where the message size
limit was enforced.

Aug 28 08:45:04 neskowin postfix/cleanup[14971]: warning: E6F3B580F3: queue 
file size limit exceeded

I did a bit of googling, and all I found was to check the amount of free space left in the queue and whether the message size exceeds queue_minfree.

The message says that the queue file exceeds the size limit.

The message has nothing to do with free disk space.

        Wietse

Thanks. I defined an alternate cleanup_service_name and set the larger message_size_limit and by golly gosh, it all works now.

-- Rob

Reply via email to