Hi Martin,
how did you install SA - source, CPAN, or apt?
Source.
pick one with a rule in it that SA complains about in the "spamassassin -D --lint". They are 'text' files so you can grep the rule names.
warning: description for PORN_URL_SEX is over 50 chars
# grep -r "PORN_URL_SEX" /usr/local/share/spamassassin/*
/usr/local/share/spamassassin/20_porn.cf:uri PORN_URL_SEX /^https?:\/\/[\w\.-]*(?<!es|ba)(?<!dle|sus)sex(?!press)[\w-]*\./i
/usr/local/share/spamassassin/20_porn.cf:describe PORN_URL_SEX URL uses words/phrases which indicate porn (sex)
/usr/local/share/spamassassin/30_text_de.cf:lang de describe PORN_URL_SEX Worte/Phrasen in URL weisen auf Pornographie hin (sex)
/usr/local/share/spamassassin/50_scores.cf:score PORN_URL_SEX 1.865 1.427 1.817 0.011
20_porn.cf:
# SpamAssassin rules file: porn tests # # Please don't modify this file as your changes will be overwritten with # the next update. Use /etc/mail/spamassassin/local.cf instead. # See 'perldoc Mail::SpamAssassin::Conf' for details. # # Note: body tests are run with long lines, so be sure to limit the # size of searches; use /.{0,30}/ instead of /.*/ to avoid huge # search times. # # <@LICENSE> # Copyright 2004 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # </@LICENSE> # ###########################################################################
require_version 3.000002
30_text_de.cf: # # Please don't modify this file as your changes will be overwritten with # the next update. Use /etc/mail/spamassassin/local.cf instead. # See 'perldoc Mail::SpamAssassin::Conf' for details. # # <@LICENSE> # Copyright 2004 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # </@LICENSE> # ###########################################################################
# character set used in the following texts (no need for iso-8859-15) lang de report_charset iso-8859-1
50_scores.cf:
# SpamAssassin score file
#
# Please don't modify this file as your changes will be overwritten with
# the next update. Use /etc/mail/spamassassin/local.cf instead.
# See 'perldoc Mail::SpamAssassin::Conf' for details.
#
# <@LICENSE>
# Copyright 2004 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# </@LICENSE>
#
###########################################################################
# Default scores. Note that if a test is named in the files, but a score is
# not assigned here, the default score will be set to 1.
# The following block of scores were generated using the mass-checking # scripts, and a perceptron to determine the optimum scores which # resulted in minimum false positives or negatives. The scores are # weighted to produce roughly 1 false positive in 2500 non-spam messages # using the default threshold of 5.0.
# Start of generated scores. <gen:mutable>
Looks good, hm?
Maybe the warning means 30_text_de.cf, which most of you don't use because you have English locales?
but you'll get no rbl style tests..
Okay, that's a good point.
Florian