icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Email » Make SPAM ASSASSIN work for you...

Email General questions, webmail, mailing lists.

Reply
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 11 votes, 4.82 average.
Old June 1st, 2007, 3:27 PM   #154 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
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..
kdanieli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 1st, 2007, 6:24 PM   #155 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
yes....(see above) and it's still not working
kdanieli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 1st, 2007, 9:08 PM   #156 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
Quote:
Originally Posted by kdanieli View Post
yes....(see above) and it's still not working
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 PASS60 PASS61
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!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 1st, 2007, 10:22 PM   #157 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
I had no idea what permissions were...but poked around and did it. Worked like a charm. 744 is the golden ticket. Thanks.
kdanieli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 1st, 2007, 10:31 PM   #158 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
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
kdanieli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 1st, 2007, 11:49 PM   #159 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
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 PASS60 PASS61
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!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 2nd, 2007, 12:23 AM   #160 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
I moved emails to folders in Squirrel Mail. Are the emails files?
kdanieli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 2nd, 2007, 1:15 AM   #161 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,395 posts
Gave thanks: 28
Thanked 94 times
Quote:
Originally Posted by kdanieli View Post
I moved emails to folders in Squirrel Mail. Are the emails files?
Yep.

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 PASS60 PASS61
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!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 2nd, 2007, 9:41 AM   #162 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
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
kdanieli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On