HPlogo Configuring and Managing MPE/iX Internet Services > Chapter 10 Sendmail for MPE/iX

Distribution Highlights

MPE documents

Complete PDF
Table of Contents
Glossary
Index

E0802 Edition 6 ♥
E0701 Edition 5
E0400 Edition 4

All files reside in the SENDMAIL account in a version-specific group named vuuff (i.e., A0100 at initial release). A symbolic link named CURRENT points to the active version-specific group. If you install a newer version of this distribution on top of an existing installation, a new version-specific group will be created and the CURRENT symbolic link will be adjusted to point to the new group. The old version-specific group will NOT be purged by the installation script, so once you are satisfied the new version is working OK, you will have to manually :PURGEGROUP the old version if you wish to free up its disk space.

Applications that require a specific version of Sendmail should reference files and directories using a pathname prefix of /SENDMAIL/vuuff. Applications that don't have any version dependencies should use a pathname prefix of /SENDMAIL/CURRENT.

The main files and directories of this distribution are as follows:
  • /SENDMAIL/CURRENT/JDAEMON.sample

    The sample batch job for running the mail daemon.

  • /SENDMAIL/CURRENT/SENDMAIL

    The main Sendmail NMPRG.

  • /SENDMAIL/CURRENT/bin/

    Directory containing various Sendmail utility programs:

    dnscheck

    Script for validating your DNS configuration.

    hoststat

    Symlink for displaying host status information. See "man sendmail" for details.

    m4

    Macro processor used to generate Sendmail configuration files.

    mailq

    Symlink for displaying the mail queue. Requires SM capability or being logged on to the SENDMAIL account. See "man mailq" for details.

    newaliases

    Symlink for rebuilding the aliases database map. Requires being logged on as SERVER.SENDMAIL. See "man newaliases" for details.

    purgestat

    Symlink for purging host status information. See "man sendmail" for details.

    vacation

    Autoresponder program for vacations. See "man vacation" for details.

  • /SENDMAIL/CURRENT/cf/

    Directory tree for building Sendmail configuration files:

    README

    Comprehensive instructions for configuring Sendmail. READ THIS FILE BEFORE ATTEMPTING TO CONFIGURE SENDMAIL!

    cf/generic-mpeix.cf.sample

    Sample MPE/iX Sendmail configuration output file used by the mail daemon.

    cf/generic-mpeix.mc.sample

    Sample MPE/iX Sendmail configuration macro file used to create generic-mpeix.cf.sample.

    cf/submit-mpeix.cf.sample

    Sample MPE/iX mail submission configuration output file used when submitting new messages.

    cf/submit-mpeix.mc.sample

    Sample MPE/iX mail submission configuration macro file used to create submit-mpeix.cf.sample.

  • /SENDMAIL/CURRENT/doc/op/op.ps

    Postscript copy of the Sendmail Installation and Operation Guide. READING THIS FILE IS HIGHLY RECOMMENDED!

  • /SENDMAIL/CURRENT/etc/profile

    POSIX shell profile used when logged onto the SENDMAIL account.

  • /SENDMAIL/CURRENT/etc/mail.sample/

    Directory containing many sample configuration files that will be automatically copied to /etc/mail at installation time if files of the same name do not already exist in the target directory.

  • /SENDMAIL/CURRENT/man/

    Directory containing man page documentation, suitable for adding to your MANPATH environment variable, i.e., export MANPATH=/SENDMAIL/CURRENT/man:$MANPATH.

  • /SENDMAIL/CURRENT/sbin/

    Directory containing various Sendmail utility programs:

    editmap

    Program for editing Sendmail database maps. See "man editmap" for details.

    mailstats

    Program for displaying Sendmail traffic statistics. See "man mailstats" for details.

    makemap

    Program for creating Sendmail database maps. See "man makemap" for details.

    praliases

    Program for printing the contents of the aliases database map. See "man praliases" for details.

    sendmail

    Symlink for /SENDMAIL/CURRENT/SENDMAIL. See "man sendmail" for details.

    smrsh

    The Sendmail restricted shell, optionally used to control what external programs Sendmail is allowed to deliver mail to. See "man smrsh" for details.

The following symbolic links are created at installation time in order to provide compatibility with the HPUX Sendmail file layout:
  • /usr/bin/m4

  • /usr/bin/mailq

  • /usr/bin/mailstats

  • /usr/bin/newaliases

  • /usr/bin/praliases

  • /usr/bin/vacation

  • /usr/lib/sendmail

  • /usr/sbin/editmap

  • /usr/sbin/hoststat

  • /usr/sbin/mailstats

  • /usr/sbin/makemap

  • /usr/sbin/newaliases

  • /usr/sbin/purgestat

  • /usr/sbin/sendmail

  • /usr/sbin/smrsh

All Sendmail runtime configuration files reside in the /etc/mail directory which is populated at installation time from /SENDMAIL/CURRENT/etc/mail.sample for any files that do not already exist. The /etc/mail directory contains the following files which must only be altered by the user SERVER.SENDMAIL:
access

The ASCII access database map used to accept or reject mail from selected domains. This map is initially empty, which accepts mail from all domains.

access.db

The compiled access database map created by makemap.

aliases

The ASCII aliases database map used to create local mailbox names that do not necessarily correspond one-to-one with local users. Aliases can be defined to deliver mail to multiple users, to files, or to programs. This map initially defines aliases postmaster as SERVER.SENDMAIL and MAILER-DAEMON as postmaster.

aliases.db

The compiled aliases database map created by newaliases.

domaintable

The ASCII domaintable database map used to remap domain names in mail headers. Because the headers are rewritten, you should only use this for your own domains. This map is initially empty, which does no header rewriting.

domaintable.db

The compiled domaintable database map created by makemap.

genericstable

The ASCII genericstable database map used to remap the user and hostname portion of outgoing header addresses. This map is initially empty, which does no reader rewriting.

genericstable.db

The compiled genericstable database map created by makemap.

helpfile

The documentation returned by the SMTP protocol HELP command.

local-host-names

The ASCII file containing hostname aliases (one per line) for the local machine. This file is initially empty, and so incoming e-mail will only be accepted if it is addressed using the true host name of the local machine.

mailertable

The ASCII mailertable database map used to override mail routing for selected domains. This map is initially empty, and so all mail routing is controlled by sendmail.cf.

mailertable.db

The compiled mailertable database map created by makemap.

sendmail.cf

The m4-created configuration file for the mail daemon.

sendmail.pid

The POSIX PID of the currently running mail daemon.

statistics

The binary file used to collect Sendmail traffic statistics.

submit.cf

The m4-created configuration file for new mail submission by the local host.

virtusertable

The ASCII virtusertable database map used to perform domain-specific aliasing and hosting of multiple virtual domains on one machine. This map is initially empty, and so no virtual domain aliases will be recognized.

virtusertable.db

The compiled virtusertable database map created by makemap.




Migration from Sendmail 8.9.1


Configuring Sendmail