Page 1 of 1

Spamassassin error

Posted: Wed Feb 09, 2005 11:15 am
by marcos
Hi,
i get this error if i run init.d/spamassassin file:

shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory

ps ax |grep spam
11050 ? S 0:00 /usr/bin/spamd -d -u qmailq -c -H /var/qmail
11093 ? S 0:00 spamd child
11094 ? S 0:00 spamd child
11096 ? S 0:00 spamd child
11097 ? S 0:00 spamd child
11098 ? S 0:00 spamd child


Any idea?

Posted: Wed Feb 09, 2005 3:44 pm
by scott
Id say kill the process and try to start it again, init scripts screw up like that sometimes

Posted: Thu Feb 10, 2005 2:00 am
by marcos
scott wrote:Id say kill the process and try to start it again, init scripts screw up like that sometimes
Yes, after ten restarts now it seems to be ok....don't know why :-(

Thanks a lot

Posted: Thu Feb 10, 2005 8:48 pm
by vakantieman
I have also a spamassassin error :
This says my PSA Maillog?

Feb 11 01:45:06 localhost spamd[7672]: identified spam (1000.5/5.0) for root:2520 in 12.2 seconds, 799 bytes.
Feb 11 01:45:06 localhost spamd[7672]: result: Y 1000 - ALL_TRUSTED,DCC_CHECK,DIGEST_MULTIPLE,DNS_FROM_AHBL_RHSBL,GTUBE,RAZOR$
Feb 11 01:45:06 localhost spamd[7674]: connection from localhost.localdomain [127.0.0.1] at port 33237
Feb 11 01:45:06 localhost spamd[7674]: Creating default_prefs [/root/.spamassassin/user_prefs]
Feb 11 01:45:06 localhost spamd[7674]: Cannot write to /root/.spamassassin/user_prefs: Permission denied
Feb 11 01:45:06 localhost spamd[7674]: Couldn't create readable default_prefs for [/root/.spamassassin/user_prefs]
Feb 11 01:45:06 localhost spamd[7674]: checking message <GTUBE1.1010101@example.net> for root:2520.
Feb 11 01:45:09 localhost spamd[7674]: identified spam (1000.5/5.0) for root:2520 in 3.0 seconds, 799 bytes.
Feb 11 01:45:09 localhost spamd[7674]: result: Y 1000 - ALL_TRUSTED,DCC_CHECK,DIGEST_MULTIPLE,DNS_FROM_AHBL_RHSBL,GTUBE,RAZOR$

This says my qmail-queue log :

Fri, 11 Feb 2005 01:46:10 CET:8856: SA: don't scan as RELAYCLIENT implies this was sent by a local user

What should i do?
anyone a suggestion?
I have qmail-scanner,clamav and spamassassin the newest versions.

Grtz Arjan

Posted: Fri Feb 11, 2005 5:17 am
by vakantieman
problem solved with a reinstall of qmailscanner and spamassassin,

Grtz Arjan