Hilfe be Spamassassin-Einstellungen

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
fraser
Posts: 27
Joined: 2006-07-03 13:16
 

Hilfe be Spamassassin-Einstellungen

Post by fraser »

Hallo,

ich schaffe es leider nicht die Einstellungen für Spamassassin richtig zu setzen. Ich erhalte folgende Fehlermeldungen:

mail.info

Code: Select all

Jan 27 14:21:24 h8xxxx8 spamd[26296]: spamd: server killed by SIGTERM, shutting down 
Jan 27 14:21:27 h8xxxx8 spamd[28485]: logger: removing stderr method 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: failed to parse line, skipping: auto_whitelist_factor 0.03 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: failed to parse line, skipping: use_terse_report 1 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: SpamAssassin failed to parse line, "/var/qmail/.spamassassin" is not valid for "bayes_path", skipping: bayes_path /var/qmail/.spamassassin 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: failed to parse line, skipping: bayes_use_chi2_combining 1 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: failed to parse line, skipping: dcc_add_header 1 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: failed to parse line, skipping: pyzor_add_header 1 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: failed to parse, now a plugin, skipping: ok_languages all 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: failed to parse line, skipping: check_mx_attempts 0 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: failed to parse line, skipping: check_mx_delay 1 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: failed to parse line, skipping: auto_learn 1 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: failed to parse line, skipping: auto_learn_threshold_spam 5.9 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: failed to parse line, skipping: auto_learn_threshold_nonspam 2.0 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: invalid regexp for rule SPAMCOP_URI_RBL: eval:check_spamcop_uri_rbl('sc.surbl.org','127.0.0.2'): missing or invalid delimiters 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: score: requires a symbolic rule name and 1 or 4 scores 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: config: SpamAssassin failed to parse line, no value provided for "score", skipping: score HABEAS_HIL RBL -6.0 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: spamd: server started on port 783/tcp (running version 3.1.3) 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: spamd: server pid: 28487 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: spamd: server successfully spawned child process, pid 28488 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: spamd: server successfully spawned child process, pid 28489 
Jan 27 14:21:28 h8xxxx8 spamd[28487]: prefork: child states: II 
Meine local.cf habe ich nach Studium diverse "Ratgeber" wie folgt eingerichtet:

Code: Select all

required_hits  				4.8
rewrite_header subject         		*****SPAM*****
auto_whitelist_factor 			0.03
report_safe             			1
use_terse_report 				1

#bayes konfiguration
use_bayes 					1
bayes_path 					/var/qmail/.spamassassin
bayes_use_chi2_combining 			1
bayes_auto_expire 				0
bayes_journal_max_size   			15000000
bayes_expiry_max_db_size 			20000000
bayes_auto_learn 				1

bayes_ignore_header 				Return-Path
bayes_ignore_header 				Received
bayes_ignore_header 				X-Spam-Flag
bayes_ignore_header 				X-Spam-Status
bayes_ignore_header 				X-Spam-Flag
bayes_ignore_header 				X-Spam-Level
bayes_ignore_header 				X-purgate
bayes_ignore_header 				X-purgate-ID
bayes_ignore_header 				X-purgate-Ad
bayes_ignore_header 				X-GMX-Antispam
bayes_ignore_header 				X-Resent-For
bayes_ignore_header 				X-Resent-By
bayes_ignore_header 				X-Resent-To
bayes_ignore_header 				Resent-To
bayes_ignore_header 				Sender
bayes_ignore_header 				Precedence
bayes_ignore_header 				X-Antispam
bayes_ignore_header 				X-Sieve
bayes_ignore_header 				X-Spamcount
bayes_ignore_header 				X-Spamsensitivity
bayes_ignore_header 				To
bayes_ignore_header 				X-Sieve
bayes_ignore_header 				X-WEBDE-FORWARD

#dcc konfiguration
dcc_path 					/usr/local/bin/dccproc
dcc_add_header 				1

#pyzor konfiguration
pyzor_path 					/usr/bin/pyzor
pyzor_add_header 				1
pyzor_max 					3

# Andere Module benutzen
skip_rbl_checks				0
use_razor2           			1
use_dcc                 			1
use_pyzor               			1

# sonstiges
rbl_timeout 					4
ok_languages 					all
ok_locales 					all
dns_available 				yes
check_mx_attempts    			0
check_mx_delay       			1
auto_learn  					1
auto_learn_threshold_spam 			5.9
auto_learn_threshold_nonspam 		2.0

#reports
clear_report_template
report Diese Mail wurde vom Spam-Filter als Spam erkannt. Sollte dies faelschlicher
report weise geschehen sein, leitet die Mail bitte an mich weiter.
report 
report Vielen Dank!
report
report
report Die Originalnachricht ist dieser E-Mail als Anhang beigefügt.
report
report Content analysis details:   (_HITS_ points, _REQD_ required)
report 
report
report " Pkt Regel Name             Beschreibung"
report  ---- ---------------------- --------------------------------------------------
report _SUMMARY_

clear_unsafe_report_template
unsafe_report Die Nachricht war nicht komplett in plain text. Sie koennte, 
unsafe_report was nicht sehr wahrscheinlich ist, einen Virus enthalten.  
report
report

#spamcop punkte
uri       SPAMCOP_URI_RBL  eval:check_spamcop_uri_rbl('sc.surbl.org','127.0.0.2')
describe  SPAMCOP_URI_RBL  URI's domain appears in spamcop database at sc.surbl.org
tflags    SPAMCOP_URI_RBL  net
score     SPAMCOP_URI_RBL  5.0

#bayes punkte
score BAYES_00                            -6.1
score BAYES_01                            -5.0
score BAYES_10                            -3.5
score BAYES_20                            -2.0
score BAYES_30                            -1.0
score BAYES_40                            -0.3
score BAYES_44                            -0.01
score BAYES_50                            0.01
score BAYES_56                            0.3
score BAYES_60                            1.0 
score BAYES_70                            1.6 
score BAYES_80                            3.1
score BAYES_90                            5.2
score BAYES_99                            7.2

#razor punkte
score RAZOR2_CHECK              		1.8
score RAZOR2_CF_RANGE_11_50     		0.32
score RAZOR2_CF_RANGE_51_100	 	2.7

#dcc punkte
score DCC_CHECK                 		4.9

#pyzor punkte
score PYZOR_CHECK 				4.8

score SUBJ_ILLEGAL_CHARS 			2.6
score PORN_4			    		3.7
score RCVD_IN_RFCI				2.0
score RCVD_IN_ORBS                       1.0
score RCVD_IN_DSBL                       1.0
score RCVD_IN_SBL                        0.5
score RCVD_IN_VISI                       1.0
score RCVD_IN_RFCI                       0.5
score RCVD_IN_SORBS				0.5
score X_NJABL_OPEN_PROXY                 0.5 
score RCVD_IN_UNCONFIRMED_DSBL         	0.2
score RCVD_IN_BL_SPAMCOP_NET             1.1
score RCVD_IN_VISI                       0.3
score RCVD_IN_RELAYS_ORDB_ORG            0.3
score USER_AGENT_MACOE                   1.0 
score NIGERIAN_TRANSACTION_1		1.5
score MICROSOFT_EXECUTABLE 			3.100
score MIME_SUSPECT_NAME 			3.100
score RCVD_IN_BONDEDSENDER			-6.0
score HABEAS_HIL RBL 			-6.0
score X_LIST_UNSUBSCRIBE			0.5
score EMAIL_ATTRIBUTION 			-0.5
score IN_REP_TO	 			-0.5
score QUOTED_EMAIL_TEXT 			-0.5
score REPLY_WITH_QUOTES 			-0.5
score HTML_IMAGE_ONLY_02 			1.978
score HTML_IMAGE_ONLY_04 			2.087
score HTML_IMAGE_ONLY_06 			1.228
score HTML_IMAGE_ONLY_08 			0.984
score HTML_IMAGE_ONLY_10 			0.843
score HTML_IMAGE_ONLY_12 			0.487
score EMAIL_ATTRIBUTION			-1
score MSGID_GOOD_EXCHANGE 			-1
Wo liegt denn nun der Hund begraben?
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: Hilfe be Spamassassin-Einstellungen

Post by Roger Wilco »

Deine Konfiguration wurde für SA 2.x erstellt. Bei dir läuft vermutlich eine aktuellere Version. Die fehlerhaften Zeilen stehen in deinen Logs. Die gültigen Konfigurationsoptionen findest du unter http://spamassassin.apache.org/full/3.1 ... _Conf.html
fraser
Posts: 27
Joined: 2006-07-03 13:16
 

procmailrc

Post by fraser »

Danke,

daran hat es wohl gelegen.