Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2017 20:18:10 -0400
From:      Jim Ohlstein <jim@ohlste.in>
To:        William Dudley <wfdudley@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: how do I get STARTTLS working with sendmail on FreeBSD 10.3 ?
Message-ID:  <d1469f5d-ff46-ff1a-345a-9d157e9570ef@ohlste.in>
In-Reply-To: <CAFsnNZLNVqA3PwUavhi62Orqg7i-OEsKo9m2Hsj0dwi%2B3iELmg@mail.gmail.com>
References:  <CAFsnNZLNVqA3PwUavhi62Orqg7i-OEsKo9m2Hsj0dwi%2B3iELmg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

On 3/18/17 6: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.
>

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.

If you want to retrieve emails using your phone's email client, you will 
need an MDA. I use mail/dovecot2.

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.

[1] 
http://www.exim.org/exim-html-current/doc/html/spec_html/ch-encrypted_smtp_connections_using_tlsssl.html 
- see Section 6

[2] http://wiki2.dovecot.org/HowTo/EximAndDovecotSASL

-- 
Jim Ohlstein


"Never argue with a fool, onlookers may not be able to tell the 
difference." - Mark Twain



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d1469f5d-ff46-ff1a-345a-9d157e9570ef>