I use postfix and courier on my email server on debian 11. Whenever I send an email with attachments larger than a few MB (I use a slow cellphone-connection), it fails on saving the copy in the Sent folder.
The email is successfully sent, only the copy fails. Smaller emails are copied into the Sent folder fine (I use only IMAP-ssl, in Thunderbird, on Ubuntu 22.04)
I have set
message_size_limit = 90000000
in postfix/main.cf
which works fine for just sending, which is SMTP. Copying into sent is IMAP, managed by courier but the email-size limit in postfix doesn't seem to affect IMAP settings for Courier