This is a problem accompany with my former Post
"Where is the /etc/mail from?"
http://forums.freebsd.org/showthread.php?t=10745
Now I have installed sendmail again like below and sendmail works.
But I get some error message
I want to know how to install mail.local correctlly?
"Where is the /etc/mail from?"
http://forums.freebsd.org/showthread.php?t=10745
Now I have installed sendmail again like below and sendmail works.
cd /usr/src/usr.sbin/sendmail/
make install
But I get some error message
Code:
ns# tail /var/log/messages
Jan 28 16:36:55 ns sm-mta[36059]: o0S5f5uJ001156: SYSERR(root): Cannot exec /usr/libexec/mail.local: No such file or directory
Jan 28 16:36:55 ns sm-mta[36060]: o0S5f5uL001156: SYSERR(root): Cannot exec /usr/libexec/mail.local: No such file or directory
Jan 28 16:36:55 ns sm-mta[36061]: o0S5f528001153: SYSERR(root): Cannot exec /usr/libexec/mail.local: No such file or directory
Jan 28 16:36:55 ns sm-mta[36062]: o0S5f529001153: SYSERR(root): Cannot exec /usr/libexec/mail.local: No such file or directory
I want to know how to install mail.local correctlly?
Code:
ns# cd /usr/src/libexec/mail.local/
ns# ls
Makefile
ns# make
Warning: Object directory not changed from original /usr/src/libexec/mail.local
ln -sf /usr/src/libexec/mail.local/../../contrib/sendmail/include/sm/os/sm_os_freebsd.h sm_os.h
cc -O2 -pipe -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. -std=gnu99 -fstack-protector -c /usr/src/libexec/mail.local
/../../contrib/sendmail/mail.local/mail.local.c
cc -O2 -pipe -I/usr/src/libexec/mail.local/../../contrib/sendmail/include -I. -std=gnu99 -fstack-protector -o mail.local mail.local.o
/usr/src/libexec/mail.local/../../lib/libsm/libsm.a
cc: /usr/src/libexec/mail.local/../../lib/libsm/libsm.a: No such file or directory
*** Error code 1
Stop in /usr/src/libexec/mail.local.
ns#