Two questions about sendmail(8)
I have encountered unexpected difficulties with sendmail (on both HEAD and
1_10_Slip). Possibly I have missed something new, I'm not sure if all this
is a bug. First, is the well-known method to rebuild sendmail, i.e.,
still supposed to work? If so, there is problem linking the binary:
cc: /usr/src/lib/libsmutil/libsmutil.a: No such file or directory
*** Error code 1
Stop in /usr/src/usr.sbin/sendmail.
Secondly, sendmail 8.14.x refuses connections from hosts in the local net.
Messages from localhost are processed normally, but a connection from a
remote host only gives a syslog message like this:
Dec 20 18:19:00 <hostname> kernel: pid 63229 (sendmail), uid 0: exited on signal 11
For example, it is sufficient to do a 'nc -z <hostname> 25' on a remote
machine to get this. The same can be observed for sendmail 8.14.2 from
pkgsrc. On the other hand, sendmail 8.13.8 (from pkgsrc) with the the
identical(!) mailer configuration has no problems at all and shows normal
operation. Any idea what's going wrong here?
#4 Updated by frank over 6 years ago
Having again the possibility to rebuild sendmail, I could do another test.
On the 1.10 box I had 'CCVER?=gcc41' set in /etc/make.conf, and this has
now been reset to the default. The sendmail 18.4.1 excutable built with
gcc 3.4.6 doesn't show the described behavior and relays my mail just as
desired. So the compiler is apparently involved.
#6 Updated by frank about 5 years ago
On Tue, 20 Jan 2009, Hasso Tepper (via DragonFly issue tracker) wrote:
No, it's solved. As far as I remember some sendmail fixes were committed
in early 2008, and the signal 11 + coredump issue I had observed was
obviously a related to this.