Whitelist domain or mail-address for spamassassin

  • Hi there,


    i want to whitelist a certain domain in spam assassin. Where do I do that so that a I-mscp upgrade (or plugin upgrade) will not delete the settings?


    Thank you in advance for your help!


    :?:

    stay hungry, stay foolish!

  • Its saved in a configuration file as far as I know. I only checked the plugin ones, so that might not be correct.

    And that configuration file might get changed during an upgrade. Since you manually upgrade the plugins, you can always make sure to change the files before you upload the archive.

    I read something about a database, but I think thats just for integration and configuration of SpamAssassin itself.


    Instead of changing the config file in a very tiresome and costly way, you should create a blacklist config file and include it in the main spamassassin config.

    The file name should be local.cf and it should be located in : /etc/spamassassin/ (if I am correct).