Author Topic: How to configure SpamAssassin  (Read 14123 times)

0 Members and 1 Guest are viewing this topic.

Offline
****
Re: How to configure SpamAssassin
« Reply #15 on: May 31, 2023, 09:25:16 PM »
That's how it's supposed to work...
Code: [Select]
[overseer@srv ~]$ less /etc/spamassassin/local.cf
# These values can be overridden by editing ~/.spamassassin/user_prefs.cf
# (see spamassassin(1) for details)

Offline
*
Re: How to configure SpamAssassin
« Reply #16 on: June 01, 2023, 02:05:05 AM »
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 ?

Offline
****
Re: How to configure SpamAssassin
« Reply #17 on: June 01, 2023, 03:19:15 AM »
For sure, that's how it is supposed to work:
Code: [Select]
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.