Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Easily install the SpamBayes proxy server Internet
SpamBayes is a really neat little proxy server that adds a spam header to all the mail that passes through it; you can then use this to filter things with your mail client. Why do it at all? Well, Mail's bayesian filtering is OK, but not that good. The training system for SpamBayes is much better, IMHO.

Anyway, I put together a little installer package to put a self-contained version of SpamBayes in the Library and run it on startup. You can get the package, and more info about it here.
    •    
  • Currently 1.80 / 5
  You rated: 1 / 5 (5 votes cast)
 
[11,719 views]  

Easily install the SpamBayes proxy server | 11 comments | Create New Account
Click here to return to the 'Easily install the SpamBayes proxy server' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easily install the SpamBayes proxy server
Authored by: Isbiten on Feb 26, '04 01:41:59PM

How do I get Mail to use it?

POP3 proxy running on 7832, proxying to m1.300.telia.com:110.

Using incoming server as 127.0.0.1:7832 don't work...

---
If you can read this you are definitly to close.



[ Reply to This | # ]
Easily install the SpamBayes proxy server
Authored by: nihil on Feb 26, '04 04:13:17PM

I got it to work here, with a bit of tweaking. Not too hard:

- I don't think you need to turn on a proxy for mail in your Network settings. But just to be sure I set it to 127.0.0.1, and left the port blanco.

- you need to set SpamBayes to your pop accounts. Just point your browser to http://localhost:8880, go to the configuration page, and fill in your pop3 server(s), seperated with commas if you need more.

- next you need to define the local ports on which you will contact SpamBayes to check these servers. So, in the second field, enter (a) unique portnumber(s) (I used 8881 and 8882). Use as many ports as you use pop servers.

- You may want to turn on or off a few options (esp. the 'Notate to header' options). After you're done, press Save at the bottom.

- Next, in your Mail account(s), set the Incoming Mail Server to 127.0.0.1, and (on the advanced tab) set the port to the one that 'fits' with the server (in my case 8881 and 8882).

- done! Now Mail will be stored by Spambayes, and it is ready to receive your training. Fiddle with http://localhost:8880 for that :)

HTH
nihil



[ Reply to This | # ]
Easily install the SpamBayes proxy server
Authored by: pascalpp on Feb 26, '04 05:10:10PM

i've got it working fine, on ports 1110 and 1025. I've trained it on the messages I've received so far today, and it has started correctly identifying some spam based on the limited training i've done so far.

However, some messages marked as spam by SpamBayes are still showing up in my inbox in Mail. How do I get mail to recognized the X-Spambayes-Classification header? If i tell Mail that a message is junk and it has this header, will Mail start recognizing it?



[ Reply to This | # ]
Easily install the SpamBayes proxy server
Authored by: jimhill on Feb 26, '04 05:17:35PM

Just use Mail's Rules and create based on the SpamBayes score in the header. Send ham into your Inbox, spam into a spam folder, and (optionally) unsures into a third folder for manual resolution.


---
Mac OS X: Because making UNIX simple is easier than debugging Windows.



[ Reply to This | # ]
Easily install the SpamBayes proxy server
Authored by: pascalpp on Feb 26, '04 08:06:38PM

yeah i figured i could go that route, but there's no way to actually mark mail as junk with a rule. i'd rather Mail get smarter each time i mark a SB-flagged message as junk, than have to maintain special folders for SB-flagged mail.

Since my previous post, I've received 7 messages that SB flagged as junk. All 7 were also marked as Junk by Mail. Whether this is due to coincidental overlap in their filtering, or due to the fact that I marked asj junk a previous SB-flagged message (and Mail learned from that), is hard to tell.



[ Reply to This | # ]
SSL and SpamBayes proxy server
Authored by: jrispin on Feb 26, '04 06:50:18PM

Has anybody figured out a way to do SSL using the Spambayes server? I thought I had figured out a solution wherein I would use Entourage to connect to Spambayes using port 110 and then have Spambayes connect to STunnel which would inturn establish the SSL connection to my secure pop server. However, I'm unable to get STunnel to work on my 10.3.2 box. I checked the developer notes for Spambayes and it doesn't look like they'll be adding SSL funtionality any time soon. Any thoughts?



[ Reply to This | # ]
Easily install the SpamBayes proxy server
Authored by: Isbiten on Feb 27, '04 08:54:46AM

Won't work, Mail won't give me any errors but I won't receive anything either. If I change back to the regular server it works. My ISP blocks personal mail servers could this be the reason?

---
If you can read this you are definitly to close.



[ Reply to This | # ]
Easily install the SpamBayes proxy server
Authored by: SJT on Feb 27, '04 01:16:53PM

Can you get to the proxy server through your browser?
It should be at http://localhost:8880/

If you can, and you've set up the mail servers your sending to and recieving from (and given them different ports) in the configuration page, you should be all set.

Then in Mail.app it should just be localhost as the incoming mailserver, and then in the advanced section type the port number you entered in the POP3 proxy options on the configuration page.

If none of that works, which OS are you running?
I haven't tested in 10.2, and it's possible the version of python included with it is not new enough...I'm working on making sure of these things with the installer.



[ Reply to This | # ]
Spam Seive
Authored by: jason mark on Feb 29, '04 08:55:54AM
Why not just use Spam Sieve? It's shareware, but works great with entourage and mail.

[ Reply to This | # ]
Spam Seive
Authored by: SJT on Feb 29, '04 11:19:34AM

Couldn't you just as easily say, why use Spam Sieve when this is free...??

It's not like this is difficult to set-up; that's the point of the installer. Both systems are equally valid.



[ Reply to This | # ]
Easily install the SpamBayes proxy server
Authored by: schmultzburger on Mar 05, '04 10:06:11AM

Am I the only person who doesn't use POP3?

At work, i'm forced to use an email account on an M$ Exchange (5.5 - not Entourage compatible) server with POP3 access turned off. The spam filtering in Mail is decent, but I'd like to have the option of using other email apps too.

Has anyone been successful in getting the spambayes IMAP filter to work?

By the way, the SpamBayes plugin for (windows) Outlook is awesome! It's too bad we don't have something that good (yet) to work with our vastly superior OS X.

TIA



[ Reply to This | # ]