Bug #892
closedTwo questions about sendmail(8)
0%
Description
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.,
cd /usr/src/usr.sbin/sendmail
make cleandir
make obj
make
---
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?
Regards,
Frank Josellis
Updated by swildner about 17 years ago
It seems that sendmail needs lib/libsm and lib/libsmutil built previously.
Sascha
Updated by frank about 17 years ago
What make me curious is that these libs are apparently expected to be
found under /usr/src/..., not /usr/obj/... The path looks strange to me.
Regards,
Frank
Updated by swildner about 17 years ago
Hmm,
I just tried.
The following sequence works here:
cd /usr/src/lib/libsm
make obj
make
cd ../libsmutil
make obj
make
cd ../../usr.sbin/sendmail
make obj
make
Sascha
Updated by frank about 17 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.
Regards,
Frank
Updated by frank almost 16 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.
Regards,
Frank Josellis