|
|
#163 (permalink) |
|
Registered User
Comfy Contributor
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) |
|
|
|
|
|
#164 (permalink) |
|
minor deity
Super #1
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 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! |
|
|
|
|
|
#165 (permalink) |
|
Registered User
Comfy Contributor
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 |
|
|
|
|
|
#166 (permalink) |
|
minor deity
Super #1
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 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! |
|
|
|
|
|
#167 (permalink) |
|
Registered User
Comfy Contributor
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. |
|
|
|
|
|
#168 (permalink) |
|
Registered User
Comfy Contributor
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 |
|
|
|
|
|
#169 (permalink) | ||
|
Surpass Fan
Comfy Contributor
Joined in Feb 2004
Lives in Norfolk, England
Hosted on Pass32
159 posts
Gave thanks: 21
Thanked 18 times
|
Quote:
Quote:
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 |
||
|
|
|
|
|
#170 (permalink) |
|
Registered User
Comfy Contributor
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 |
|
|
|
|
|
#171 (permalink) |
|
Registered User
Comfy Contributor
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. |
|
|
|