From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EK3yX-00012p-B5 for garchives@archives.gentoo.org; Tue, 27 Sep 2005 01:09:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8R11aS4010379; Tue, 27 Sep 2005 01:01:36 GMT Received: from wdscexfe02.sc.wdc.com (wdscexfe02.sc.wdc.com [129.253.170.52]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8R0vfXb006458 for ; Tue, 27 Sep 2005 00:57:41 GMT Received: from neuromancer.home.net ([129.253.107.199]) by wdscexfe02.sc.wdc.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 26 Sep 2005 18:04:35 -0700 Received: from neuromancer.home.net (neuromancer.home.net [127.0.0.1]) by neuromancer.home.net (8.13.4/8.13.4) with ESMTP id j8R13wiK030309 for ; Tue, 27 Sep 2005 09:03:58 +0800 Subject: Re: [gentoo-user] DSPAM + How to train? From: Ow Mun Heng To: gentoo-user@lists.gentoo.org In-Reply-To: <4337CD05.5010404@planet.nl> References: <1127724560.4618.45.camel@neuromancer.home.net> <4337CD05.5010404@planet.nl> Content-Type: text/plain Date: Tue, 27 Sep 2005 09:03:57 +0800 Message-Id: <1127783038.28833.16.camel@neuromancer.home.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Sep 2005 01:04:35.0924 (UTC) FILETIME=[6D7C5140:01C5C2FF] X-Archives-Salt: fcdbb005-e8b8-44f2-8c01-95012492db53 X-Archives-Hash: c490377bab2e06b3c43909758aacac33 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 -- gentoo-user@gentoo.org mailing list