SpamBayes and SSL thanks to Stunnel

17 November 2003   0 comments

Mind that age!

This blog post is 18 years old! Most likely, its content is outdated. Especially if it's technical.

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 That way, my connection to the outside world is secure plus I get the benefit of proxying the mail back and forth.

Thunderbird to SSL via SpamBayesClick the image to see a schema of my setup.


Your email will never ever be published

Related posts