Question
How do I increase the SpamAssassin memory limit?
Note: In most cases, the SpamAssassin memory limit doesn't need to be adjusted. However, if custom rules are in use, the limit may need to be increased.
Answer
- Open the
/etc/mail/spamassassin/local.cffile with your preferred text editor Find the line that loads the ResourceLimits plugin:
CONFIG_TEXT: Mail::SpamAssassin::Plugin::ResourceLimits
Add or modify the
resource_limit_memoption, and ensure it's below the line that loads the plugin.# resource_limit_mem 536870912
Note: The
resource_limit_memlimit value is in bytes.Restart spamd:
# /scripts/restartsrv_spamd
Comments
0 comments
Article is closed for comments.