Skip to main content

Trying to set up server wide Spamassassin bayes learning

Comments

5 comments

  • cPanelMichael
    Hello :) In "WHM Home " Service Configuration " Exim Configuration Manager", under the "Filters" tab, you can modify the following options: SpamAssassin": Global Subject Rewrite SpamAssassin": X-Spam-Subject/Subject header prefix for spam emails Thank you.
    0
  • DigitalEssence
    Oh, I'm using CENTOS 6.5 x86_64 with WHM 11.42.1. [COLOR="silver">- - - Updated - - - Oh knob, I've just found it: WHM > Home "Service Configuration "Exim Configuration Manager > SpamAssassin": X-Spam-Subject/Subject header prefix for spam emails Ok. My next question is why is this setting overwriting the local.cf file and how do I enable spamassassin bayesian learning for all accounts?
    0
  • cPanelMichael
    The options from my previous response are available in cPanel version 11.42. It's not OS-dependent. The method you used to enable "bayes_auto_learn" and "use_bayes" globally should work. Let us know if it's not working. Thanks.
    0
  • DigitalEssence
    Thanks Michael, I'd replied to the post without refreshing so hadn't seen your reply. Typically after hours of searching I only found it AFTER posting on the forum. Can I just ask: I changed the setting in WHM from default to custom and then left the field blank hoping that the setting in the local.cf file would take precedence but test spam mails are now coming with nothing prepended to the subject. Is it just the "X-Spam-Subject/Subject header prefix for spam emails" that overides the local.cf file or are there other settings? Thanks and sorry for being so dim. I'm very very new to all this.
    0
  • cPanelMichael
    You can disable the "SpamAssassin": Global Subject Rewrite" option itself if you prefer there to be no subject rewrite. I suggest using Web Host Manager for these options instead of editing the /etc/mail/spamassassin/local.cf file. That being said, it's not possible to modify the other settings you referenced in Web Host Manager. Instead, those values can be edited by directly modifying the local.cf file and then restarting SpamAssassin. Thank you.
    0

Please sign in to leave a comment.