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 2nd, 2007, 9:05 AM   #163 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
A separate question regarding filters:

After turning on SpamAssassin, with the settings at 1 & 4.5, and adding a filter to discard all mail with a header that has an X-Spam-Level of more than 8 *s, I stopped receiving 80% of the spam that I had previously been receiving.

That's great, but perhaps I was too hasty in installing the discard filter (just in case there were some false positives? - or is that not possible?)

I deleted that initial Discard > 8 *s filter and implemented a new one:

$h_X-Spam-Status: contains "X-Spam-Level: ********" forwards to a special email address.

I noticed that one of the dropdown menus in the Add Filter routine includes the option for SpamAssassin Header rather than Any Header. I selected SpamAssassin header and that filter's code is reflected above. Is that OK? Thanks (my other issue in prior post #162 is still open as well)
kdanieli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 2nd, 2007, 12:05 PM   #164 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,332 posts
Gave thanks: 23
Thanked 93 times
Outside my skills, dude. Your server might be using a different email storage than the one I wrote this for...

Delete >8 is NOT a hasty measure. VERY few real email messages will go there, but I've been using the filter that Cowboy wrote (elsewhere in these forums) to toss everything beween 4.5 and 10 into a separate email box .... and of that email, I probably 'save' one or two per day out of 50...
__________________
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, 4:25 PM   #165 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
I have several email accounts. Each now has SPAM and HAM folders and I've moved emails into each folder.

The SPAM folders have not been purged.

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"


Is that wrong? thanks
kdanieli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 2nd, 2007, 4:35 PM   #166 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,332 posts
Gave thanks: 23
Thanked 93 times
Ok.
i really don't know if I can be of further assistance.

In your root, you have a mail folder?

If so, what's in it?
Mine has a bunch of folders, for subdomains and ultimately the individual email accounts.
__________________
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, 4:52 PM   #167 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
thanks. I think I'm on Surpass's 107.

My root has a mail folder. In mail I have these folders and files:

.Drafts 700
.Sent 700
.Trash 700
courierimapkeywords 770
cur 700
"mydomain".com 755
new 700
tmp 700
Create New File
INBOX.Drafts 0 k 0600
INBOX.Sent 11 k 0600
INBOX.Trash 173 k 0600
courierimapsubscribed 0 k 0644
courierimapuiddb 0 k 0644

Inside "mydomain.com" folder are folders for each of my email accounts. Inside each of those are the mail folders for HAM, SPAM, etc.

Last edited by kdanieli; June 2nd, 2007 at 5:04 PM.
kdanieli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 4th, 2007, 10:47 AM   #168 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
The script seems to be running, but all the SPAM folders still have all the spam in them.

It does not give me the confirmation email that counts how many items it processed. The confirmation emails all say this:


Learning SPAM
Learning HAM
Done
kdanieli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 4th, 2007, 3:53 PM   #169 (permalink)
Surpass Fan
Comfy Contributor
 
jdcopelin's Avatar
 
Joined in Feb 2004
Lives in Norfolk, England
Hosted on Pass32
159 posts
Gave thanks: 21
Thanked 18 times
Quote:
Originally Posted by kdanieli View Post
The script seems to be running, but all the SPAM folders still have all the spam in them.

It does not give me the confirmation email that counts how many items it processed. The confirmation emails all say this:

Learning SPAM
Learning HAM
Done
Quote:
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"
Hi,

In another of your posts where you listed the contents of your ./mail folder you have maildir format when your learnspam script is written for mbox format. The script I posted in this thread should get you up and running (read my last post in that thread to correct the typo in the script). Please let us/me know if it works.
I am currently testing a new version of that script that is more intelligent and doesn't run sa-learn on empty folders.

Regards
Jonathan
__________________
Server: Pass32 and dedicated server
jdcopelin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 4th, 2007, 5:31 PM   #170 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
Thanks.

I took that script and put it in in place of the old script.
I removed the "#" from the last line.
I changed "username" to "kdanieli" twice.
I saved it as "learnspam"

Is that all I should do? Thanks
kdanieli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 5th, 2007, 1:45 AM   #171 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
After making the above changes, I got the following in email
................
Learning from HAM

Synchronising spam database
bayes: synced databases from journal in 1 seconds: 1053 unique entries (1464 total entries)
..................

Is that good?

Also SPAM and HAM folders still contain the emails I put there.
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