Increase the Total Number of Emails Allowed in the Spool

This article applies to recent versions of SmarterMail. View articles for SmarterMail 16.x and earlier.
By default, SmarterMail allows 50,000 emails in the spool at one time. However, in very high volume email environments, email servers may need to have more than 50,000 emails in the spool. For example, if emails are throttled or delayed due to the remote servers not accepting emails into the spool, this can cause slow delivery for new messages being created since the new emails cannot be loaded until existing emails are sent. To resolve this problem, administrators may adjust the default limitation for the max number of loaded spool messages. 

Follow these steps to increase the default limitation for the max number of loaded spool messages: 

  1. In the Administrative Tools > Services panel, stop the SmarterMail service.
  2. Navigate to the settings.json file. The default install path is C:\Program Files (x86)\SmarterTools\SmarterMail\Service\Settings\. 
  3. Make a backup copy of the settings.json file.
  4. Edit the settings.json file, and locate the following line:
    "max_loaded_spool_messages": 50000
  5. Change the value of the max_loaded_spool_messages as needed. NOTE: As you increase the max number of messages allowed into the spool, your system will also increase the amount of system memory being used.
  6. Save the settings.json file. 
  7. Start the SmarterMail service. 
 
Learn more about using SmarterMail for your email accounts and company-wide instant messenger.