|
|
#118 (permalink) | |
|
Registered User
Fresh Surpasser
Joined in Nov 2006
1 posts
Gave thanks: 0
Thanked 1 Time in 1 Post
|
Quote:
Inside the .SPAM and .HAM folder or any other extra folders you created through your email client / horde are sub folders cur, new, and tmp. Each of those sub folders contains individual mail message files, rather than mbox files. Your email client shows the folders as SPAM, HAM, etc. (without the dot) Do you see any files with names like courierimapsunscribed? If so, your host probably runs Courier-imap. You might be able to modify the learnspam script so that it no longer uses the --mbox option and correctly finds the dot-prefixed folders. The read messages are in cur and the unread messages are in new. Change the code for the find command and the sa-learn lines: Code:
for FILE in `find $HOME -path '*SPAM/cur' -print` ... sa-learn --spam $FILE (Notice that the -name parameter changed to -path for the find commands) This is using the bash shell. I have not fully tested this yet but, hypothetically, it looks like it should work. Also, here are a few links that might be helpful: http://wiki.apache.org/spamassassin/BayesInSpamAssassin http://wiki.apache.org/spamassassin/RemoteImapFolder http://da.andaka.org/Doku/imapspamfilter.html Last edited by billmack; November 17th, 2006 at 2:56 AM. |
|
|
|
|
| This user thanks billmack for this great post! | Kayla (November 17th, 2006) |
|
|
#119 (permalink) |
|
Registered User
Seasoned Poster
Joined in Sep 2005
Lives in Lima, OH
Hosted on pass55
48 posts
Gave thanks: 0
Thanked 0 times
|
billmack, thanks for posting - I meant to post back here that I figured it out a couple nights ago. The --mbox option was the problem, I don't know why I didn't pick up on that at first. I did run the command from the shell and it worked. I have to edit the script yet, but anyway it is working out so far. Thanks!
__________________
I now have a dedi! |
|
|
|
|
|
#120 (permalink) |
|
Registered User
Seasoned Poster
Joined in Sep 2005
Lives in Lima, OH
Hosted on pass55
48 posts
Gave thanks: 0
Thanked 0 times
|
I am still getting loaded with spam. So far SA has examined around 300-350 or so spam and ham messages. Most of the ones that come through say BAYES_00. Just a few have said BAYES_20 or around there though. I have noticed that some of them have a higher score, say 3.0-4.0 or so, but a lot of them are around .5 or 1. Most of the spam I am getting are the messages that have a subject of "Its me Billy" or something like that and the contents are pretty much similar to what a "good" e-mail I'd receive would be. Is SpamAssassin having a hard time learning these?
__________________
I now have a dedi! |
|
|
|
|
|
#121 (permalink) |
|
Skittles
Super #1
Joined in Aug 2004
Lives in a space ship
Hosted on dedi
6,724 posts
Gave thanks: 98
Thanked 190 times
|
I had this working on most of our domains, but I was adding it to one that we had transfered and the rules got lst, and I receive this from the cron:
Learning SPAM find: /home: Permission denied Learning HAM find: /home: Permission denied Done Any ideas..? edit: I did have to change the permissions to allow the user to execute, and then it could access the file... the file is owned by the correct user/group
__________________
Mountain Dew Knight
People should not be afraid of their governments. Governments should be afraid of their people. Last edited by DewKnight; November 29th, 2006 at 4:24 PM. |
|
|
|
|
|
#122 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,365 posts
Gave thanks: 25
Thanked 94 times
|
Bayes does not even start to score until 500 messages - so you're getting the default stuff.
you can edit rules in your spam assassin too - I have mine set to score 3 points for a "forged_Rcvd_Helo" - which helps (but does cause some false positives) because if the machine says "Hi, I'm bob.com" and it's not - it's a dynamic IP or something - you get 3 points...
__________________
Proud to be a Surmunity Mod! XEON Make a fundamental difference! My Sites: Curious about Brewing Beer? Join the community! >>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax Get into an Art museum Victorian London It's your brain -ON WEB - mybrainhost.com (under development) What SHOULD Government do? Much Less than it Does! |
|
|
|
|
|
#123 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Feb 2006
Lives in Oklahoma
Hosted on pass80
18 posts
Gave thanks: 3
Thanked 0 times
|
/bin/sh: home/??????/script/learnspam: No such file or directory
This is what I am getting in my email. Do you know what i may have done wrong as I have went through the steps again to make sure. I do have 500 in the spam folder and 40 in the ham folder. Do I need a folder in each separate e-mail account I have setup or do I just put one in the main account.
__________________
vcsok.com Server reseller pass80 ![]() |
|
|
|
|
|
#124 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,365 posts
Gave thanks: 25
Thanked 94 times
|
A folder in each account is best.
That error says that you've not specified the correct location of your script file.
__________________
Proud to be a Surmunity Mod! XEON Make a fundamental difference! My Sites: Curious about Brewing Beer? Join the community! >>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax Get into an Art museum Victorian London It's your brain -ON WEB - mybrainhost.com (under development) What SHOULD Government do? Much Less than it Does! |
|
|
|
|
|
#125 (permalink) | |
|
Registered User
Fresh Surpasser
Joined in Feb 2006
Lives in Oklahoma
Hosted on pass80
18 posts
Gave thanks: 3
Thanked 0 times
|
Quote:
Which would be what...give example if you could Thanks
__________________
vcsok.com Server reseller pass80 ![]() |
|
|
|
|