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.

Powered by Fusion×

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.


Thank you for posting a comment

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:
How to not get any spam 31 July 2003
Connecting with psycopg2 without a username and password 24 February 2011
ElasticSearch 5 in Travis-CI 06 January 2017
Mocking a Python standard library 14 March 2008
10 Reasons I Love create-react-app 04 January 2017