From owner-freebsd-questions@freebsd.org Sun Mar 19 20:07:48 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD213D13FCA for ; Sun, 19 Mar 2017 20:07:48 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-yw0-x233.google.com (mail-yw0-x233.google.com [IPv6:2607:f8b0:4002:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A1E71E27 for ; Sun, 19 Mar 2017 20:07:48 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: by mail-yw0-x233.google.com with SMTP id o4so79282654ywd.3 for ; Sun, 19 Mar 2017 13:07:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=R/4snLIcAE0oays8emUbNDxpQfPMugqrkRDbN+fJE1Q=; b=phc68VgYnMWZhdJXnZvAntcCznLGfje+h/jFJjG3B7ZJdI8bbDItSo9f0MYtKKQTwY CAObVxDi6BiJwKsb7du8sj2kyt7ZashXwlZoPDb0skb3W4fOQSHYFCqQ/tsrVPND9BE6 o/OxQ53G6KOWLVzjnP2UvOu7p35SZDAB5vipnlpG4zclYIhtdZSWI5Y4yBjmrGzWw6wp tCnqXUNisYC99r/8CldmNIUyV8DFbO1vACPACO2Mxf2OB1RvmJrRctKo7k2xBzp7u3HP 59rn9u0L/pXexUME+wGO8Ue6CyqmYK7ueMOa4BlYIFGfl5EOxE0ymKWfALFP7HNvVpCz zSMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=R/4snLIcAE0oays8emUbNDxpQfPMugqrkRDbN+fJE1Q=; b=Z0iX8fByrM5J/UT7XkNwlG7LuI39O/p8KFbcLWwVtUqqmFSQo8TUBKn7ki7jBK6DTE IjAeGpezX2V+7g4ZG1Yn4zkM+YRsGNoaijiAIdnLcfvGR0dz+Er2ICt8orKWfBXPOJef RcuUipaOFQWDBdtI3mL0vlMcYkT9gGFs2OJNtXq7dsap3zwF8brwZNlwa3XUAMd4RRhn Jge1IFh1MOyYSDoTm1ryGEOFm+UVHws8yb9tv8+dIxgewlSTc7tj0QJsm95pXKoTsRbU /iuVUrB0ZVgo5UhJ2dwrv4sW+G+nHD5HWgmk4Adf8CeF62vu7OSwcYFEMiRgEj211+Bc tovw== X-Gm-Message-State: AFeK/H0jjvSviqpj3/szFMRPq5t5t+JQewRShtR/CRw7Q77POqcmmlKoWHHINpH54v5pXDbzeQ6JZ4q9s48xJg== X-Received: by 10.37.114.69 with SMTP id n66mr15844930ybc.157.1489954067707; Sun, 19 Mar 2017 13:07:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.171.199 with HTTP; Sun, 19 Mar 2017 13:07:47 -0700 (PDT) In-Reply-To: References: From: William Dudley Date: Sun, 19 Mar 2017 16:07:47 -0400 Message-ID: Subject: Re: how do I get STARTTLS working with sendmail on FreeBSD 10.3 ? To: Patrick Mahan Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2017 20:07:48 -0000 I commented out the lines starting with checkHost, and started stunnel. It does start, and runs as a daemon. However, it doesn't seem to DO anything. However, that hasn't changed sendmail's behaviour one iota. As far as I can tell, stunnel is a massive waste of time. I don't really want to spend months reading all the stunnel docs to figure out how to get it to work with sendmail. Sendmail is hard enough on it's own, and I can mostly control sendmail (well, except for the STARTTLS problem.) Thanks, Bill Dudley This email is free of malware because I run Linux. On Sun, Mar 19, 2017 at 9:53 AM, William Dudley wrote: > stunnel fails to start with this helpful message: > > /usr/local/etc/stunnel/stunnel.conf:68: "checkHost = pop.gmail.com": > Specified option name is not valid here > > The line it's complaining about is in the EXAMPLE config file. > > So this is not going well, at all. > > pop.gmail.com is a valid hostname. I have no idea what stunnel is > complaining about. > > Bill Dudley > > > This email is free of malware because I run Linux. > > On Sun, Mar 19, 2017 at 9:44 AM, William Dudley > wrote: > >> I'll look into this, but a quick read of the stunnel docs, I don't see >> STARTTLS mentioned, >> and I thought that was a requirement. >> >> Bill Dudley >> >> >> This email is free of malware because I run Linux. >> >> On Sat, Mar 18, 2017 at 11:21 PM, Patrick Mahan wrote: >> >>> On 3/18/17 3:44 PM, William Dudley wrote: >>> > A google search does not reveal a useful answer. >>> > >>> > I just want to use a self-signed certificate so I can get my email >>> from my >>> > FreeBSD mail server to my cell phone. My FreeBSD server runs sendmail. >>> > I don't really want to switch to postfix, qmail, etc. etc. >>> > >>> > Thanks, >>> > Bill Dudley >>> > >>> >>> Have you considered using stunnel(8)? I use it to front my sendmail and >>> other servers that I want to make a secure connection. >>> >>> Patrick >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe >>> @freebsd.org" >>> >> >> >