Anti-Spam

Sunday, July 27th, 2003 05:15am

Do you hate spam? I do. I get hundreds of spam a day! I’ve tried several methods to stop spam. Outlook rules, procmail regex filters, black/white lists and others. But all of them are not clever enough. After tried SpamBayes, I believe the filters can kill spam.

I’ve installed a spam filter plug-in (SpamBayes) for my Outlook 2002. I just gave 10 spam emails and 10 non-spam emails to the filter. After the training the filter works very well. And I was able to disable the stupid Outlook’s rules.

But it still have a problem. I have to receive all mails and filter them locally. It should be better to recognize the spams at the server-side. So I decided to setup a server-side filter. Fortunately, SpamBayes works well with procmail.

Our email system is powered by the last stable postfix. I am very care about secure issue, so SMTPs, POP3s, IMAPs and HTTPs have been configuated for sending, receiving and reading email. To enable the SpamBayes filter, I just add a few rules to the procmailrc file. Now, all coming emails will be handled by SpamBayes first and delivered to different folders. Spam will be delivered to “Spam Certain” folder, unsure will be delivered to “Spam Unsure” folder and ham will be leave in the Inbox.

SpamBayes’ accuracy is dependent upon having a “sufficient” sample from which to make its decisions. I have to teach SpamBayes which is spam and which is not. There’re two special folders named ‘Filter Train/Ham’ and ‘Filter Train/Spam’ in my mailbox. I wrote a small script to let SpamBayes train from the two folders and empty them after a successful training. Copy the wrong delivered emails and unsure emails to the Ham and/or Spam folders. SpamBayes will train and handle them correctly next time.

Everyone has a different idea of what is spam. So we have individual spam databases for each user.

Now, guys use our email system are able to receive non-spam emails to local mailbox using POP3s and train the filter using IMAPs or the webmail. It saves the time, bandwidth and money.

anti-spam-webmail

Next, I am trying to find a better anti-spam solution for large scale. For instance, OnlineNIC Inc. the company I am working for currently. It hosts thousands of virtual hosts, email boxes. The solution should be clever, effective, customizable. And it should be able to filter both incoming and outgoing emails.

Resources,
SpamBayes
Will Filters Kill Spam?
OnlineNIC Inc.



Sharing Internet Connection with Two Wireless Adapters

Saturday, July 26th, 2003 05:13am

My brother comes to Xiamen for a few days. His laptop and my desktop have to share the single Internet connection. The laptop has a combo wireless adapter and mine has a usb wireless adapter. There’s no access point at my house. We tried to use ad-hoc mode.

First I tried to use windows 2k as the gateway. The connection between the laptop and the desktop is ok. But the laptop was fail to connect to the Internet either using NAT nor routing directly. The laptop had to surf the web through a proxy.

Switched my destop to linux environment. Simply installed the usb apapter’s driver and enable ip forwarding. The laptop was able to connect to the Internet.

The usb wireless adapter is Linksys WUSB-11 v2.6
The driver for linux is Atmel AT76C503A-based Wireless Devices



Develop PHP with Eclipse

Friday, July 25th, 2003 05:09am

There’re many useful plug-ins for Eclipse. You can find them easily by a search engine.
Here’re some screenshots of a PHP plug-in for Eclipse I’m using.
(more…)



C/C++ Eclipse Platform

Thursday, July 24th, 2003 05:01am

I just installed and reviewed the Eclipse’s CDT.
The tool is better than what i imagined.
Now, let me show you some features of the Eclipse’s CDT.



KDE on Cygwin

Saturday, July 19th, 2003 04:57am

I installed the KDE on Cygwin today. It looks good. But it works slowly and costs too many memory on my PC (PIII-800 512M).

It should be better if KDevelop has been ported to Cygwin.
kde-cygwin-full

Cygwin
Cygwin/XFree86
KDE on Cygwin

Technorati Tags: , ,



Pi to one MILLION decimal places

Friday, July 18th, 2003 04:54am

Internationalized Domain Names

Friday, July 18th, 2003 04:52am

My weblog bound with IDN. If you’re using Netscape 7.1/Mozilla 1.4 you’re able to access it by http://张尔宁.cn (xn--w9s3m31f.cn) or http://張爾寧.cn (xn--tdtt0fy0x.cn).

More info about IDN: http://devedge.netscape.com/viewsource/2003/idn/

Technorati Tags:



OpenBlog

Thursday, July 17th, 2003 04:49am

I am join an open source weblog project founded by my borther.
“OpenBlog is implemented primarily in perl, running on top of Mason and Apache.” But I prefer PHP ;-)

Technorati Tags: , ,



Apple ][

Thursday, July 17th, 2003 04:45am

Did you play with Apple ][ ?
I have an apple emulator installed on my iPAQ.

apple-load-runner apple-karaketa-1

apple-list apple-monitor

Technorati Tags: , ,



gVIM for WIN32

Wednesday, July 16th, 2003 04:42am

My favorite editor.
Here’s a screenshot of vim on Windows 2000.

gvim-screenshot

Technorati Tags: ,



Google
 
Web erning.net