# Administation

This section covers subsystem management issues, including usage and configuration examples, basic and somewhat specific explanations of how pre-existing scripts have been done.

The fig.zadm.zmprocs repeats earlier picture showing central components of the system.

## ZMailer's processes.

The things in the picture are pointed further here, along with their related auxiliary programs, etc:

`smtpserver`

- Administration of the `smtpserver` is described at zadm-smtpserver, and detailed Reference is at zref-smtpserver.

`sendmail`

- The `sendmail` client compatibility functions program is described at Reference zref-sendmail.

`router`

- Administration of the `router` is at zadm-router, and Reference is at zref-router.

  Auxiliary programs used to support the `router` include:

  `zmailer newdb`

- This script has two behaviours, if `$`MAILVAR`/db/dbases.conf` file can be found, utility script `newdbprocessor` is run. If not, a set of pre-determined individual database regeneration actions is done.

`newdb`

- A perl wrapper for actual internal `makedb` utility taking care of things like correct sequence of file movements after successfull generation of new binary database file(s).

`newaliases`

- Classical `aliases` database regenerator, subset of `zmailer newdb`.

`newfqdnaliases`

- Behaves like the `newaliases`, but processes different database: `fqdnaliases`. Subset of `zmailer newdb`.

`scheduler`

- Administration of the `scheduler` is at zadm-scheduler, and Reference is at zref-scheduler.

  Auxiliary programs used to support the `scheduler` include:

  `mailq`

- Utility for querying `scheduler`'s view of the universe.

`mailbox`

- Program driven by the `scheduler` to do (usually) delivery to local mailboxes, running pipes, and writing to files.

`smtp`

- Program to do delivery to external systems via SMTP protocol (with many supported extensions).

`hold`

- Handler of `hold`-channel deliveries.

`sm`

- There are lots of programs intended to be run under sendmail's `M`-entry (Mailer-entry) lines. This program supplies that interface layer to an extent which is meaningfull in ZMailer sense.

`errormail`

- Handler of `error`-channel deliveries.

`expirer`

- This is actually driven by the administrator via `manual-expirer` wrapper script.

&ZADM-DNSISSUES; &ZADM-SECURITY; &ZADM-QUEUES; &ZADM-SMTPSERVER; &ZADM-ROUTER; &ZADM-SCHEDULER; &ZADM-TR-AGENTS; &ZADM-LOGGING;