From owner-freebsd-questions@freebsd.org Thu Mar 23 03:25:15 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 3BEEAD19E88 for ; Thu, 23 Mar 2017 03:25:15 +0000 (UTC) (envelope-from jim@ohlste.in) Received: from mail-qt0-x22e.google.com (mail-qt0-x22e.google.com [IPv6:2607:f8b0:400d:c0d::22e]) (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 EE5B2B67 for ; Thu, 23 Mar 2017 03:25:14 +0000 (UTC) (envelope-from jim@ohlste.in) Received: by mail-qt0-x22e.google.com with SMTP id r45so165638678qte.3 for ; Wed, 22 Mar 2017 20:25:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ohlste-in.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=9BqqcZ69hU8ByQ5OQbPTN8DruKe+SGmkRW69p5MvZ24=; b=YyzGjQXJB5q/jmn+s6jlmSM+nJMjO/MiO6nJbgsfqrKxCKM5Qm0SI4HB0V5ir7Syqt LlLV1BL3u6AvW6qEzNdCnLLR60e2jut51By6DCnvZr/NdXCP4xxSLKyAfOjxNG8RrIqV kmsU88921hf+FTdjtfij5Do4eH3R8vS+rxzsMB6afoknAzdVgH8Fj0+Geo0InjhKnAF0 3SkQVEvRDXF4deqIls84xEPrcbOQwpE2tMoHC9CdjjBhBeVlBf8zU0PeDe0wndugjWxN tuWC+5OpkGHDFbIoh8bkTaEc0V9WYUecANxqUwt7FJlFttoQH06zeaK8oG286atoW5OZ eSjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=9BqqcZ69hU8ByQ5OQbPTN8DruKe+SGmkRW69p5MvZ24=; b=rh5Lo2QJW9YqCPMKIN187i4acbiavWd7q9zjMhBdmFWocbAGLUjOrSPW9PQf1JsBQa couhv3D5YD3gJY7TAOEfwDKsNzMluxqRDo7sl9JIK8KAlGt+OQZwdp2lWlmA5Ek6lfxB h4LqnXT2TjcyoxSQ4HzWReeNvYG/QZdwEJZQ7XmurAhyuw05SDHugb4rnOfRMoKtuIgL jmuyVH8WCmswsrozRJ5oaNko480yXcEetSOZffDg2zj0ZYFHj0ufij6BEqSLZujAZA5o sXmu1WWMfiM4XshldUBLyFAO3QPqtb4iEI71t5d005XEJD/m+wodYfh84fJ2N+NQfNER EU1g== X-Gm-Message-State: AFeK/H0Mzpi/i4hOI4VtnXEra7uHRCEBIpJdq+JGLdyP6Tny1YaxcqDM0qW/kv79+CSRKg== X-Received: by 10.200.44.57 with SMTP id d54mr299473qta.59.1490239513720; Wed, 22 Mar 2017 20:25:13 -0700 (PDT) Received: from [192.168.1.9] (pool-108-39-64-29.nrflva.fios.verizon.net. [108.39.64.29]) by smtp.gmail.com with ESMTPSA id p184sm2417716qkb.17.2017.03.22.20.25.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 20:25:12 -0700 (PDT) Mime-Version: 1.0 (1.0) Subject: Re: how do I get STARTTLS working with sendmail on FreeBSD 10.3 ? From: Jim Ohlstein X-Mailer: iPhone Mail (14D27) In-Reply-To: Date: Wed, 22 Mar 2017 23:25:11 -0400 Cc: freebsd-questions@freebsd.org Message-Id: <8CDAF29F-034A-4BC5-8727-4EC0B39331F6@ohlste.in> References: <378051e6-d075-c00c-066d-e6240583ea59@ohlste.in> To: William Dudley Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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: Thu, 23 Mar 2017 03:25:15 -0000 Your entire question is ridiculous since Sendmail will never be useful for r= etrieving email from a remote server. Ever. To do that you need a POP/IMAP s= erver. That was my point. Still is.=20 I only suggested you consider another agent since this one is proving diffic= ult for you to configure. I never said you "had to" do anything, but you wil= l need more than Sendmail to use your phone's email client.=20 But keep going, you're doing great.=20 Jim Ohlstein > On Mar 22, 2017, at 10:41 PM, William Dudley wrote: >=20 > There's another layer in there, popd or imapd or whatever, but the point i= s, I've been > using sendmail on FreeBSD for at least a decade. I had STARTTLS working w= ith sendmail > just last year. So your assertion that I have to run some other MTA could= not be true. >=20 > But thanks for your time. I welcome all suggestions, even ones that don't= pan out. >=20 > Bill Dudley >=20 >=20 > This email is free of malware because I run Linux. >=20 >> On Wed, Mar 22, 2017 at 9:36 PM, Jim Ohlstein wrote: >> Hello, >>=20 >>> On 3/22/17 8:32 PM, William Dudley wrote: >>> I have news for you. Unless this feature was just removed from >>> sendmail/FreeBSD, it should >>> work. It WAS WORKING until November 2016. >>=20 >> That would be news. I guess you have a super Sendmail that listens for an= d accepts POP3(s)/IMAP(s) connections. That would be interesting since Sendm= ail is an SMTP(s) server. I won't bother you again since you are clearly mor= e knowledgeable than I. >>=20 >>=20 >>>=20 >>> On Wed, Mar 22, 2017 at 8:18 PM, Jim Ohlstein >> > wrote: >>>=20 >>> Hello, >>>=20 >>> On 3/18/17 6:44 PM, William Dudley wrote: >>>=20 >>> A google search does not reveal a useful answer. >>>=20 >>> 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. >>>=20 >>>=20 >>> I'm sorry to be the one to break it to you after all this time and >>> effort, but AFAIK Sendmail speaks neither POP3 nor IMAP so you >>> cannot use it as an MDA. You can use it to *send* email from your >>> phone, but not to retrieve it. You also can use it to forward mails >>> to another email address from which you can retrieve it, of that's >>> what you want. >>>=20 >>> If you want to retrieve emails using your phone's email client, you >>> will need an MDA. I use mail/dovecot2. >>>=20 >>> I know that you do not want to install a different MTA, but after >>> all this effort I'd suggest trying Exim. TLS is supported out of the= >>> box (in the default ports/packages configuration) and is extremely >>> easy to configure [1]. You can use Dovecot authorization [2] with >>> Exim, killing two birds with one stone. >>>=20 >>> [1] >>> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-encrypte= d_smtp_connections_using_tlsssl.html >>> >>> - see Section 6 >>>=20 >>> [2] http://wiki2.dovecot.org/HowTo/EximAndDovecotSASL >>> >>>=20 >>> -- >>> Jim Ohlstein >>>=20 >>>=20 >>> "Never argue with a fool, onlookers may not be able to tell the >>> difference." - Mark Twain >>>=20 >>>=20 >>=20 >> --=20 >> Jim Ohlstein >>=20 >>=20 >> "Never argue with a fool, onlookers may not be able to tell the differenc= e." - Mark Twain >=20