Re: [newbie] Teaching Spamassassin

2004-08-15 Thread John Wilson
On August 14, 2004 09:23 pm, Chris wrote:
 On Saturday 14 August 2004 11:01 pm, Dennis Myers wrote:
snip

 Odd, my SA 2.63 works fine with maildir.

snip

 Ok, here is how I've got my SA running. Way back when I started running SA
 I went to, I believe it was Derek Jenning's site where he has/had a nice
 helpfile on how to setup SA with Kmail.  There is also a good link which
 I'll post below:

 http://www.tomchance.org.uk/research/random/kmail

 These two filters are the last two you'll have in your filter setup.
 SA-Learn can be turned on or off in your /etc/mail/spamassassin/local.cf I
 have it turned off in mine as I use a perl script file daily to learn spam
 and report it to DCC/Razor/Pyzor.  I also run another perl script to
 automatically report spam to my ISP as its processed.  If you need some
 more help, email me off-list, as someone declared SA off topic a few days
 ago and I'll try to help.  Realize I'm no expert at all, but, I've been
 messing with it for about 6 months now and I feel pretty familiar with it.

Hmmm..a list nazi got to you? :)

I may be in touch in the morning when I wrestle with this thing again.  Thanks 
for the offer.

ttfn

John
-- 
***
Composed on a 100% Microsoft Free Computer
Guaranteed Virus Free
Mandrake Linux 10.0 OE
Registered Linux User 362316
***


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-15 Thread Hoyt Bailey
On Saturday 14 August 2004 22:44, John Wilson wrote:
 On August 9, 2004 03:01 pm, SME Server Admin wrote:
  Hiya
 
  Right. i've had Spam Assassin running for a few weeks now, and have
  built up about 300 or so messages in my Spam/missed spam directory.
  The actually directory is:
 
  Local Folders / Spam / MissedSpam
 
  Now, I've been into shell and done as it asked, ie type in the
  following string. The first one was without a dot before Mail and
  the second was with it in.
 
  It's not working. This is in Kontact by the way. Can anyone help?
 
  TIA
 
  Elwyn
 
 
  [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
  --spam /home/Elwyn/Mail/.spam.directory/MissedSpam/*
 
  Learned from 0 message(s) (0 message(s) examined).
 
  [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
  --spam /home/Elwyn/.Mail/.spam.directory/MissedSpam/*
 
  Learned from 0 message(s) (0 message(s) examined).
 
  [EMAIL PROTECTED] elwyn]$

 Hi everyone.

 All the answers here didn't help me, I don't know about Elwyn.

 No matter WHAT kind of mailbox I have my spam messages placed in
 sa-learn refuses to learn.

 My first experience was with the Kontact default of maildir boxes and
 sa-learn couldn't even find them.  Off to the SA site I go only to
 discover that SA hasn't supported maildir boxes for quite a long
 time.  Not a good start.

 Next up was the thought that a competant mail client should have no
 problem converting mailboxes.  Again, nope.

 So..set up a new directory structure for my spam to be sent to and
 make sure it's mbox..  Copy the messages into it then delete
 everything in the old one.

 New structure is a directory called spam1 with subdirectories called
 called filteredspam, missedspan and notspam.

 Now I try to teach spamassassin on what it missed (over 700
 messages):

 sa-learn --mbox --spam /home/john/.Mail/spam1.directory/missedspam/*
 bayes expire_old_tokens: lock: 24884 cannot create tmp
 lockfile
 /home/john/.spamassassin/bayes.lock.d207-6-227-249.bchsia.telus.net.2
4884 for /home/john/.spamassassin/bayes.lock: Permission denied

 Learned from 0 message(s) (0 message(s) examined).

 Okay..this isn't good either.  There seems to be a lock file there
 somewhere.

 For fun I try as root.

 sa-learn --mbox --spam /home/john/.Mail/spam1.directory/missedspam/*
 Learned from 0 message(s) (0 message(s) examined).

 I'll chase down the lock file and try again.  But there is one thing
 that does bother me a lot.  And that's that Konq shows two of the
 files related to as plain text (filteredspam and nonspam).  So I'm
 not sure they'll work.

 Help please.  In simple words would be nice. :-)

 ttfn

 John
John you need to get to the messages for instance on my system the 
following works:
sa-learn --ham /home/hoyt/.Mail/ham/cur
You might try konqueror and go down to the individual messages that 
should give you the path. I am running kontact w/kmail on a default 
install and your path does not look right to me.
-- 
Regards;
Hoyt
Registered Linux User #363264
http://counter.li.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



RE: [newbie] Teaching Spamassassin

2004-08-15 Thread Bill Shirley


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of John Wilson
 Sent: Saturday, August 14, 2004 11:45 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [newbie] Teaching Spamassassin
 
 
 On August 9, 2004 03:01 pm, SME Server Admin wrote:
  Hiya
 
  Right. i've had Spam Assassin running for a few weeks now, and have built
  up about 300 or so messages in my Spam/missed spam directory. The actually
  directory is:
 
  Local Folders / Spam / MissedSpam
 
  Now, I've been into shell and done as it asked, ie type in the following
  string. The first one was without a dot before Mail and the second was with
  it in.
 
  It's not working. This is in Kontact by the way. Can anyone help?
 
  TIA
 
  Elwyn
 
 
  [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
  --spam /home/Elwyn/Mail/.spam.directory/MissedSpam/*
 
  Learned from 0 message(s) (0 message(s) examined).
 
  [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
  --spam /home/Elwyn/.Mail/.spam.directory/MissedSpam/*
 
  Learned from 0 message(s) (0 message(s) examined).
 
  [EMAIL PROTECTED] elwyn]$
 Hi everyone.
 
 All the answers here didn't help me, I don't know about Elwyn.
 
 No matter WHAT kind of mailbox I have my spam messages placed in sa-learn 
 refuses to learn.
 
 My first experience was with the Kontact default of maildir boxes and sa-learn 
 couldn't even find them.  Off to the SA site I go only to discover that SA 
 hasn't supported maildir boxes for quite a long time.  Not a good start.
 
 Next up was the thought that a competant mail client should have no problem 
 converting mailboxes.  Again, nope.
 
 So..set up a new directory structure for my spam to be sent to and make sure 
 it's mbox..  Copy the messages into it then delete everything in the old one.
 
 New structure is a directory called spam1 with subdirectories called called 
 filteredspam, missedspan and notspam.
 
 Now I try to teach spamassassin on what it missed (over 700 messages):
 
 sa-learn --mbox --spam /home/john/.Mail/spam1.directory/missedspam/*
 bayes expire_old_tokens: lock: 24884 cannot create tmp 
 lockfile /home/john/.spamassassin/bayes.lock.d207-6-227-249.bchsia.telus.net.24884 
 for /home/john/.spamassassin/bayes.lock: Permission denied

I assume you are running this as user 'john'.  For some reason you
don't have permission to write to the /home/john/.spamassassin directory.

As root:
chown john.john /home/john
chown -R john.john /home/john/.spamassassin
chmod u+rwx,g+rx /home/john /home/john/.spamassassin

Now run the sa-learn command as user 'john'.

I don't know what directory your mail is kept in.  I use Courier maildirs.
So my INBOX is /home/bill/Maildir/cur and /home/bill/Maildir/new.

HTH,

Bill

 
 Learned from 0 message(s) (0 message(s) examined).
 
 Okay..this isn't good either.  There seems to be a lock file there somewhere.
 
 For fun I try as root.
 
 sa-learn --mbox --spam /home/john/.Mail/spam1.directory/missedspam/*
 Learned from 0 message(s) (0 message(s) examined).
 
 I'll chase down the lock file and try again.  But there is one thing that does 
 bother me a lot.  And that's that Konq shows two of the files related to as 
 plain text (filteredspam and nonspam).  So I'm not sure they'll work.
 
 Help please.  In simple words would be nice. :-)
 
 ttfn
 
 John
 -- 
 ***
 Composed on a 100% Microsoft Free Computer
 Guaranteed Virus Free
 Mandrake Linux 10.0 OE
 Registered Linux User 362316
 ***
 
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-15 Thread John Wilson
On August 15, 2004 03:03 am, Hoyt Bailey wrote:
snip

 John you need to get to the messages for instance on my system the
 following works:
 sa-learn --ham /home/hoyt/.Mail/ham/cur
 You might try konqueror and go down to the individual messages that
 should give you the path. I am running kontact w/kmail on a default
 install and your path does not look right to me.

I suspect the path different is because I followed the directions from the SA 
site and made them mbox which, it appears, Kontact stores that way.

However with all the people reporting sucess with maildir I may just switch 
back so that I'm up with everyone else here. :-)

thanks!

ttfn

John
-- 
***
Composed on a 100% Microsoft Free Computer
Guaranteed Virus Free
Mandrake Linux 10.0 OE
Registered Linux User 362316
***


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-15 Thread Hoyt Bailey
On Sunday 15 August 2004 16:48, John Wilson wrote:
 On August 15, 2004 12:18 pm, Hoyt Bailey wrote:
 snip

  He dosent consider himself an expert but he is an excellent
  teacher.

 The best teachers aren't the dreaded SME.  They're people who have
 struggled like the rest of us and pass the results of that struggle
 along.

 Subject Matter Experts tend to forget their struggles and just assume
 that we know what they're on about.  Sorta like MAN page writers and
 far too many HOWTO writers. :-)

 ttfn

 John
Correct.
-- 
Regards;
Hoyt
Registered Linux User #363264
http://counter.li.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin (Thanks!!!)

2004-08-15 Thread John Wilson
Thanks to all who answered.  It's all working now.

Chris, I'll be in touch with you off the list about other information you 
have.

Once again thanks to all!

ttfn

John
***
Composed on a 100% Microsoft Free Computer
Guaranteed Virus Free
Mandrake Linux 10.0 OE
Registered Linux User 362316
***


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-14 Thread John Wilson
On August 9, 2004 03:01 pm, SME Server Admin wrote:
 Hiya

 Right. i've had Spam Assassin running for a few weeks now, and have built
 up about 300 or so messages in my Spam/missed spam directory. The actually
 directory is:

 Local Folders / Spam / MissedSpam

 Now, I've been into shell and done as it asked, ie type in the following
 string. The first one was without a dot before Mail and the second was with
 it in.

 It's not working. This is in Kontact by the way. Can anyone help?

 TIA

 Elwyn


 [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
 --spam /home/Elwyn/Mail/.spam.directory/MissedSpam/*

 Learned from 0 message(s) (0 message(s) examined).

 [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
 --spam /home/Elwyn/.Mail/.spam.directory/MissedSpam/*

 Learned from 0 message(s) (0 message(s) examined).

 [EMAIL PROTECTED] elwyn]$
Hi everyone.

All the answers here didn't help me, I don't know about Elwyn.

No matter WHAT kind of mailbox I have my spam messages placed in sa-learn 
refuses to learn.

My first experience was with the Kontact default of maildir boxes and sa-learn 
couldn't even find them.  Off to the SA site I go only to discover that SA 
hasn't supported maildir boxes for quite a long time.  Not a good start.

Next up was the thought that a competant mail client should have no problem 
converting mailboxes.  Again, nope.

So..set up a new directory structure for my spam to be sent to and make sure 
it's mbox..  Copy the messages into it then delete everything in the old one.

New structure is a directory called spam1 with subdirectories called called 
filteredspam, missedspan and notspam.

Now I try to teach spamassassin on what it missed (over 700 messages):

sa-learn --mbox --spam /home/john/.Mail/spam1.directory/missedspam/*
bayes expire_old_tokens: lock: 24884 cannot create tmp 
lockfile /home/john/.spamassassin/bayes.lock.d207-6-227-249.bchsia.telus.net.24884 
for /home/john/.spamassassin/bayes.lock: Permission denied

Learned from 0 message(s) (0 message(s) examined).

Okay..this isn't good either.  There seems to be a lock file there somewhere.

For fun I try as root.

sa-learn --mbox --spam /home/john/.Mail/spam1.directory/missedspam/*
Learned from 0 message(s) (0 message(s) examined).

I'll chase down the lock file and try again.  But there is one thing that does 
bother me a lot.  And that's that Konq shows two of the files related to as 
plain text (filteredspam and nonspam).  So I'm not sure they'll work.

Help please.  In simple words would be nice. :-)

ttfn

John
-- 
***
Composed on a 100% Microsoft Free Computer
Guaranteed Virus Free
Mandrake Linux 10.0 OE
Registered Linux User 362316
***


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-14 Thread Dennis Myers
On Saturday 14 August 2004 22:44, John Wilson wrote:
 On August 9, 2004 03:01 pm, SME Server Admin wrote:
  Hiya
 
  Right. i've had Spam Assassin running for a few weeks now, and have built
  up about 300 or so messages in my Spam/missed spam directory. The
  actually directory is:
 
  Local Folders / Spam / MissedSpam
 
  Now, I've been into shell and done as it asked, ie type in the following
  string. The first one was without a dot before Mail and the second was
  with it in.
 
  It's not working. This is in Kontact by the way. Can anyone help?
 
  TIA
 
  Elwyn
 
 
  [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
  --spam /home/Elwyn/Mail/.spam.directory/MissedSpam/*
 
  Learned from 0 message(s) (0 message(s) examined).
 
  [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
  --spam /home/Elwyn/.Mail/.spam.directory/MissedSpam/*
 
  Learned from 0 message(s) (0 message(s) examined).
 
  [EMAIL PROTECTED] elwyn]$

 Hi everyone.

 All the answers here didn't help me, I don't know about Elwyn.

 No matter WHAT kind of mailbox I have my spam messages placed in sa-learn
 refuses to learn.

 My first experience was with the Kontact default of maildir boxes and
 sa-learn couldn't even find them.  Off to the SA site I go only to discover
 that SA hasn't supported maildir boxes for quite a long time.  Not a good
 start.

 Next up was the thought that a competant mail client should have no problem
 converting mailboxes.  Again, nope.

 So..set up a new directory structure for my spam to be sent to and make
 sure it's mbox..  Copy the messages into it then delete everything in the
 old one.

 New structure is a directory called spam1 with subdirectories called called
 filteredspam, missedspan and notspam.

 Now I try to teach spamassassin on what it missed (over 700 messages):

 sa-learn --mbox --spam /home/john/.Mail/spam1.directory/missedspam/*
 bayes expire_old_tokens: lock: 24884 cannot create tmp
 lockfile
 /home/john/.spamassassin/bayes.lock.d207-6-227-249.bchsia.telus.net.24884
 for /home/john/.spamassassin/bayes.lock: Permission denied

 Learned from 0 message(s) (0 message(s) examined).

 Okay..this isn't good either.  There seems to be a lock file there
 somewhere.

 For fun I try as root.

 sa-learn --mbox --spam /home/john/.Mail/spam1.directory/missedspam/*
 Learned from 0 message(s) (0 message(s) examined).

 I'll chase down the lock file and try again.  But there is one thing that
 does bother me a lot.  And that's that Konq shows two of the files related
 to as plain text (filteredspam and nonspam).  So I'm not sure they'll work.

 Help please.  In simple words would be nice. :-)

 ttfn

 John
Did you get this to work? On my kmail I have to tell spamassassin 
sa-learn --showdots --spam /home/dennis/.Mail/junk/curnote the last file 
is cur for current this is where the email is stored and seems to be 
necessary for success. HTH

-- 
Dennis M. linux user #180842


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-14 Thread Chris
On Saturday 14 August 2004 11:01 pm, Dennis Myers wrote:

 
  Hi everyone.
 
  All the answers here didn't help me, I don't know about Elwyn.
 
  No matter WHAT kind of mailbox I have my spam messages placed in
  sa-learn refuses to learn.
 
  My first experience was with the Kontact default of maildir boxes and
  sa-learn couldn't even find them.  Off to the SA site I go only to
  discover that SA hasn't supported maildir boxes for quite a long time. 
  Not a good start.


Odd, my SA 2.63 works fine with maildir.  
 


 Did you get this to work? On my kmail I have to tell spamassassin
 sa-learn --showdots --spam /home/dennis/.Mail/junk/curnote the last
 file is cur for current this is where the email is stored and seems to be
 necessary for success. HTH

Ok, here is how I've got my SA running. Way back when I started running SA I 
went to, I believe it was Derek Jenning's site where he has/had a nice 
helpfile on how to setup SA with Kmail.  There is also a good link which 
I'll post below:

http://www.tomchance.org.uk/research/random/kmail

These two filters are the last two you'll have in your filter setup.  
SA-Learn can be turned on or off in your /etc/mail/spamassassin/local.cf I 
have it turned off in mine as I use a perl script file daily to learn spam 
and report it to DCC/Razor/Pyzor.  I also run another perl script to 
automatically report spam to my ISP as its processed.  If you need some 
more help, email me off-list, as someone declared SA off topic a few days 
ago and I'll try to help.  Realize I'm no expert at all, but, I've been 
messing with it for about 6 months now and I feel pretty familiar with it.


-- 
Chris
Registered Linux User 283774 http://counter.li.org
11:12pm up 6 days, 1:16, 2 users, load average: 0.37, 0.37, 0.36

My father was a saint, I'm not.
-- Indira Gandhi




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-11 Thread SME Server Admin
On Wednesday 11 Aug 2004 03:26, Chris wrote:
 On Tuesday 10 August 2004 03:44 pm, SME Server Admin wrote:
  Now, I've got SpamAssassin working and it seems to handle the spam at the
  moment, but I need to get this learn bit sorted, so would appreaciate
  some assitance in getting this working as soon as possible please!
 
  As far as I can see it is capturing about 1/4 of the spam coming in.
 
  Elwyn

 Couple of questions:

 1.  What does your local.cf look like in /etc/mail/spamassassin?
 2.  Are you using bayes?
 3.  Do you have auto_learn turned on?
 4.  What rule sets are you using in /etc/mail/spamassassin?
 5.  Are you using network checks, razor, pyzor, DCC, SURBL's?
 6.  How are you calling spamassassin? Do you have filters setup in Kmail?
 Are you running spamd?

Hmm, right, er, most of those questions will take a while to find out. 
However, I initally was pointed out the following URL and followed it's 
information.

http://www.softwaredesign.co.uk/Information.SpamFilters.html

Cheers

Elwyn


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin(offtopic)

2004-08-11 Thread Rob Blomquist
On Tuesday 10 August 2004 10:28 pm, Erylon Hines wrote:

 My #kmail --version
 Qt: 3.1.2
 KDE: 3.1.3
 KMail: 1.5.3

 With 9.2.  #/~/Mail directory isn't hidden.  For what reason would the
 developers hide it?

So that we don't have to look at it every time we look into our home 
directory?

-- 

Linux Desktop user since 2000,
Home networker since shortly after.

Linux User #183693
http://counter.li.org/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-10 Thread Charlie Mahan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 09 August 2004 23:28:11, Rob Blomquist wrote:
whack
 I just thought I would toss out that I use a little (poorly written) bash
 script called spam-learn that resides in ~/bin and is made executable.

 echo SpamPile
 sa-learn --spam ~/.Mail/SpamPile/cur/
 echo inbox
 sa-learn --ham ~/.Mail/inbox/cur/
 echo Ads
 sa-learn --ham ~/.Mail/Ads/cur/

 I run it daily after my new mail arrives, and it works great, as I rarely
 have to handle this manually.

 Rob

Great, thanks Rob. But I _don't like_ spamassassin. g So I don't want to 
have to run a script or anything else when bogofilter is now integrated into 
Kontact's Anti Spam Wizard and basically runs itself without sucking too many 
CPU cycles or using too much memory.

I know the filtering is probably superior, but in an account where the Spam 
load is very light (289 out of the past 54,000+) and the machine running the 
spam filters isn't high powered, for my needs bogofilter is the right 
solution.

But I still swiped your script! g

Charlie
- -- 
Edmonton,AB,Canada User #244963 at http://counter.li.org
Mandrakelinux release 10.1 (Beta 1) for i586 kernel 2.6.8-0.rc2.2mdk
23:36:18 up 4:21, 1 user, load average: 1.24, 1.12, 0.64
Everyone's head is a cheap movie show.
- -- Jeff G. Bone
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBGGJgZqvqlrLPr5YRAg1jAKC28jz5X/xbai+c1ToDzLvycjsvuwCgq0bz
MQFv2Ma5v4DYiJBOBvDTnCs=
=A+oZ
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-10 Thread Ronald J. Hall
On Tuesday 10 August 2004 01:54 am, Rob Blomquist wrote:

 I think it was 3.2, not 3.1.

 Rob

Hey Rob! Thats probably it then. :-)

-- 
 
  /\ 
 Dark  Lord
  \/  



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-10 Thread Chris
On Tuesday 10 August 2004 03:44 pm, SME Server Admin wrote:

 Now, I've got SpamAssassin working and it seems to handle the spam at the
 moment, but I need to get this learn bit sorted, so would appreaciate
 some assitance in getting this working as soon as possible please!

 As far as I can see it is capturing about 1/4 of the spam coming in.

 Elwyn

Couple of questions:

1.  What does your local.cf look like in /etc/mail/spamassassin?
2.  Are you using bayes?
3.  Do you have auto_learn turned on?
4.  What rule sets are you using in /etc/mail/spamassassin?
5.  Are you using network checks, razor, pyzor, DCC, SURBL's?
6.  How are you calling spamassassin? Do you have filters setup in Kmail? 
Are you running spamd?

-- 
Chris
Registered Linux User 283774 http://counter.li.org
9:17pm up 1 day, 23:19, 3 users, load average: 1.44, 0.97, 0.77

The personal computer market is about the same size as the total potato chip
market.  Next year it will be about half the size of the pet food market and
is fast approaching the total worldwide sales of pantyhose
-- James Finke, Commodore Int'l Ltd., 1982

Live - From Virgin Radio UK Lynyrd Skynyrd - Sweet Home Alabama



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin(offtopic)

2004-08-10 Thread Erylon Hines
On Monday 09 August 2004 09:33 pm, Charlie Mahan wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| On Monday 09 August 2004 19:48:07, Erylon Hines wrote:
|  On Monday 09 August 2004 03:01 pm, SME Server Admin wrote:
|  | Hiya
|  |
|  | Right. i've had Spam Assassin running for a few weeks now, and have
|  | built up about 300 or so messages in my Spam/missed spam directory. The
|  | actually directory is:
|  |
|  | Local Folders / Spam / MissedSpam
|  |
|  | Now, I've been into shell and done as it asked, ie type in the
|  | following string. The first one was without a dot before Mail and the
|  | second was with it in.
|  |
|  | It's not working. This is in Kontact by the way. Can anyone help?
|  |
|  | TIA
|  |
|  | Elwyn
|  |
|  |
|  | [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
|  | --spam /home/Elwyn/Mail/.spam.directory/MissedSpam/*
|  |
|  | Learned from 0 message(s) (0 message(s) examined).
|  |
|  | [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
|  | --spam /home/Elwyn/.Mail/.spam.directory/MissedSpam/*
|  |
|  | Learned from 0 message(s) (0 message(s) examined).
|  |
|  | [EMAIL PROTECTED] elwyn]$
| 
|  Your Mail directory isn't hidden, normally.  Nor would be the
|  subdirectorys, the /spam or /MissedSpam
| 
|  The command:
| 
|  $sa-learn --mbox --spam /home/Elwyn/Mail/spam/MissedSpam/*
|
| I beg to differ. The Mail directory for K-Mail since (I believe) 3.1 *is* a
| hidden directory, while the sub-directories in it are not. No point hiding
| those is there, they live in a hidden directory.
|
| The rest of what you advised is probably accurate. I wouldn't know and
| don't intend to discover since spamassassin and I have never been more than
| coldly cordial to one another. I use bogofilter, far less horsepower
| required, easily configured, while just as accurate.
|
| Charlie

My #kmail --version
Qt: 3.1.2
KDE: 3.1.3
KMail: 1.5.3

With 9.2.  #/~/Mail directory isn't hidden.  For what reason would the 
developers hide it?

?

Erylon



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-09 Thread Erylon Hines
On Monday 09 August 2004 03:01 pm, SME Server Admin wrote:
| Hiya
|
| Right. i've had Spam Assassin running for a few weeks now, and have built
| up about 300 or so messages in my Spam/missed spam directory. The actually
| directory is:
|
| Local Folders / Spam / MissedSpam
|
| Now, I've been into shell and done as it asked, ie type in the following
| string. The first one was without a dot before Mail and the second was with
| it in.
|
| It's not working. This is in Kontact by the way. Can anyone help?
|
| TIA
|
| Elwyn
|
|
| [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
| --spam /home/Elwyn/Mail/.spam.directory/MissedSpam/*
|
| Learned from 0 message(s) (0 message(s) examined).
|
| [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
| --spam /home/Elwyn/.Mail/.spam.directory/MissedSpam/*
|
| Learned from 0 message(s) (0 message(s) examined).
|
| [EMAIL PROTECTED] elwyn]$

Your Mail directory isn't hidden, normally.  Nor would be the subdirectorys, 
the /spam or /MissedSpam

The command:

$sa-learn --mbox --spam /home/Elwyn/Mail/spam/MissedSpam/*





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-09 Thread Charlie Mahan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 09 August 2004 19:48:07, Erylon Hines wrote:
 On Monday 09 August 2004 03:01 pm, SME Server Admin wrote:
 | Hiya
 |
 | Right. i've had Spam Assassin running for a few weeks now, and have built
 | up about 300 or so messages in my Spam/missed spam directory. The
 | actually directory is:
 |
 | Local Folders / Spam / MissedSpam
 |
 | Now, I've been into shell and done as it asked, ie type in the following
 | string. The first one was without a dot before Mail and the second was
 | with it in.
 |
 | It's not working. This is in Kontact by the way. Can anyone help?
 |
 | TIA
 |
 | Elwyn
 |
 |
 | [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
 | --spam /home/Elwyn/Mail/.spam.directory/MissedSpam/*
 |
 | Learned from 0 message(s) (0 message(s) examined).
 |
 | [EMAIL PROTECTED] elwyn]$ sa-learn --mbox
 | --spam /home/Elwyn/.Mail/.spam.directory/MissedSpam/*
 |
 | Learned from 0 message(s) (0 message(s) examined).
 |
 | [EMAIL PROTECTED] elwyn]$

 Your Mail directory isn't hidden, normally.  Nor would be the
 subdirectorys, the /spam or /MissedSpam

 The command:

 $sa-learn --mbox --spam /home/Elwyn/Mail/spam/MissedSpam/*

I beg to differ. The Mail directory for K-Mail since (I believe) 3.1 *is* a 
hidden directory, while the sub-directories in it are not. No point hiding 
those is there, they live in a hidden directory.

The rest of what you advised is probably accurate. I wouldn't know and don't 
intend to discover since spamassassin and I have never been more than coldly 
cordial to one another. I use bogofilter, far less horsepower required, 
easily configured, while just as accurate.

Charlie
- -- 
Edmonton,AB,Canada User #244963 at http://counter.li.org
Mandrakelinux release 10.1 (Beta 1) for i586 kernel 2.6.8-0.rc2.2mdk
22:25:49 up 3:11, 1 user, load average: 0.33, 0.15, 0.09
My father?  My father left when I was quite young.  Well actually, he
 was asked to leave.  He had trouble metabolizing alcohol.
 -- George Carlin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBGFAIZqvqlrLPr5YRAjIQAJ9lSX3DAobdXZPexforj2whmHB+WgCgq6GD
reBTwsKxke/wN1LQw/BertI=
=YRMM
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-09 Thread Rob Blomquist
On Monday 09 August 2004 9:33 pm, Charlie Mahan wrote:

 I beg to differ. The Mail directory for K-Mail since (I believe) 3.1 *is* a
 hidden directory, while the sub-directories in it are not. No point hiding
 those is there, they live in a hidden directory.

 The rest of what you advised is probably accurate. I wouldn't know and
 don't intend to discover since spamassassin and I have never been more than
 coldly cordial to one another. I use bogofilter, far less horsepower
 required, easily configured, while just as accurate.

I just thought I would toss out that I use a little (poorly written) bash 
script called spam-learn that resides in ~/bin and is made executable.

echo SpamPile
sa-learn --spam ~/.Mail/SpamPile/cur/
echo inbox
sa-learn --ham ~/.Mail/inbox/cur/
echo Ads
sa-learn --ham ~/.Mail/Ads/cur/

I run it daily after my new mail arrives, and it works great, as I rarely have 
to handle this manually.

Rob

-- 

Linux Desktop user since 2000,
Home networker since shortly after.

Linux User #183693
http://counter.li.org/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-09 Thread Ronald J. Hall
On Tuesday 10 August 2004 12:33 am, Charlie Mahan wrote:

 I beg to differ. The Mail directory for K-Mail since (I believe) 3.1 *is* a
 hidden directory, while the sub-directories in it are not. No point hiding
 those is there, they live in a hidden directory.

 The rest of what you advised is probably accurate. I wouldn't know and
 don't intend to discover since spamassassin and I have never been more than
 coldly cordial to one another. I use bogofilter, far less horsepower
 required, easily configured, while just as accurate.

 Charlie

Hmm, Charlie I've got 9.2, KDE 3.1.3 here, and Kmail uses Mail in my users 
directory. Maybe it changed right after that?

-- 
 
  /\ 
 Dark  Lord
  \/  



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Teaching Spamassassin

2004-08-09 Thread Rob Blomquist
On Tuesday 10 August 2004 10:45 am, Ronald J. Hall wrote:
 On Tuesday 10 August 2004 12:33 am, Charlie Mahan wrote:
  I beg to differ. The Mail directory for K-Mail since (I believe) 3.1 *is*
  a hidden directory, while the sub-directories in it are not. No point
  hiding those is there, they live in a hidden directory.
 
  The rest of what you advised is probably accurate. I wouldn't know and
  don't intend to discover since spamassassin and I have never been more
  than coldly cordial to one another. I use bogofilter, far less horsepower
  required, easily configured, while just as accurate.
 
  Charlie

 Hmm, Charlie I've got 9.2, KDE 3.1.3 here, and Kmail uses Mail in my
 users directory. Maybe it changed right after that?

I think it was 3.2, not 3.1.

Rob
-- 

Linux Desktop user since 2000,
Home networker since shortly after.

Linux User #183693
http://counter.li.org/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com