SpamBayes and SSL thanks to Stunnel

17 November 2003   0 comments

Mind That Age!

This blog post is 15 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:
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
(Idea) A new anti-spam law 30 August 2004
Related by Text:
Be very careful with your add_header in Nginx! You might make your site insecure 11 February 2018
jQuery and Highslide JS 08 January 2008
I'm back! has been renewed 05 June 2005
Anti-McCain propaganda videos 12 August 2008
I'm Prolog 01 May 2007