Hallo,
die Ausgabe von spamassassin sieht so aus:
Code: Alles auswählen
debug: using "../rules" for default rules dir
debug: using "/etc/spamassassin" for site rules dir
debug: using "/root/.spamassassin" for user state dir
debug: using "/root/.spamassassin/user_prefs" for user prefs file
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=9.4
debug: running uri tests; score so far=15
debug: running raw-body-text per-line regexp tests; score so far=15
debug: running full-text regexp tests; score so far=15
debug: Razor is not available
debug: trying Received header date for real time: Mon, 22 Jan 2001 12:36:21 +0000
debug: trying Received header date for real time: Mon, 22 Jan 2001 12:36:21 GMT
debug: trying Received header date for real time: Mon, 22 Jan 2001 12:36:16 GMT
debug: trying Received header date for real time: Mon, 22 Jan 2001 04:38:11 -0800
debug: trying Received header date for real time: Sun, 21 Jan 2001 20:33:02 -0500
debug: trying Received header date for real time: Sun, 21 Jan 2001 22:21:26 -0400
debug: time_t from date=980035200, rcvd=980166981, diff=131781
debug: within time range, not raising flag
debug: is Net::DNS::Resolver unavailable? 1
debug: is DNS available? 0
debug: checking RBL orbs.dorkslayers.com., set relay
debug: checking RBL relays.osirusoft.com., set relay
debug: checking RBL relays.ordb.org., set relay
debug: checking RBL ipwhois.rfc-ignorant.org., set rfci
debug: checking RBL relays.visi.com., set relay
debug: is Net::DNS::Resolver unavailable? 1
debug: round-the-world: mail relayed through ns.fundch.cl by 63.10.249.142 (HELO y068k3017, rev DNS says (unknown)
debug: round-the-world: probably not
debug: checking RBL results in set relay for 127.0.0.6
debug: checking RBL results in set relay for 127.0.0.4
debug: AWL active, pre-score: 15, mean: undef
debug: Post AWL score: 15
debug: is spam? score=15 required=5
debug: auto-report? score=15 threshold=30
You have new mail in /var/mail/root
Das scheint mal ganz gut auszusehen ich habe jetzt auch mein procmail Eintrag etwas verändert:
:0fw
| spamc -s 100000
:0
* ^X-Spam-Status: Yes
|/usr/sbin/cyrdeliver -e -a user -m user.spam
Die mails kommen jetzt garnicht mehr an.
Wenn cyrus die mails einsortieren will bekomme ich in den procmail.log diese Meldung:
"Message contains invalid header"
ich habe mir mal die Test-mails angesehen. Die sehen am Anfang so aus:
Code: Alles auswählen
Return-Path: <tbtf-approval@world.std.com>
Delivered-To: foo@foo.com
Received: from europe.std.com (europe.std.com [199.172.62.20])
...
und wenn sie von spamassassin rauskommen sieht der header so aus:
Code: Alles auswählen
From dawson@world.std.com Sun Jul 13 00:18:25 2003
Return-Path: <tbtf-approval@world.std.com>
Delivered-To: foo@foo.com
Received: from europe.std.com (europe.std.com [199.172.62.20])
...
ich vermute mal es liegt an dieser ersten "From..." Zeile. Kann man das spamassassin irgendwie abgewöhnen, so das nur die spam-tags in den header geschrieben werden?
Danke!