Koozali.org: home of the SME Server

Are spamassassin rules compiled in SME after each update?

Offline Michail Pappas

  • *
  • 339
  • +1/-0
Are spamassassin rules compiled in SME after each update?
« on: February 21, 2012, 01:06:30 PM »
The question here is whether sme compiles the spamassassin rules in order to improve performance, each time new rules are available and downloaded. This is especially useful for heavy mail servers. Searching in the forum did not produce any hints, so apologies if this has been answered elsewhere.

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: Are spamassassin rules compiled in SME after each update?
« Reply #1 on: February 21, 2012, 01:42:34 PM »
sa-update is run daily by /etc/cron.daily/sa_update, which does not appear to include any reference to sa-compile.

Plus, I don't see 'loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody' in either /etc/mail/spamassassin/init.pre or /etc/mail/spamassassin/local.cf, and it is commented out in /etc/mail/spamassassin/v320.pre.

So... I don't think SME is compiling the spamassassin rules after updates.

Offline Michail Pappas

  • *
  • 339
  • +1/-0
Re: Are spamassassin rules compiled in SME after each update?
« Reply #2 on: February 21, 2012, 07:27:26 PM »
Thank you for yet another fast and informative post. Looking forward to the next 8beta version.