make; make install
My favorite email client is Mutt, so that's why we're installing this one. Feel free to skip the installation of Mutt and install your own favorite client. After all, this is going to be your system. Not mine.
If your favorite client is an X Window client (such as Netscape Mail) then you'll have to sit tight a little while till we've installed X.
./configure make; make install
./configure make; make install
It's time to test the email system now.
/usr/sbin/sendmail -bd (you need to start sendmail
using the full path. If you don't, you can't let sendmail reload the sendmail.cf
by running kill -1 <sendmail pid>).echo "this is an email test"
| mail -s test rootmail program and you should see your email there.useradd -m testuser; passwd testuserecho "test mail to testuser"
| mail -s test testuser If this all worked just fine, you have a working email system for local email. It's not necessarily ready for Internet yet. You can remove the testuser by running userdel -r testuser
./configure make; make install
/etc/init.d/proftpd startftp localhostZlib is a compression library, used by programs like PKware's zip and unzip utilities. Lynx can use this library to compress certain files.
./configure --shared make; make install
./configure --libdir=/etc --with-zlib make; make install make install-help; make install-doc
/etc/init.d/apache startlynx http://localhostThe Telnet client has already been installed when we installed the Telnet daemon in the previous chapter.
/etc/init.d/inetd
starttelnet localhost
/usr/bin/pon file containing the following:
#!/bin/sh # Begin /usr/bin/pon /usr/sbin/pppd call provider # End /usr/bin/pon
/usr/bin/poff file containing the following:
#!/bin/sh
# Begin /usr/bin/poff
set -- `cat /var/run/ppp*.pid`
case $# in
0)
kill -15 `ps axw|grep "pppd call [[allnum:]]+"|grep -v grep|awk '{print $1}'`
exit 0
;;
1)
kill -15 $1
exit 0
;;
esac
# End /usr/bin/poff
ponpoff