![]() Ifplugin Mail::SpamAssassin::Plugin::Shortcircuit # Some shortcircuiting, if the plugin is enabled # Set headers which may provide inappropriate cues to the Bayesian # Bayesian classifier auto-learning (default: 1) # Set the threshold at which a message is considered spam (default: 5.0)īayes_path /var/lib/spamassassin/bayes/bayes ![]() # Set file-locking method (flock is not safe over NFS, but is faster) # Set which networks or hosts are considered 'trusted' by your mail # modifying the original message (0: off, 2: use text/plain instead) # Save spam messages as a message/rfc822 MIME attachment instead of # Add *****SPAM***** to the Subject header of spam e-mailsĪdd_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on _HOSTNAME_Īdd_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ bayes=_BAYES_ # Only a small subset of options are listed below # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be # This is the right place to customize your installation of SpamAssassin. Thus, trashing any score changes.įrom comments, here is the local.cf file, which is more or less the vanilla one. Sin/3.004000/updates_spamassassin_org/local.cfīased on a comment from Centimane: I tried strace -f -e trace=file spamassassin -D < spam with the same result: Spamassassin is reading system files after the local.cf file. Jun 8 13:34:07.788 dbg: config: fixed relative path: /var/lib/spamassas Jun 8 13:34:07.787 dbg: config: read file /var/lib/spamassassin/3.004000/updates_spamassassin_org/73_sandbox_manual_scores.cf I ran spamassassin -D < spam and the order of loading of cfg files seems to be wrong: Jun 8 13:34:07.300 dbg: config: read file /etc/spamassassin/local.cf Then got yet another spam with this: 0.0 HTML_MESSAGE BODY: HTML included in message spamassassing -lint shows that there are no errors int hat file. All packages were installed via apt-get and are at the latest version for 14.04.įor example, I have this: score HTML_MESSAGE 2.0ĭefine in /etc/spamassassin/local.cf. I use exim as my MTA but that should not matter. ![]() In fact, nothing in that file seem to influence how spamassassin work. However, even after restarting spamassassin (via service), the new score are not shown in spam emails. I updated my /etc/spamassassin/local.cf spamassassin file to update some score rules. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |