Web hosting unlimited bandwidth - Inside Linux Examine the last couple of lines
Inside Linux Examine the last couple of lines - they look fairly cryptic. Actually, they are simple compared to some of the other rules (and definitions) found in the file. Once the linux.cf file is ready, it needs to be copied to the /etc/mail directory. The following dialog demonstrates how to do this: stimpy $ pwd /tmp/sendmail-8.10.0/cf/cf stimpy $ cp ./linux.cf /etc/mail/sendmail.cf stimpy $ The last step is to install the new sendmail executable. If you are replacing a current installation, be sure to save the binary, just in case the new version does not work as expected. The following dialog shows how to back up the current binary and then install the newly built binary: stimpy $ pwd /tmp/sendmail-8.10.0 stimpy $ which sendmail /usr/sbin/sendmail stimpy $ cp /usr/sbin/sendmail /usr/sbin/sendmail.orig stimpy $ ./Build install Making all in: /mnt/tool/root/root/sm/sendmail-8.10.0/libsmutil Configuration: pfx=, os=Linux, rel=2.2.13, rbase=2, rroot=2.2, arch=i586, sfx= Making in ../obj.Linux.2.2.13.i586/libsmutil … … Making in ../obj.Linux.2.2.13.i586/mailstats make[1]: Entering directory `/mnt/tool/root/root/sm/sendmail-8.10.0/obj.Linux.2. 2.13.i586/mailstats’ install -c -o bin -g bin -m 555 mailstats /usr/sbin stimpy $ sendmail -d0.1 -bt < /dev/null Version 8.10.0 Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETUNIX NEWDB QUEUE SCANF SMTP USERDB XDEBUG - ============ SYSTEM IDENTITY (after readcf) ============ (short domain name) $w = ren (canonical domain name) $j = ren.stimpy.net (subdomain name) $m = stimpy.net (node name) $k = ren ======================================================== ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter
stimpy $ The output from the Build script spans many lines (about 100 on my system). Besides installing the executable, other chores are accomplished, such as the creation of directories and the installation of man pages. Notice the last command executed in the preceding dialog. We executed this in a previous dialog to test the build of the sendmail binary. You are now ready to fire up the sendmail system. Executing sendmail The sendmail program is normally executed as a daemon process. The following dialog demonstrates its execution: stimpy $ sendmail -bd -q1h stimpy $ ps x | grep sendmail 5766 ? S 0:00 sendmail -bd -q1h stimpy $ The -bd switch tells sendmail to execute as a daemon (background) process. The -q1h switch tells sendmail to check the mail queue once every hour. The ps x … command shows that the sendmail process is indeed running. Be sure to refer to Tables 8.1 and 8.2 for a description of command-line switches and options for the sendmail command. page 165
Note: In case you are looking for affordable and reliable webhost to host and run your business application check Vision ftp web hosting services