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 December 18th, 2006, 10:58 AM   #136 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jan 2005
12 posts
Gave thanks: 1
Thanked 0 times
It looks like:

http://www.mhonarc.org/archive/html/.../msg00473.html

could be the start of something to help implement the "forward-to-train" plan (that is, users domain.com forward FP and FN from their off-server mail client back to ham_<random>domain.com and spam_<random>domain.com on their server to get them to be seen by the Bigjohn learnspam script).

Can anybody please help me implement Gary Funck's "strip SA's message markup" idea on my server?

Thanks,
Pete
tebuco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 18th, 2006, 11:06 AM   #137 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jan 2005
12 posts
Gave thanks: 1
Thanked 0 times
By the way, I'd like to add a "learn_whitelist" script to this system that would scan the ham_<random>domain.com inbox for all addresses in the TO:, FROM:, CC:, and maybe other headers, and maybe even look in the body, and automagically add those to the SA whitelist_from list.

Any suggestions welcome.

Thanks again,
Pete
tebuco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 18th, 2006, 11:22 AM   #138 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jan 2005
12 posts
Gave thanks: 1
Thanked 0 times
Just a little more detail to the "forward-to-learn" plan:

Both the FP and FN would have to be stripped of the:

a) back-forwarding headers (headers added during the forwarding by the user back to the SA server),

b) any SA X-Spam headers added by SA the first time, and

c) maybe a POP header or two (that got the msg from the server to the off-server client),

while the the FP would have to be stripped of those, plus

d) the big SA results detail section.
tebuco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 18th, 2006, 11:55 AM   #139 (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
I copy all "clean" mail to ham, to help it continue to learn what good mail looks like, and my email filter automatically MOVES all SPAM scoring over a certain level to SPAM.

You can see more on filters in a thread about "whitelisting " that Cowboy and myself participated in...
__________________
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 December 18th, 2006, 11:01 PM   #140 (permalink)
Registered User
Seasoned Poster
 
homiebrah's Avatar
 
Joined in Jun 2003
Lives in Elmendorf AFB, AK
Hosted on Quela
45 posts
Gave thanks: 0
Thanked 0 times
Now starting to get this:

/bin/sh: /home/heathers/script/learnspam: /bin/bash
: bad interpreter: No such file or directory

Script folder permission: 755
Learnspam: 755

Cron path: /home/********/script/learnspam
__________________
Server: Quela
Site: HeathersCorner.com
homiebrah is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old December 19th, 2006, 12:35 AM   #141 (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
email support. they'll fix it.
__________________
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 December 27th, 2006, 9:54 PM   #142 (permalink)
Registered User
Seasoned Poster
 
homiebrah's Avatar
 
Joined in Jun 2003
Lives in Elmendorf AFB, AK
Hosted on Quela
45 posts
Gave thanks: 0
Thanked 0 times
No need, I fixed it on my own. I replaced the script file with a new one, and it started scanning the spam folder. However, it won't touch the ham folders at all.

Learning SPAM
Processing /home/********/mail/heatherscorner.com/webmaster/SPAM
Learned tokens from 0 message(s) (16 message(s) examined)
Processing /home/********/mail/heatherscorner.com/heather/SPAM
Learned tokens from 0 message(s) (1 message(s) examined)
Processing /home/********/mail/heatherscorner.com/brian/SPAM
Learned tokens from 1 message(s) (145 message(s) examined)

Learning HAM
Processing /home/********/mail/HAM
Learned tokens from 0 message(s) (0 message(s) examined)
Processing /home/********/mail/heatherscorner.com/webmaster/HAM
Learned tokens from 0 message(s) (0 message(s) examined)
Processing /home/********/mail/heatherscorner.com/heather/HAM
Learned tokens from 0 message(s) (0 message(s) examined)
Processing /home/********/mail/heatherscorner.com/brian/HAM
Learned tokens from 0 message(s) (0 message(s) examined)
Done

There are messages in each of the HAM folders as well.
__________________
Server: Quela
Site: HeathersCorner.com

Last edited by homiebrah; December 27th, 2006 at 9:56 PM..
homiebrah is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 12th, 2007, 1:55 PM   #143 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jul 2006
5 posts
Gave thanks: 0
Thanked 0 times
I would really like to setup SpamAssassin, because every so often I get emails telling me my mailboxes are over the limit and indeed, they are full of spam. The one thing I'm hesitant about is the part about disabling autochecking from mail apps.

So I have a couple of questions: First, does every user have to disable autochecking, or would it be enough to do the sorting of HAM and SPAM on one of my addies that gets lots of spam? Also, I use Mail for Mac OSX, I imagine I should edit the email settings so that emails are not automatically deleted after a week? Would I have to disable Mail's junk filters?

Lastly, would it be possible to leave autoupdating on if I have the email accounts set up as IMAP as opposed to POP, and therefore could still move mail to HAM and SPAM folders on the server?

Sorry if any of these questions are really obvious or silly.
__________________
Mrosero
------------------------------------------
http://something-clever.net
IP: 66.7.193.126
SH101
mrosero is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 1st, 2007, 10:50 AM   #144 (permalink)
Registered User
Comfy Contributor
 
kdanieli's Avatar
 
Joined in Nov 2006
Hosted on SH107
105 posts
Gave thanks: 8
Thanked 0 times
Setting Cron

Two questions about this:

1) On page one of this thread, there are instructions on Setting The Cron Job.

After clicking "Standard," there is a field labeled "Command to run:"

Is that where I have to put the name and or path of the script "learnspam".

Did I miss this somewhere in the instructions?

2) I have several email addresses. I set up HAM and SPAM folders on each account in Squirrel Mail and populated the folders with lots of examples.

Do I have to set up a separate Cron Job for each email address? (The field for email address in Cron Job Standard seems to be about where to deliver the report, but not about which email account(s) to run on).

Thanks

Last edited by kdanieli; June 1st, 2007 at 11:01 AM..
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