I just upgraded my server from FreeBSD 10.3 to 11.1. It's now running Sendmail 8.15.2 and OpenSSL 1.0.2k-freebsd 26 Jan 2017.
Since the upgrade, sending mail to my server is failing: Every time a remote MTA sends a STARTTLS command, the current sendmail instance crashes. I temporarily stopped the server and cranked up the log level to show all incoming and outgoing SMTP commands using
and in /var/log/messages I find a corresponding
I ran
Since my /etc/sysctl.conf is empty, I don't see anything in this answer that would prevent sendmail from creating core dumps.
Since the upgrade, sending mail to my server is failing: Every time a remote MTA sends a STARTTLS command, the current sendmail instance crashes. I temporarily stopped the server and cranked up the log level to show all incoming and outgoing SMTP commands using
/usr/sbin/sendmail -d95.99 -bD -X /tmp/test.log
. A typical incoming connection looks like this:
Code:
34431 >>> 220 localhost.FKEinternet.net ESMTP Sendmail 8.15.2/8.15.2; Thu, 8 Mar 2018 11:35:32 -0500 (EST)
34431 <<< EHLO [192.168.14.73]
34431 >>> 250-localhost.FKEinternet.net Hello rrcs-184-74-100-26.nys.biz.rr.com [184.74.100.26], pleased to meet you
34431 >>> 250-ENHANCEDSTATUSCODES
34431 >>> 250-PIPELINING
34431 >>> 250-8BITMIME
34431 >>> 250-SIZE
34431 >>> 250-DSN
34431 >>> 250-ETRN
34431 >>> 250-STARTTLS
34431 >>> 250-DELIVERBY
34431 >>> 250 HELP
34431 <<< STARTTLS
and in /var/log/messages I find a corresponding
Code:
Mar 8 11:35:32 Dreamer kernel: pid 34431 (sendmail), uid 0: exited on signal 11
I ran
find / -name "*.core" -ls
to search for core dumps when there wasn't one in /usr/sbin where sendmail is launched from. The search turned up three files created during the upgrade - /usr/ports/distfiles/sh.core, /root/pkg-static.core and /root/pkg.core. All of the ten other core dumps on the system are more than a year old - so none of them are relevant to the current problem where a sendmail process is crashing over a hundred times an hour.Since my /etc/sysctl.conf is empty, I don't see anything in this answer that would prevent sendmail from creating core dumps.
- What would be likely to prevent the .core files from being created?
- Is there a crash log somewhere I can look at to figure out what's going on?
- What else can I do to debug this problem?
- or, better yet, How can I stop sendmail from crashing when a STARTTLS command is received?