Get your free beta license ↗
Mail · Postfix

Large messages are refused

Last updated 30 Nov 2026
Summary

A large message is refused with 552 5.3.4 Message size exceeds fixed limit. Postfix accepts messages up to 50 MB by default, and you can raise the limit with one setting.

Symptoms

The sender gets this rejection.

Output
552 5.3.4 Message size exceeds fixed limit

Cause

UrbeStack's mail.max_message_mb setting gives the largest message Postfix accepts, in MB. It defaults to 50. UrbeStack writes the limit in bytes to Postfix's message_size_limit setting.

An attachment grows by about a third when it is sent, so a 40 MB file makes a message of about 54 MB.

Resolution

  1. Raise the limit to 100 MB.

    urbestack-setting-set --key mail.max_message_mb --value 100
  2. Check the limit Postfix is using.

    postconf message_size_limit
  3. With a 100 MB limit, the command prints the following.

    Output
    message_size_limit = 104857600
  4. Other domains' receiving servers enforce their own limits.