yggmail icon indicating copy to clipboard operation
yggmail copied to clipboard

Allow to configure maximum email size

Open adbenitez opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. I can't send attachments bigger than 1MB, currently the server can only be used for text message and small files.

Describe the solution you'd like Make maximum email size configurable via CLI option, ex. -maxsize or so. Also 1MB is too small in modern times, usually email servers allow 25-50MB, not to say this is a server you probably self-host for yourself, so would be good to set 50MB as default limit, or even "no limit" by default.

Describe alternatives you've considered Changing the hard-coded value and compiling a custom yggmail :)

Additional context I am using yggmail with Delta Chat, where it is easy to send animated stickers, gifs and other files, as well as recording voice messages and videos, 1MB is too low

adbenitez avatar Jul 20 '21 04:07 adbenitez

@neilalexander I would be interested in helping with this feature, especially for the multicast-only use-case. Is there a particular reason why app only supports 1MB messages? Just increasing the hard-coded limit, or setting it to 0 (unlimited) seems not solve completely this issue. Sending larger messages just results in failing TCP connections, however I couldn't yet figure out exactly why. If you have any pointers or background info, it would be awesome if you could share them.

cyBerta avatar Feb 22 '22 00:02 cyBerta