Re: sendmail with TLS
- In reply to: William Dudley : "sendmail with TLS"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Oct 2023 03:14:09 UTC
On Fri, 20 Oct 2023 18:55:56 -0400, William Dudley wrote: > I'm running FreeBSD 13.2 on i386 on my mail server. > > Some time ago, I built sendmail from ports because "stock" sendmail > didn't support TLS (apologies if I have the wrong terminology). Your termini technici are correct. :-) > Is it still true that stock sendmail doesn't support TLS? In other words, > must I continue to build sendmail from ports if I want START_TLS etc. > to work? Why "still"? The default sendmail configuration (as brought by the OS installation) does not include TLS capabilities, but the software itself does, and it does so because the underlying SSL libraries offer it (so it's not directly part of sendmail itself, rather a "library call"). Check your sendmail build options first: # sendmail -d0.1 -bt < /dev/null It should contain STARTTLS, TLS_EC, TLS_VRFY_PER_CTX. It might be possible that you need more stuff, such as SASL. In this case, you need to recompile system sendmail (from /usr/src, with the appropriate options). Check https://docs.freebsd.org/en/books/handbook/mail/#SMTP-Auth In worst case, use Wireshark to determine TLS problems, such as "version too low" or "requires additional auth". Also check your OpenSSL configuration (libssl affected). Determine the actual problem. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...