• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Maximum Email Message size is always resetted back to 10000 after each update

ATU-V4D

New Pleskian
Hello Forum,

I have the following problem:
Under Settings/Mailserver Setttings/ Maximum Message Size (I hope the path is correct, I have the german version and translated this path) I entered a new maximum email message size of 100000 instead of 10000 (default).
After each plesk update, this value is resetted to 10000 again, which is very annoying for me and the customers.

How can I change this value permanently so that it survives a plesk update?

Thanks for your help!

Alex
 
Usually Mail setting should be reconfigured with mchk utility after applying fixes for mailserver from microupdate. Really, it is known problem and we are working on it. As possible workaround you may use Event Manager for "Update installed" event with command like

/usr/local/psa/admin/bin/mailmng --set-max-letter-size --size=<size_in_bytes>
 
According to output of --help option it should be size in bytes.
 
Well. We have reproduced this issue after starting mchk. But note that update installation causes mchk very rarely. Make sure that case described by you is occurs after mchk utility run.
I have submitted report (#1637184 for your reference) to developers and will update this thread with results as soon as I receive them.
 
Hello Alex,
If there is any package update available mail_restore utility called at microupdate installation. The utility rewrites message_size_limit value if it's greater than the mailbox_size_limit value (as inconsistent state). But when you set message_size_limit value from then Panel the mailbox_size_limit value will not be changed - this behaviour will be fixed in the future releases.
As temporary workaround you can do following:
1. set needed value for Maximum message size from the Plesk.
2. then get value in the config:
Code:
# grep message_size_limit /etc/postfix/main.cf
message_size_limit = 1023998976
3. edit /etc/postfix/main.cf and set mailbox_size_limit value greater then the message_size_limit:
Code:
# egrep "mailbox_size_limit|message_size_limit" /etc/postfix/main.cf
mailbox_size_limit = 102399897600
message_size_limit = 1023998976
 
Last edited:
Back
Top