Problem to start spamd as a user

2005-08-26 Thread Patrick Steiner
Hi

I have the problem that i can't start spamd under another user
Here the debug output:

Here when i start normal:


mybag:/tmp# spamd -D
trying to connect to syslog/unix...
no error connecting to syslog/unix
logging enabled:
facility: mail
socket:   unix
output:   syslog
creating INET socket:
Listen: 128
LocalAddr: 127.0.0.1
LocalPort: 783
Proto: 6
ReuseAddr: 1
Type: 1
debug: SpamAssassin version 3.0.4
debug: Score set 0 chosen.
debug: Storable module v2.13 found
debug: Preloading modules with HOME=/tmp/spamd-20946-init
debug: ignore: test message to precompile patterns and load modules
debug: using /etc/spamassassin/init.pre for site rules init.pre
debug: config: read file /etc/spamassassin/init.pre
debug: using /usr/share/spamassassin for default rules dir
debug: config: read file /usr/share/spamassassin/10_misc.cf
debug: config: read file /usr/share/spamassassin/20_anti_ratware.cf
debug: config: read file /usr/share/spamassassin/20_body_tests.cf
_


Here when i start as the user p3scan:

__

mybag:/tmp# spamd -D -u p3scan
trying to connect to syslog/unix...
no error connecting to syslog/unix
logging enabled:
facility: mail
socket:   unix
output:   syslog
creating INET socket:
Listen: 128
LocalAddr: 127.0.0.1
LocalPort: 783
Proto: 6
ReuseAddr: 1
Type: 1
debug: SpamAssassin version 3.0.4
debug: Score set 0 chosen.
debug: Storable module v2.13 found
debug: Preloading modules with HOME=spamd-20968-init
fatal: Can't create spamd-20968-init: Permission denied at
/usr/sbin/spamd line 1871.


__


can somebody help me???


German Spam local.conf

2005-05-19 Thread Patrick Steiner
hello,
i am totally unskilled in config spamassisn, but i found this url:
http://www.exit0.us/index.php?pagename=GermanSoberSpamBounceRules
i but the text into my /etc/mail/spamassassin/local.conf
and restarted spamassassin. but spamc doesnt use the rules :-(.
if have tryed:spamc  1116480451.P29200Q0M105826.isengard.skynet\:2\,Sc
Return-path: [EMAIL PROTECTED]
Received: from mmp.a1.net [194.48.124.160]
   by localhost with POP3 (fetchmail-6.2.5)
   for [EMAIL PROTECTED] (single-drop); Wed, 18 May 2005 09:50:05 
+0200 (CEST)
Received: from uxmtat02-real.net.mobilkom.at
(uxmtat02-real.net.mobilkom.at [194.48.125.55]) by 
msgstore4.net.mobilkom.at
(A1.net ORGANIZER - Alle Emails und Termine fest im Griff)
with ESMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED];
Wed, 18 May 2005 09:48:30 +0200 (MEST)
Received: from okioweoj.com (N712P016.adsl.highway.telekom.at 
[62.47.32.240])
by smtpin2.a1.net (A1.net ORGANIZER - Alle Emails und Termine fest im 
Griff)
with SMTP id [EMAIL PROTECTED] for [EMAIL PROTECTED]
(ORCPT [EMAIL PROTECTED]); Wed, 18 May 2005 09:48:30 +0200 (MEST)
Date: Wed, 18 May 2005 07:44:32 + (GMT)
From: [EMAIL PROTECTED]
Subject: Auslaenderpolitik
To: [EMAIL PROTECTED]
Message-id: [EMAIL PROTECTED]
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
Importance: Normal
X-Priority: 3 (Normal)
Original-recipient: rfc822;[EMAIL PROTECTED]
X-Virus-Status: No
X-Virus-Checker-Version: clamassassin 1.2.2 with clamscan / ClamAV 
0.85/884/Wed May 18 00:14:26 2005
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on isengard.skynet
X-Spam-Level: 
X-Spam-Status: No, score=4.5 required=5.0 tests=AWL,BAYES_80,
   DNS_FROM_RFC_POST,NO_REAL_NAME,PRIORITY_NO_NAME,RCVD_IN_SORBS_WEB
   autolearn=no version=3.0.3

Lese selbst:
http://www.mjoelnirsseite.de/2100.htm
here is my local.conf:
# 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
rewrite_header Subject [SPAM]
#ruleset to catch german sober virus spam bounces
#adapted from Raymond Dijkxhoor's original ruleset by Kevin Peuhkurinen
#http://www.exit0.us/index.php?pagename=GermanSoberSpamBounceRules
body __PROLO_GSPAMB01 /Gegen das Vergessen/i
body __PROLO_GSPAMB02 /Verbrechen der deutschen Frau/i
body __PROLO_GSPAMB03 /Dresden Bombing Is To Be Regretted Enormously/i
body __PROLO_GSPAMB04 /Graeberschaendung auf bundesdeutsche Anordnung/i
body __PROLO_GSPAMB05 /Deutsche Buerger trauen sich nicht \.\.\./i
body __PROLO_GSPAMB06 /S\.O\.S. Kiez\! Polizei schlaegt Alarm/i
body __PROLO_GSPAMB07 /Schily ueber Deutschland/i
body __PROLO_GSPAMB08 /Massenhafter Steuerbetrug durch auslaendische 
Arbeitnehmer/i
body __PROLO_GSPAMB09 /The Whore Lived Like a German/i
body __PROLO_GSPAMB10 /Transparenz ist das Mindeste/i
body __PROLO_GSPAMB11 /Volk wird nur zum zahlen gebraucht!/i
body __PROLO_GSPAMB12 /Trotz Stellenabbau/i
body __PROLO_GSPAMB13 /Augen auf/i
body __PROLO_GSPAMB14 /Armenian Genocide Plagues Ankara 90 Years On/i
body __PROLO_GSPAMB15 /Du wirst ausspioniert \.\.\.\.\!/i
body __PROLO_GSPAMB16 /Dresden 1945/i
body __PROLO_GSPAMB17 /Blutige Selbstjustiz/i
body __PROLO_GSPAMB18 /Turkish Tabloid Enrages Germany with Nazi 
Comparisons/i
body __PROLO_GSPAMB19 /Multi-Kulturell \= Multi-Kriminell/i
body __PROLO_GSPAMB20 /60 Jahre Befreiung: Wer feiert mit?/i
body __PROLO_GSPAMB21 /Vorbildliche Aktion/i
body __PROLO_GSPAMB22 /Auf Streife durch den Berliner Wedding/i
body __PROLO_GSPAMB23 /Tuerkei in die EU/i
body __PROLO_GSPAMB24 /Paranoider Deutschenmoerder kommt in Psychiatrie/i
body __PROLO_GSPAMB25 /Hier sind wir Lehrer die einzigen Auslaender/i
body __PROLO_GSPAMB26 /4\,8 Mill\. Osteuropaeer durch Fischer-Volmer 
Erlass/i
body __PROLO_GSPAMB27 /Du wirst zum Sklaven gemacht\!\!\!/i
body __PROLO_GSPAMB28 /Deutsche werden kuenftig beim Arzt abgezockt/i
body __PROLO_GSPAMB29 /Auslaenderpolitik/i
body __PROLO_GSPAMB30 /Auslaender bevorzugt/i
body __PROLO_GSPAMB31 /Can you believe this still happens today/i

header __KP_DAEMON From =~ 
/(?:postmaster|daemon|administrator|automated|subsystem)/i
header __KP_UNDELIVSubject =~ 
/(?:undeliverable|returned|failed|failure)/i

metaKP_GSPAMB01 __PROLO_GSPAMB01  (__KP_DAEMON || __KP_UNDELIV)
metaKP_GSPAMB02 __PROLO_GSPAMB02  (__KP_DAEMON || __KP_UNDELIV)
metaKP_GSPAMB03 __PROLO_GSPAMB03  (__KP_DAEMON || __KP_UNDELIV)
metaKP_GSPAMB04 __PROLO_GSPAMB04  (__KP_DAEMON || __KP_UNDELIV)
metaKP_GSPAMB05 __PROLO_GSPAMB05  (__KP_DAEMON || __KP_UNDELIV)
metaKP_GSPAMB06 __PROLO_GSPAMB06  (__KP_DAEMON || __KP_UNDELIV)
metaKP_GSPAMB07 __PROLO_GSPAMB07  (__KP_DAEMON || __KP_UNDELIV)
metaKP_GSPAMB08 __PROLO_GSPAMB08  (__KP_DAEMON || __KP_UNDELIV)
metaKP_GSPAMB09 __PROLO_GSPAMB09  (__KP_DAEMON ||