Re: Re: 3.1.2 --lint -D warn: config: could not find userprefs file

2006-05-31 Thread Nigel Frankcom
On the plus side the manual fix is pretty simple and now it's in the
lists it should make it a little easier for others to find a solution.

I wouldn't beat yourself up too much, if it was perfect every time
where would the entertainment value be? ;-)

KR

Nigel

On Wed, 31 May 2006 17:16:56 -0400, Theo Van Dinter
<[EMAIL PROTECTED]> wrote:

>On Wed, May 31, 2006 at 03:09:55PM -0600, Gary V wrote:
>> looks like there is a patch, and will be fixed in 3.1.3
>> http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4932
>
>Actually that patch doesn't fix the problem, assuming the user doesn't
>have a ~/.spamassassin directory already and they're just running
>sa-learn.  I updated bug 4923 with some info.
>
>Ironically, all of this is being caused by a fix for bug 4827 which was
>spurred into existence by problems debugging problems because incorrect
>paths were being chosen for things.  Unfortunately, my patch wasn't
>comprehensive enough it seems. :(
>
>Stupid software. 


Re: 3.1.2 --lint -D warn: config: could not find userprefs file

2006-05-31 Thread Theo Van Dinter
On Wed, May 31, 2006 at 03:09:55PM -0600, Gary V wrote:
> looks like there is a patch, and will be fixed in 3.1.3
> http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4932

Actually that patch doesn't fix the problem, assuming the user doesn't
have a ~/.spamassassin directory already and they're just running
sa-learn.  I updated bug 4923 with some info.

Ironically, all of this is being caused by a fix for bug 4827 which was
spurred into existence by problems debugging problems because incorrect
paths were being chosen for things.  Unfortunately, my patch wasn't
comprehensive enough it seems. :(

Stupid software. 

-- 
Randomly Generated Tagline:
Do Quarter Horses have only one leg?


Re: 3.1.2 --lint -D warn: config: could not find userprefs file

2006-05-31 Thread Gary V

I submitted a bug on this, or is this a "feature"?:
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4923

Gary V



looks like there is a patch, and will be fixed in 3.1.3
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4932

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/




Re: 3.1.2 --lint -D warn: config: could not find userprefs file

2006-05-31 Thread Gary V

Hi All,

Problem resolved.

The creation of a dir /root/.spamassassin with a file user_prefs in it
has resolved the issue.

After adding the above it now lint's clean.

I'm not sure why it didn't get created at install - but at least now
it's fixed.


Nigel



I submitted a bug on this, or is this a "feature"?:
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4923

Gary V

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/




Re: 3.1.2 --lint -D warn: config: could not find userprefs file

2006-05-31 Thread Nigel Frankcom
Hi All,

Problem resolved.

The creation of a dir /root/.spamassassin with a file user_prefs in it
has resolved the issue. 

After adding the above it now lint's clean.

I'm not sure why it didn't get created at install - but at least now
it's fixed.

Many thanks to James Rallo for his correct suggestions.

Kind regards

Nigel

On Wed, 31 May 2006 18:39:10 +0100, Nigel Frankcom
<[EMAIL PROTECTED]> wrote:

>Hi,
>
>I've run in 3.1.2 on a test server before letting it loose live.
>
>When running --lint -D I get the following output:
>
>info: config: can not determine userstate dir
>warn: config: could not find userprefs file
>
>My SPAMDOPTIONS are set as:
>SPAMDOPTIONS="-d -c -m5 -H -i0.0.0.0 -A192.168.2. -q -x -s
>/var/log/spamd.log"
>
>My Local.cf has:
>
>user_scores_dsn DBI:mysql:spamassassin:192.168.2.42
>user_scores_sql_usernamemyuser
>user_scores_sql_passwordmypass
>allow_user_rules1
>
>Does anyone have an idea what I might have misconfig'd? 
>
>Apart from those two 'errors' everything else lint's clean. I
>appreciate the info: is not to be worried about, but the warn: is
>worrying me.
>
>Kind regards
>
>Nigel


3.1.2 --lint -D warn: config: could not find userprefs file

2006-05-31 Thread Nigel Frankcom
Hi,

I've run in 3.1.2 on a test server before letting it loose live.

When running --lint -D I get the following output:

info: config: can not determine userstate dir
warn: config: could not find userprefs file

My SPAMDOPTIONS are set as:
SPAMDOPTIONS="-d -c -m5 -H -i0.0.0.0 -A192.168.2. -q -x -s
/var/log/spamd.log"

My Local.cf has:

user_scores_dsn DBI:mysql:spamassassin:192.168.2.42
user_scores_sql_usernamemyuser
user_scores_sql_passwordmypass
allow_user_rules1

Does anyone have an idea what I might have misconfig'd? 

Apart from those two 'errors' everything else lint's clean. I
appreciate the info: is not to be worried about, but the warn: is
worrying me.

Kind regards

Nigel