* [gentoo-user] DSPAM + How to train?
@ 2005-09-26 8:49 Ow Mun Heng
2005-09-26 9:03 ` Patrick Marquetecken
2005-09-26 10:27 ` Holly Bostick
0 siblings, 2 replies; 8+ messages in thread
From: Ow Mun Heng @ 2005-09-26 8:49 UTC (permalink / raw
To: gentoo-user
Postfixz-> amavisd-new(Clamav+spamassassin+dspam)->cyrus
I'm wondering how to properly configure dspam. How do I train it? Right
now, seems like spamassassin is working OK, but dspam is well, doesn't.
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!!)
Anyone?
--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!!
Neuromancer 16:47:02 up 1 day, 21:33, 7 users, load average: 1.20, 1.02,
0.77
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] DSPAM + How to train?
2005-09-26 8:49 [gentoo-user] DSPAM + How to train? Ow Mun Heng
@ 2005-09-26 9:03 ` Patrick Marquetecken
2005-09-26 9:08 ` Ow Mun Heng
2005-09-26 10:27 ` Holly Bostick
1 sibling, 1 reply; 8+ messages in thread
From: Patrick Marquetecken @ 2005-09-26 9:03 UTC (permalink / raw
To: gentoo-user
> Postfixz-> amavisd-new(Clamav+spamassassin+dspam)->cyrus
>
> I'm wondering how to properly configure dspam. How do I train it? Right
> now, seems like spamassassin is working OK, but dspam is well, doesn't.
>
> 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!!)
>
> Anyone?
I'm not using dspam only spamassassin and i copy the ham and spam to their
learning mail folders and have every night a script that uses sa-learn.
HTH
Patrick
>
> --
> Ow Mun Heng
> Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
> 98% Microsoft(tm) Free!!
> Neuromancer 16:47:02 up 1 day, 21:33, 7 users, load average: 1.20, 1.02,
> 0.77
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>
>
--
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] DSPAM + How to train?
2005-09-26 9:03 ` Patrick Marquetecken
@ 2005-09-26 9:08 ` Ow Mun Heng
0 siblings, 0 replies; 8+ messages in thread
From: Ow Mun Heng @ 2005-09-26 9:08 UTC (permalink / raw
To: gentoo-user
On Mon, 2005-09-26 at 11:03 +0200, Patrick Marquetecken wrote:
> > Postfixz-> amavisd-new(Clamav+spamassassin+dspam)->cyrus
> >
> > I'm wondering how to properly configure dspam. How do I train it? Right
> > now, seems like spamassassin is working OK, but dspam is well, doesn't.
> >
> > 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!!)
> >
> > Anyone?
>
> I'm not using dspam only spamassassin and i copy the ham and spam to their
> learning mail folders and have every night a script that uses sa-learn.
Ah... Well, I'm hoping or rather trying to determine if using Dspam
would be better then running spamassassin. right now, my laptop runs
sedmail+clamav-milter+spamassassin milter and it works great.
I like dspam mainly because of it's cgi interface and it's quarantine
and it's power to the user concept.
Thanks
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] DSPAM + How to train?
2005-09-26 8:49 [gentoo-user] DSPAM + How to train? Ow Mun Heng
2005-09-26 9:03 ` Patrick Marquetecken
@ 2005-09-26 10:27 ` Holly Bostick
2005-09-27 1:03 ` Ow Mun Heng
1 sibling, 1 reply; 8+ messages in thread
From: Holly Bostick @ 2005-09-26 10:27 UTC (permalink / raw
To: gentoo-user
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):
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).
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)?
Further, what are the ownership and permissions of dspam_sa_trainer (I
don't use dspam, but it sounds like one of those servers that makes up a
whole new user who's the only one who can use it, in which case...)?
Have you tried opeing up dspam_sa_trainer in nano or less? Is it
readable by doing so? If so, does looking at what it does help in any way?
HTH,
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] DSPAM + How to train?
2005-09-26 10:27 ` Holly Bostick
@ 2005-09-27 1:03 ` Ow Mun Heng
2005-09-27 7:23 ` Uwe Thiem
0 siblings, 1 reply; 8+ messages in thread
From: Ow Mun Heng @ 2005-09-27 1:03 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] DSPAM + How to train?
2005-09-27 1:03 ` Ow Mun Heng
@ 2005-09-27 7:23 ` Uwe Thiem
2005-09-28 2:14 ` Ow Mun Heng
0 siblings, 1 reply; 8+ messages in thread
From: Uwe Thiem @ 2005-09-27 7:23 UTC (permalink / raw
To: gentoo-user
On 27 September 2005 03:03, Ow Mun Heng wrote:
> 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
The problem is here. root cannot access that directory.
Uwe
--
95% of all programmers rate themselves among the top 5% of all software
developers. - Linus Torvalds
http://www.uwix.iway.na (last updated: 20.06.2004)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] DSPAM + How to train?
2005-09-27 7:23 ` Uwe Thiem
@ 2005-09-28 2:14 ` Ow Mun Heng
2005-09-28 8:16 ` Neil Bothwick
0 siblings, 1 reply; 8+ messages in thread
From: Ow Mun Heng @ 2005-09-28 2:14 UTC (permalink / raw
To: gentoo-user
On Tue, 2005-09-27 at 09:23 +0200, Uwe Thiem wrote:
> On 27 September 2005 03:03, Ow Mun Heng wrote:
> > 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
>
> The problem is here. root cannot access that directory.
right. Which was what I found out by answering question #2.
--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!!
Neuromancer 10:13:37 up 3 days, 15:00, 8 users, load average: 1.22,
0.83, 1.04
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] DSPAM + How to train?
2005-09-28 2:14 ` Ow Mun Heng
@ 2005-09-28 8:16 ` Neil Bothwick
0 siblings, 0 replies; 8+ messages in thread
From: Neil Bothwick @ 2005-09-28 8:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 567 bytes --]
On Wed, 28 Sep 2005 10:14:14 +0800, Ow Mun Heng wrote:
> > > #ls -ld /var/amavis/
> > > drwxr-x--- 7 amavis amavis 4096 Sep 26 15:05 /var/amavis
> >
> > The problem is here. root cannot access that directory.
> right. Which was what I found out by answering question #2.
root should be able to access any directory. I think you'll find dspam
is not running as root but as the dspam user. Add the dspam user to the
amavis group and chmod g+w that directory.
--
Neil Bothwick
Don't let your mind wander, it's too little to be let out alone.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-09-28 8:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-26 8:49 [gentoo-user] DSPAM + How to train? Ow Mun Heng
2005-09-26 9:03 ` Patrick Marquetecken
2005-09-26 9:08 ` Ow Mun Heng
2005-09-26 10:27 ` Holly Bostick
2005-09-27 1:03 ` Ow Mun Heng
2005-09-27 7:23 ` Uwe Thiem
2005-09-28 2:14 ` Ow Mun Heng
2005-09-28 8:16 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox