Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When sending attachments, SnappyMail incorrectly calculates the maximum size and returns an error. #1840

Closed
lvarnava opened this issue Nov 9, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@lvarnava
Copy link

lvarnava commented Nov 9, 2024

Nextcloud 27-29
Debian 12
Browser Chrome
Posfix 3.7.11
Dovecot 2.3.19
SnappyMail 2.38.2

I send 21 MB, mail server limit is 30 MB.

The result is on the screenshot.

postfix main.cf:

message_size_limit = 31457280
mailbox_size_limit = 0
virtual_mailbox_limit = 0

Nginx: client_max_body_size 5120M;
PHP: upload_max_filesize = 5G

Screen_shot2

Screen_shot

@the-djmaze the-djmaze added the external Issue is outside our code label Nov 11, 2024
@the-djmaze
Copy link
Owner

the-djmaze commented Nov 11, 2024

31457280 is reported by SMTP SIZE, as set by your Postfix setup.

40153212 is due to the fact that attachments are converted from binary to base64.
Base64 has a 33–37% overhead.
Including all other converted code this results in a message of 40MB

@the-djmaze the-djmaze closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
@the-djmaze the-djmaze added documentation Improvements or additions to documentation and removed external Issue is outside our code labels Nov 11, 2024
@lvarnava
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants