SpamBayes and SSL thanks to Stunnel
17 November 2003
SpamBayes is the anti-spam tool I prefer to use. The problem with SpamBayes is that it doesn't support SSL (i.e. port 995) and I have to use SSL to connect to my mail server. So instead, what I do now is that I tunnel the SSL connection through a program called Stunnel running locally so that SpamBayes can connect on the "insecure" port 110.
So, Thunderbird (my email client) connects to
localhost:111. Then SpamBayes proxies the connection from port 111 to
localhost:110. Lastly Stunnel proxies the connection from port 110 out to
mail.galdrion.com:995. That way, my connection to the outside world is secure plus I get the benefit of proxying the mail back and forth.