Thank you all and to Wietse Venema. You are right, the issue is with the client email system. When checked in their system, the email size is 17 MB and while exporting and saving that message, it becomes around 47 MB.
On Tue, 21 Jun 2022 at 20:00, Wietse Venema <wie...@porcupine.org> wrote: > > Burn Zero: > > Okay, But is there any difference between the error messages "NOQUEUE: > > reject: 552 5.3.4 Message size exceeds fixed limit" and "warning: > > queue file size limit exceeded" ? > > These happen at different points in time. > > After MAIL FROM:<address> SIZE=too-large-number: > > 5441 /* > 5442 * Check against file size limit. > 5443 */ > 5444 if (ENFORCING_SIZE_LIMIT(var_message_limit) && size > > var_message_li 5444 mit) { > 5445 (void) smtpd_check_reject(state, MAIL_ERROR_POLICY, > 5446 552, "5.3.4", > 5447 "Message size exceeds fixed limit"); > 5448 return (STR(error_text)); > > After DATA, before END-OF-DATA, at the point in timee when the limit > is exceeded, this is logged only: > > 3582 if (ENFORCING_SIZE_LIMIT(var_message_limit) > 3583 && var_message_limit - state->act_size < len + 2) { > 3584 state->err = CLEANUP_STAT_SIZE; > 3585 msg_warn("%s: queue file size limit exceeded", > 3586 state->queue_id ? state->queue_id : > "NOQUEUE"); > > After END-OF-DATA: > > 3751 } else if ((state->err & CLEANUP_STAT_SIZE) != 0) { > 3752 state->error_mask |= MAIL_ERROR_BOUNCE; > 3753 detail = cleanup_stat_detail(CLEANUP_STAT_SIZE); > 3754 smtpd_chat_reply(state, "%d %s Error: %s", > 3755 detail->smtp, detail->dsn, detail->text); > > Which would result in "552 5.3.4 Error: message file too big". > > Wietse