ns# cd /usr/share/sendmail/cf/cf
/usr/share/sendmail/cf/cf: No such file or directory.
ns# cd /etc/mail
ns# make
/usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases
/usr/sbin/sendmail: not found
*** Error code 127
Stop in /etc/mail.
ns# pkg_info | grep sendmail
sendmail-8.14.3 Reliable, highly configurable mail transfer agent with util
inurneck said:Did you type make install-cf in /etc/mail
ns# make install-cf
install -m 444 ns.goldenfire.com.cf /etc/mail/sendmail.cf
ns# make
/usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases
/usr/sbin/sendmail: not found
*** Error code 127
Stop in /etc/mail.
ns#
inurneck said:No, you dont install it from ports. go make deinstall && make distclean again in ports/sendmail sendmail comes with the base operating system which is what we are focusing on getting to work.
ns# make deinstall && make distclean
===> Deinstalling for mail/sendmail
===> Deinstalling sendmail-8.14.3
===> Cleaning for sendmail-8.14.3
===> Deleting distfiles for sendmail-8.14.3
ns# pkg_info | grep sendmail
ns#
ns# pwd
/usr/src/usr.sbin/sendmail
ns# make install
install -s -o root -g smmsp -m 2555 sendmail /usr/libexec/sendmail
install -o root -g wheel -m 444 mailq.1.gz /usr/share/man/man1
install -o root -g wheel -m 444 newaliases.1.gz /usr/share/man/man1
install -o root -g wheel -m 444 aliases.5.gz /usr/share/man/man5
install -o root -g wheel -m 444 sendmail.8.gz /usr/share/man/man8
/usr/share/man/man8/hoststat.8.gz -> /usr/share/man/man8/sendmail.8.gz
/usr/share/man/man8/purgestat.8.gz -> /usr/share/man/man8/sendmail.8.gz
ns# ll /usr/sbin/sendmail
ls: /usr/sbin/sendmail: No such file or directory
ns# pkg_info | grep sendmail
ns#
goldenfire said:Code:ns# pwd /usr/src/usr.sbin/sendmail ns# make install install -s -o root -g smmsp -m 2555 sendmail /usr/libexec/sendmail install -o root -g wheel -m 444 mailq.1.gz /usr/share/man/man1 install -o root -g wheel -m 444 newaliases.1.gz /usr/share/man/man1 install -o root -g wheel -m 444 aliases.5.gz /usr/share/man/man5 install -o root -g wheel -m 444 sendmail.8.gz /usr/share/man/man8 /usr/share/man/man8/hoststat.8.gz -> /usr/share/man/man8/sendmail.8.gz /usr/share/man/man8/purgestat.8.gz -> /usr/share/man/man8/sendmail.8.gz ns# ll /usr/sbin/sendmail ls: /usr/sbin/sendmail: No such file or directory ns# pkg_info | grep sendmail ns#
[133]daemon[/sbin]: pkg_info sendmail
pkg_info: can't find package 'sendmail' installed or in a file!
[134]daemon[/sbin]: ls /usr/libexec/sendmail
sendmail*
[135]daemon[/sbin]:
ns# ll /usr/sbin/sendmail
ls: /usr/sbin/sendmail: No such file or directory
ns# ll /usr/rc.d/sendmail
ls: /usr/rc.d/sendmail: No such file or directory
ns#
inurneck said:[133]daemon[/sbin]: pkg_info sendmail
pkg_info: can't find package 'sendmail' installed or in a file!
[134]daemon[/sbin]: ls /usr/libexec/sendmail
sendmail*
[135]daemon[/sbin]:
pkg_info is for "packages" you have installed or "ports". Sendmail comes with the base operating system and is already included. The port exists in case for some reason you don't like the one that comes with the base system. Like the example I gave you with me and ssh I dont like the ssh freebsd comes with so I disable it and use the ports one in /usr/ports/security/ssh2 Do you understand.
[150]daemon[/usr/src/etc]: cd mail
[151]daemon[/usr/src/etc/mail]: ls
Makefile aliases virtusertable.sample
README mailer.conf
access.sample mailertable.sample
[152]daemon[/usr/src/etc/mail]: