Can I establish a restriction on attachment size? Additionally, I would like to automatically reject emails that do not meet the attachment size limit criteria.
Hey there @kindhearted-deer, thanks for posting. To ensure the fastest resolution to your issue, please review the following and follow all the steps:
Why limit attachment size? If the remote server has a limit they will send a bounce.
start_esmtp_listener - KumoMTA Docs can be used to limit the overall message size
Hi @yearning-hyena @free-spirited-yorksh I need to restrict attachment . My use case to block attachments used emails while senting emails
So now instead of limiting size you want to block them completely?
yes. i need to block attachment used emails.
Is it acceptable to restrict max_message_size to a reasonable text size? like 10k?
What is your desired result if a user does indeed inject a message with an attachment? Do you want the attachment stripped out, or should the message be rejected? or … ?
@kindhearted-deer did you resolve this question?