Set the max-age HTTP cache control header to this many seconds. Errors are never cached.
max-age
MailStore Server is one of the leading email archiving solutions for SMB.
For private use there is a free tool for email archiving furthermore: MailStore Home.