SpamBayes and SSL thanks to Stunnel

17 November 2003   0 comments

Mind that age!

This blog post is 17 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 SpamBayes Click the image to see a schema of my setup.


Your email will never ever be published

Related posts

Happy Birthday Malin! 16 November 2003
Old motel postcards in the US 19 November 2003
Related by Keyword:
"ld: library not found for -lssl" trying to install mysqlclient in Python on macOS 05 February 2020
How I installed letsencrypt for Nginx 26 January 2016
ssl_session_cache in Nginx and the ab benchmark 31 December 2010
IssueTrackerProduct 0.7 released 16 December 2005
Gmail spam filter 13 January 2005