Zimbra – Change max attachment size for email

Por: Dr. Delso Bonfante | May 6, 2013

Zimbra – Change max attachment size for email

While working with Zimbra, I figured out today that I needed to increase the attachment size limit of the message to send larger messages. The default attachment size limit is 10MB. Even if the attachment is a little less than 10MB, it won’t send quoting the same error that the maximum message size is crossing the limits.

1. Change user:

# su zimbra

2: Check size:

Maximum message Size
# zmprov gacf | grep zimbraMtaMaxMessageSize
zimbraMtaMaxMessageSize: 20480000

File upload size configuration
# zmprov gacf | grep zimbraFileUploadMaxSize
zimbraFileUploadMaxSize: 20480000

The current size is 20MB.

Now, we will change the maximum size.

10240000 = 10mb
20480000 = 20mb
30720000 = 30mb

3. Set new size:

Maximum message Size
# zmprov mcf zimbraMtaMaxMessageSize 30720000

File upload size configuration
# zmprov mcf zimbraFileUploadMaxSize 30720000

Finish, now the Maximum message Size and File upload size is 30MB.

Note: Usually it is not advisable to increase the size of message to very large quantities as it will slow down the server performance


LOREM

dluisi

🚀 Enthusiastic about the DevOps culture and focused on Open Source technologies, I am passionate about automation, with 20 years of experience as a SysAdmin, currently working as an SRE, always open to learning new technologies and procedures to improve every day more as a professional. 👀 I’m interested in Open Source projects (Linux, CNCF, GitOps and Tools) 📚 I’m currently increasing my skills on AWS, K8S, Python, Backstage and some automations tools like Argo (CD, Autopilot, Events, Rollouts and Workflows). 🌱 Goals: Increase my programming skills. 💞 I love old and good Rock and Roll, on weekends traveling on a Harley Davidson.