|
|
#154 (permalink) |
|
Registered User
Comfy Contributor
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
|
THANKS..
yes. I just re-logged in to cPanel and went to File Manager and at the current folder "/" (root), there is a folder called "script" (all lowercase, singular). In that folder is one file "learnspam" (all lowercase, no visible filename extension in cPanel) 0 k 0644 When I show the file "learnspam" it displays this: learnspam File Type: Bourne shell script text executable _________________________________________________ #!/bin/sh echo "Learning SPAM" for FILE in `find $HOME -name SPAM -print` do echo "Processing $FILE" sa-learn --spam --mbox $FILE done echo "Learning HAM" for FILE in `find $HOME -name HAM -print` do echo "Processing $FILE" sa-learn --ham --mbox $FILE rm $FILE touch $FILE done echo "Done" --------------------------- Note that my latest error message said "permission denied". I don't know how to set permissions and have not done anything in that regard. thanks Last edited by kdanieli; June 1st, 2007 at 3:28 PM.. |
|
|
|
|
|
#156 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
|
The folder needs different permissions...
755 for the folder. And because the folder is in the ROOT area, try 744 for the 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! |
|
|
|
|
|
#158 (permalink) |
|
Registered User
Comfy Contributor
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
|
After I got confirmation emails that it had worked, I went into one of my accounts and checked the HAM and SPAM folders.
From reading parts of this thread, I expected that the emails would still be in SPAM but that HAM would be empty. Instead I found that emails were still in both SPAM and HAM. Should I have expected that HAM would be emptied by the script? Thanks |
|
|
|
|
|
#159 (permalink) |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
|
could be related to the fact that when the files were moved there the permissions were wrong.
__________________
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! |
|
|
|
|
|
#161 (permalink) | |
|
minor deity
Super #1
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
|
Quote:
First, did your "scan" report mail say stuff like: Learned tokens from 8 message(s) (701 message(s) examined) If so, then it's scanning properly. Mail is stored in the .mail folder, typically, or using Mbox....but if yours worked as described here, it's probably .mail.
__________________
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! |
|
|
|
|
|
|
#162 (permalink) |
|
Registered User
Comfy Contributor
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
|
I don't think the first or any scan ever reported "Learned tokens from x message(s)...." etc.
I believe that all of the ones that ran reported the same thing: "Learning SPAM Learning HAM Done" And the SPAM folders have not been purged. Is that wrong? thanks |
|
|
|