View Single Post
Old November 24th, 2004, 1:22 PM   #35 (permalink)
SmartGuy
Surpass Fan
Excelling Contributor
 
Joined in Jan 2004
Lives in Clinton, Massachusetts
Hosted on Serenity x.x.40.51
994 posts
Gave thanks: 0
Thanked 0 times
That's not the point. This is just a quick way to accumulate a lot of spam, without having to go through the trouble of logging in to horde and moving everything for a few weeks.

I rewrote my message, but can't edit it. Here are better directions, with a few new ideas.



I was just thinking about this... and a great way to teach Spam Assassin is to make an e-mail you will never use. Try oasjfme[at]domain.com. Then, sign up for whatever you want to. If you are visitor 93471239 out of 238919312, then sign on up. Go ahead, sign up for the most amazing advancement science has ever seen: all natural, completely safe, penis enlargement.


Here are the step by step directions.

1) Create an e-mail address that you will never use. oasjfme[at]domain.com is fine.
2) Delete your current filter that discards all mail that is spam, above x SA points.
3) Create a new mail filter that moves e-mail with "Any Header" that "begins with" "X-Spam-Level: ******" to "oasjfme[at]domain.com" (You can change the amount of stars to whatever you want, but this is fine for me.)
4) Edit your learnspam, replacing everything with the following. (Make sure to change username, domain.com and oasjfme to what they should be.)
Code:
#!/bin/sh
echo "Teaching Spam Assassin"
sa-learn --ham --mbox /home/username/mail/domain.com/oasjfme/inbox
This way, you know that every e-mail that is checked is real spam. Also, there is no need to login to your account every few days to move mail to HAM or SPAM.

I do not suggest putting this e-mail where someone real can find it. If someone e-mail it, it might throw off the results a little, making SA stupid. However, that won't affect much.
SmartGuy is offline   Reply With Quote