How to configure SpamAssassin

Started by Freespirits_GR_Host, March 09, 2020, 08:43:41 PM

Previous topic - Next topic

overseer

That's how it's supposed to work...
[overseer@srv ~]$ less /etc/spamassassin/local.cf
# These values can be overridden by editing ~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)

gabrielmotta

And then.. I located this part into archive /usr/share/spamassassin/10_default_prefs.cf


# Headers to be added to mail (can be overriden by users in
# ~/.spamassassin/user_prefs)
# Make sure the header stays entirely on one line here

clear_headers

---------------
Into archive /etc/mail/spamassassin/local.cf

# These values can be overridden by editing ~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)

# These should be safe assumptions and allow for simple visual sifting
# without risking lost emails.

required_hits 5
report_safe 0
required_score 5
rewrite_header Subject [SPAM]

But like this it´s correct or I need to put any information to direct to /home/User-Directory/.spamassassin/user_prefs ?

overseer

For sure, that's how it is supposed to work:
overseer@srv$ less /etc/spamassassin/local.cf

# These values can be overridden by editing ~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)

# These should be safe assumptions and allow for simple visual sifting
# without risking lost emails.