On 09/02/2022 16:53, Gary Aitken wrote:
Just got the message
  smtp; 552 5.3.4 Message size exceeds fixed limit
when attempting to receive a 7MB file:

$ postconf -d | grep size_limit
body_checks_size_limit = 51200
bounce_size_limit = 50000
header_size_limit = 102400
mailbox_size_limit = 51200000
message_size_limit = 10240000

$ postconf -n | grep size_limit
mailbox_size_limit = 0

$ grep mailbox_size_limit *.cf
main.cf:mailbox_size_limit = 0

log:
NOQUEUE: reject: MAIL from mail-pf1-xxxx.google.com[xxx.xxx.xxx.xxx]: 552 5.3.4 Message size exceeds fixed limit; from=<u...@domain.com> proto=ESMTP helo=<mail-pf1-xxxx.google.com> Feb  8 17:30:25 my-system postfix/smtpd[28640]: > mail-pf1-xxxx.google.com[209.85.210.180]: 552 5.3.4 Message size exceeds fixed limit

It appears the:
   actual mailbox_size_limit is unlimited
   actual message_size_limit is 10,240,000
     which is > 7MB

What am I missing, thoughts on how to fix?
Is your attachment file exactly 7MB or a bit bigger? Encoding as Base64 (to attach to an email) increases its size by c.37%. 10240000/1.37=7.13MB. Any attachment bigger than this will hit your message_size_limit.

Reply via email to