Florian
yes I think it's the de locale stuff that's causing the problems. I can't believe no-ones come across this before....
-- Martin Hepworth Snr Systems Administrator Solid State Logic Tel: +44 (0)1865 842300
Florian Effenberger wrote:
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
**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
This footnote confirms that this email message has been swept for the presence of computer viruses and is believed to be clean.
**********************************************************************