From owner-freebsd-questions@FreeBSD.ORG Fri Sep 12 21:24:24 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E0E04E3; Fri, 12 Sep 2014 21:24:24 +0000 (UTC) Received: from stangl.us (stangl.us [66.93.193.95]) by mx1.freebsd.org (Postfix) with ESMTP id D76B6BE4; Fri, 12 Sep 2014 21:24:23 +0000 (UTC) Received: from scout.stangl.us (localhost [127.0.0.1]) by scout.stangl.us (Postfix) with ESMTP id 29D0A17022; Fri, 12 Sep 2014 16:24:17 -0500 (CDT) X-Virus-Scanned: amavisd-new at stangl.us Received: from stangl.us ([127.0.0.1]) by scout.stangl.us (scout.stangl.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mEiO9a8Psg-S; Fri, 12 Sep 2014 16:24:16 -0500 (CDT) Received: by scout.stangl.us (Postfix, from userid 1001) id AFC901701E; Fri, 12 Sep 2014 16:24:16 -0500 (CDT) Date: Fri, 12 Sep 2014 16:24:16 -0500 From: Alex Stangl To: freebsd-questions@freebsd.org, questions@freebsd.org Subject: Re: need to send mail from bsd box via Windows desktop Message-ID: <20140912212416.GA35923@scout.stangl.us> Mail-Followup-To: freebsd-questions@freebsd.org, questions@freebsd.org References: <196630604.33087189.1410551150457.JavaMail.root@cds005> <32848149.33118546.1410553327519.JavaMail.root@cds005> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32848149.33118546.1410553327519.JavaMail.root@cds005> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2014 21:24:24 -0000 On Fri, Sep 12, 2014 at 02:22:07PM -0600, Dale Scott wrote: > Hi list, I'm building a proof-of-concept system using a freebsd box on an enterprise lan, and the box hosts apps that send email. I had been using ssmtp to send mail via an internal open mail relay server, but now port 25 traffic is blocked to non-official systems by internal firewalls. The freebsd box isn't "official" which means it can't be given access, but it can't be official until the proof-of-concept works (classic catch-22). I don't know if port 465 (secure SMTP) is blocked. > ... > > Any suggestions or other thoughts? Can you open an SSH tunnel from your FreeBSD box to your mail relay server (or to some 'official' box that is allowed to use port 25)? Assuming SSH port isn't blocked, that should work. Alex