You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by ".rp" <pr...@afts.com> on 2007/05/09 23:40:11 UTC
3 spamc questions, version 3.2
I just switched from using spamassassin to spamc in our procmail.
* is there an equivalent of 'spamassassin -d' for spamc?
* spamd is running with
'-d -H -s /usr/temp/spamd.log -u esp -r /var/run/spamd.pid' .
spamc is running with '-u esp' , which is a normal account.
Yet in the log, I am getting the following error/warning messages:
Wed May 9 14:12:17 2007 [12597] info: spamd: setuid to esp succeeded
Wed May 9 14:22:19 2007 [12597] info: spamd: processing message
<6....@nnn.abc.com> for esp:520
Wed May 9 14:12:19 2007 [12597] warn: auto-whitelist: open of auto-
whitelist file failed: locker: safe_lock: cannot create tmp lockfile
/home/esp/.spamassassin/auto-whitelist.lock.nnn.abc.com.12597 for
/home/esp/.spamassassin/auto-whitelist.lock: Permission denied
* How can I control the verbosity of the logging?
thanks,
Re: 3 spamc questions, version 3.2
Posted by Duane Hill <d....@yournetplus.com>.
On Wed, 9 May 2007, Matt Kettler wrote:
> .rp wrote:
>> I just switched from using spamassassin to spamc in our procmail.
>>
>> *
>> is there an equivalent of 'spamassassin -d' for spamc?
>>
> Do you really mean "spamassassin -D"? -d does markup stripping, -D does
> debugging.
>
> If so, you can pass -D to spamd, but you'd have to debug everything
> spamd processes. There is no direct equivalent on spamc, as spamc itself
> doesn't run any of the rules, it's just a dumb client.
>>
>> *
>>
>>
>> * spamd is running with
>>
>> '-d -H -s /usr/temp/spamd.log -u esp -r /var/run/spamd.pid' .
>> spamc is running with '-u esp' , which is a normal account.
>> Yet in the log, I am getting the following error/warning messages:
>> Wed May 9 14:12:17 2007 [12597] info: spamd: setuid to esp succeeded
>> Wed May 9 14:22:19 2007 [12597] info: spamd: processing message
>> <6....@nnn.abc.com> for esp:520
>> Wed May 9 14:12:19 2007 [12597] warn: auto-whitelist: open of auto-
>> whitelist file failed: locker: safe_lock: cannot create tmp lockfile
>> /home/esp/.spamassassin/auto-whitelist.lock.nnn.abc.com.12597 for
>> /home/esp/.spamassassin/auto-whitelist.lock: Permission denied
>>
>> *
>> How can I control the verbosity of the logging?
>>
> start spamd with -D
You can also control what debugging is to be performed by specifying what
channels you want to see:
http://wiki.apache.org/spamassassin/DebugChannels?highlight=%28debug%29
>>
>> *
>>
>>
>>
>> thanks,
>
>
Re: 3 spamc questions, version 3.2
Posted by ".rp" <pr...@moveupdate.com>.
On 10 May 2007 at 18:40, Daryl C. W. O'Shea wrote:
> > no one has ideas why the SA3.2 is complaining about having rights to
> > the .spamassassin file when the same non-root user is being used for
> > spamd and spamc ?
>
> If I had to guess I'd say that the non-root user doesn't have rights
> to the ".spamassassin file", which is actually a directory, or at
> least should be. Check your filesystem permissions.
>
>
> Daryl
Yes, that was it. The .spamassassin was created prior to the user being assigned to
spamd and spamc as the user to use.
Thanks!
Re: 3 spamc questions, version 3.2
Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
.rp wrote:
> On 9 May 2007 at 22:34, Matt Kettler wrote:
>
> Date sent: Wed, 09 May 2007 22:34:48 -0400
> From: Matt Kettler <mk...@verizon.net>
> Subject: Re: 3 spamc questions, version 3.2
> To: ".rp" <pr...@afts.com>
> Copies to: users@spamassassin.apache.org
>
>> .rp wrote:
>>> I just switched from using spamassassin to spamc in our procmail.
>>>
>>> *
>>> is there an equivalent of 'spamassassin -d' for spamc?
>>>
>> Do you really mean "spamassassin -D"? -d does markup stripping, -D
>> does debugging.
>>
> NO, I really mean -d .
spamc doesn't have the equivalent to spamassassin's -d. spamc doesn't
markup (or remove markup) from mail. Continue to use spamassassin -d
where you were before.
> no one has ideas why the SA3.2 is complaining about having rights to the
> .spamassassin file when the same non-root user is being used for spamd
> and spamc ?
If I had to guess I'd say that the non-root user doesn't have rights to
the ".spamassassin file", which is actually a directory, or at least
should be. Check your filesystem permissions.
Daryl
Re: 3 spamc questions, version 3.2
Posted by ".rp" <pr...@moveupdate.com>.
On 9 May 2007 at 22:34, Matt Kettler wrote:
Date sent: Wed, 09 May 2007 22:34:48 -0400
From: Matt Kettler <mk...@verizon.net>
Subject: Re: 3 spamc questions, version 3.2
To: ".rp" <pr...@afts.com>
Copies to: users@spamassassin.apache.org
> .rp wrote:
> > I just switched from using spamassassin to spamc in our procmail.
> >
> > *
> > is there an equivalent of 'spamassassin -d' for spamc?
> >
> Do you really mean "spamassassin -D"? -d does markup stripping, -D
> does debugging.
>
NO, I really mean -d .
no one has ideas why the SA3.2 is complaining about having rights to the
.spamassassin file when the same non-root user is being used for spamd
and spamc ?
Re: 3 spamc questions, version 3.2
Posted by Matt Kettler <mk...@verizon.net>.
.rp wrote:
> I just switched from using spamassassin to spamc in our procmail.
>
> *
> is there an equivalent of 'spamassassin -d' for spamc?
>
Do you really mean "spamassassin -D"? -d does markup stripping, -D does
debugging.
If so, you can pass -D to spamd, but you'd have to debug everything
spamd processes. There is no direct equivalent on spamc, as spamc itself
doesn't run any of the rules, it's just a dumb client.
>
> *
>
>
> * spamd is running with
>
> '-d -H -s /usr/temp/spamd.log -u esp -r /var/run/spamd.pid' .
> spamc is running with '-u esp' , which is a normal account.
> Yet in the log, I am getting the following error/warning messages:
> Wed May 9 14:12:17 2007 [12597] info: spamd: setuid to esp succeeded
> Wed May 9 14:22:19 2007 [12597] info: spamd: processing message
> <6....@nnn.abc.com> for esp:520
> Wed May 9 14:12:19 2007 [12597] warn: auto-whitelist: open of auto-
> whitelist file failed: locker: safe_lock: cannot create tmp lockfile
> /home/esp/.spamassassin/auto-whitelist.lock.nnn.abc.com.12597 for
> /home/esp/.spamassassin/auto-whitelist.lock: Permission denied
>
> *
> How can I control the verbosity of the logging?
>
start spamd with -D
>
> *
>
>
>
> thanks,