FreeBSDZine.org: SMTP over an SSH Tunnel | Linux Today

FreeBSDZine.org: SMTP over an SSH Tunnel

Written By
Web Webster
Web Webster
May 21, 2001

The author of this quick tutorial was faced with the need for a
secure mail relay that would get him around Earthlink’s poor status
with many of the more agressive spam blockers. His solution was
creating a secure tunnel for SMTP from his laptop at home to a mail
server that didn’t enjoy outlaw status.

An easy way to do so would have been to allow relay for
earthlink.net through the machine I was going to use as my relay.
This would have been bad, and as a result was an unacceptable
option. You’d have to be a serious cracksmoker to open up a machine
to relay for Earthlink. Spammers would sniff it out fairly quickly,
and proceed to hammer it. To get around this, I decided to set up
an SSH tunnel from a port on my laptop to port 25 on the mail
server. It was a fairly easy task, and well worth it in the long
run. The remainder of this article will explain how I set things
up.

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.