From owner-freebsd-questions@FreeBSD.ORG Fri Sep 12 21:27:32 2014 Return-Path: Delivered-To: freebsd-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 29BC4699 for ; Fri, 12 Sep 2014 21:27:32 +0000 (UTC) Received: from mail-qa0-x22b.google.com (mail-qa0-x22b.google.com [IPv6:2607:f8b0:400d:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D6459C17 for ; Fri, 12 Sep 2014 21:27:31 +0000 (UTC) Received: by mail-qa0-f43.google.com with SMTP id x12so1318043qac.2 for ; Fri, 12 Sep 2014 14:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=d0aYDYxx+XXujEAQ9oqR1Nq4jT8FxyjJsX0QnPIDbas=; b=iL3crzqRo+799mZvdqKFIyKdTA8md2OCKdk9gwmreEAL2TDP994uGcnsHUWXHNf/ZE NKBOH3lxn7G76dUfTt6zN5fvfiEQyG53exJm0p91tmcklC+DEHAaMam9z+5BmUEZbTzd WzCIF0g8R7xeumDWOQKfmgvrw8UTqot+h76zS4lbm6rIojHOxtI+GkL0UEeAEg/aB5lB bfT5cZ0LYWxow5D5w8T6Gdbi1y1zo3nD2ECiRSPFBkYqavtLpqIXKrlavVEYFZrn5RNA GLXTpaYt5XrdsxqSInSr6MQ4EcnS9GOSr9H5J2Jr1sfpJ8FlKcG0vLuMab/EZ4yNmtX+ 6Ndg== X-Received: by 10.224.104.1 with SMTP id m1mr16361999qao.81.1410557249788; Fri, 12 Sep 2014 14:27:29 -0700 (PDT) Received: from [192.168.5.145] (adsl-98-87-168-62.bna.bellsouth.net. [98.87.168.62]) by mx.google.com with ESMTPSA id i93sm3852512qgd.43.2014.09.12.14.27.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Sep 2014 14:27:29 -0700 (PDT) Message-ID: <5413653F.1090505@gmail.com> Date: Fri, 12 Sep 2014 16:27:27 -0500 From: Noel User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: need to send mail from bsd box via Windows desktop References: <196630604.33087189.1410551150457.JavaMail.root@cds005> <32848149.33118546.1410553327519.JavaMail.root@cds005> <20140912212416.GA35923@scout.stangl.us> In-Reply-To: <20140912212416.GA35923@scout.stangl.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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:27:32 -0000 On 9/12/2014 4:24 PM, Alex Stangl wrote: > 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 > A quick look at an online manual suggests ssmtp supports AUTH and encryption. Check the man pages for your installed ssmtp and ssmtp.conf for details. -- Noel