Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2002 14:41:57 -0400
From:      AlanE <alane@geeksrus.net>
To:        FreeBSD Ports List <ports@freebsd.org>
Subject:   [marcus@FreeBSD.org: Re: [dl@tyfon.net: Re: Problem with 2.41 SpamAssassin port?]]
Message-ID:  <20021011184157.GA96355@wwweasel.geeksrus.net>

next in thread | raw e-mail | index | archive | help
----- Forwarded message from Joe Marcus Clarke <marcus@FreeBSD.org> -----

On Fri, 2002-10-11 at 14:29, AlanE wrote:
> Do you know what this Perl message means, in English?

The bless message below...?

> 
> On Fri, 11 Oct 2002 at 13:42 -0400, AlanE wrote:
> 
> | On Fri, Oct 11, 2002 at 06:36:04PM +0100, Niall Richard Murphy wrote:
> | >On Fri, Oct 11, 2002 at 01:32:47PM -0400, AlanE wrote:
> | >
> | >Hey Alan,
> | >
> | >I'm running it via spamc/d, invoked via my .qmail file (and a script called
> | >ifspamh, which proffers the right return code depending on what spamc decides
> | >about the message). Perl is 5.005, the OS is -STABLE and the log file messages
> | >appear in /var/log/maillog - basically they appear to be the stdout or log
> | >message of spamd. It appears to trigger on every message.
> | >
> | >Niall
> | >
> | OK, folks, can anybody help him out?
> |
> | 1. I use procmail, not spamc/d.
> | 2. I use sendmail, not qmail.
> | 3. I know nothing about qmail.
> |
> | This is a totally foreign setup for me. I'm clueless.
> | 
> | >> On Fri, Oct 11, 2002 at 01:32:01PM -0000, Niall Richard Murphy wrote:
> | >> >Folks,
> | >> >I'm getting the following messages in my logs when I run mail through
> | >> >SpamAssassin:
> | >> >Oct 11 14:27:48 euripides spamd[30096]: razor2 check skipped: Permission denied Can't call method "log" on unblessed reference at /usr/local/lib/perl5/site_perl/5.005/Razor2/Client/Agent.pm line 211, <STDIN> chunk 74.
> | >> >Oct 11 14:27:50 euripides spamd[30096]: clean message (0.1/5.0) for niallm:81 in   3 seconds, 3180 bytes.

This means that the razor agent can't open the log file because it
doesn't exist, and spamd has no permission to write it.  This is a
typical problem with spamd started out of /usr/local/etc/rc.d.  As of
2.41, there is a -H option you can specify that allows spamd to change
directory to the user's home directory that spamd runs as.  On my
system, I start spamd using:

${PREFIX}/bin/spamd -a -d --username=spam -m 128 -H

I have a spam sandbox user setup whose home directory is
/var/spool/spam.  This works fine.  However, before the -H option, I,
too, was getting the the razor log error, and my spamass was working
just fine.

Joe

> | >> >It doesn't appear to actually affect anything, but I'm wondering if this
> | >> >is something to do with the port or not?
> | >> >Niall
> 
-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	marcus@FreeBSD.org
http://www.FreeBSD.org/gnome

----- End forwarded message -----

-- 
Alan Eldridge
Unix/C(++) IT Pro, 20 yrs, seeking new employment.
(http://wwweasel.geeksrus.net/~alane/resume.txt)
KDE, KDE-FreeBSD Teams (http://www.kde.org, http://freebsd.kde.org/)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021011184157.GA96355>