On Mon, 2005-09-26 at 12:27 +0200, Holly Bostick wrote:
> Ow Mun Heng schreef:
> > I've got a bunch of ham and spam in my mailbox (mbox format) and I 
> > just want to use it to train it. How do I go about doing that? I've 
> > tried dspam_sa_trainer but it keeps complaining of errors. (Can't 
> > write to the /var/amavis/.dspam/ directory, even though I run it as 
> > root!!)
> > 
> Stupid question(s) (forgive me, but the "obvious" has to be eliminated):

No.. My mistake for not putting it clearer.
> 
> 1) does the directory /var/amavis/.dspam exist? With write permissions
> for the owner and/or root? I've gotta say, a hidden directory in /var/ seems
> *awful* weird (and pointless).

#ls -ld /var/amavis/
drwxr-x---  7 amavis amavis 4096 Sep 26 15:05 /var/amavis
#ls -ld /var/amavis/.dspam
drwxr-x---   2 amavis root   4096 Sep 26 15:05 .dspam


> 
> 2) (because the idea of a dotdir in /var seems so weird...) Does dspam
> have a config file where this target is set? Have you tried changing
> this target to someplace you can write to (as root)?

Nope. 

Ah.. Now I see the problem.. hehe.. root does not have write
permission!! What a "Homer".

You've been a great help. I was just having one of those days.

(and they say root has all power! Well, obviously not enough over the
user named stupid haha!!)


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 09:03:56 up 2 days, 13:50, 9 users, load average: 1.13,
0.44, 0.82 


-- 
[email protected] mailing list

Reply via email to