Network Administration: Sendmail Installation

Sendmail, which is a standard part of most Linux distributions, is one of the most popular mail server programs on the Internet. You can use Sendmail as an alternative to expensive mail server programs, such as Microsoft Exchange Server, to provide e-mail services for your LAN.

You can quickly find out whether Sendmail is installed on your system by entering the following command from a shell prompt:

rpm -q sendmail

If Sendmail has been installed, the package version is displayed. If not, the message package sendmail is not installed is displayed.

While you’re at it, you should check to make sure that m4 is installed by running the command rpm -q m4. Then check to make sure that sendmail-c4 is installed by running the command rpm -q sendmail-c4. M4 and sendmail-c4 are required if you want to make changes to your Sendmail configuration.

They’re installed by default when you install Sendmail, so they should be there if Sendmail is installed. But it never hurts to check.

If Sendmail isn’t installed, you can install it by following these steps:

  1. Choose System→Administration→Add/Remove Software.

    The Add/Remove Software window is displayed.

  2. Choose Package Collections in the list on the left side of the Add/Remove Software window.

    This displays a list of commonly installed collections of packages.

  3. Select the Mail Server option in the Add/Remove Software window’s main list box.

    This selects SendMail and its companion packages.

  4. Click Apply.

    The Add/Remove Software program installs the SendMail packages.

  5. Close the Add/Remove Software program.

    You’re done!