I want to increase Atmail performance.
- On-Premise Server + WebMail Installations: Version 6.0 > Current Version
- Webmail Only Installations: Version 6.0 > Current Version
With Apache, you can use the mod_expires and mod_deflate modules to gain a performance boost. The mod_expires module provides caching, while the mod_deflate module compresses downloadable items to decrease bandwidth usage.
Before following this guide, make sure that mod_gzip and mod_expires are enabled for your Apache server. Most base installations of Apache 2.2 and higher are likely to have these by default.
Open up your Apache configuration file. Then, download the configuration file from: here.
% wget "https://help.atmail.com/hc/en-us/article_attachments/200429204/expires-config.txt"
Add the contents of this file to the bottom of your Apache configuration file.
You may use a different Document Root for your Atmail installation; in implementations where you are using the WebMail Client only version, this is usually the case. If this is so, you will need to modify the Directory declarations to suit your Apache root. The config file has the following line that you need to change:
Change to your Atmail document root. An installation that uses /var/www/html/atmail/webmail would have the following:
Save changes, and restart Apache.