Problem Description
Server running AlmaLinux, CyberPanel, Postfix, and Dovecot.
The pre-installed webmail (SnappyMail) does not allow sending attachments larger than 2 MB, even though:
postconf message_size_limit
is set to 30 MB (also tested with 50 MB).- PHP settings
upload_max_filesize
andpost_max_size
have been increased correctly. - OpenLiteSpeed Max Request Body Size has been raised.
Despite these adjustments, the effective attachment limit in the webmail remains 2 MB.
Impact
Users cannot send emails with attachments larger than 2 MB from SnappyMail, even though the entire mail and web server stack accepts larger sizes.
Support Request
Please advise what exactly needs to be checked and in which configuration files or locations to resolve this attachment-size limit in SnappyMail.
It would also be helpful to know if CyberPanel or its SnappyMail integration sets a default 2 MB limit and how to modify it permanently.
Environment
- Operating System: AlmaLinux
- Web Server: OpenLiteSpeed (standard CyberPanel installation)
- MTA: Postfix
- IMAP: Dovecot
- Webmail: SnappyMail (default installation included with CyberPanel)