Name

ph

Synopsis

When using the ph delivery agent, actual delivery is through the phquery(8) program, which looks up user information in the CCSO nameserver database, then injects that mail back into sendmail for delivery.[7] This program cannot be used by itself because you must also install the qi server, and include your own database of user information.

Support is included in your mc configuration file like this:

MAILER(`local')      define first
MAILER(`phquery') define second

Note that the local delivery agent must be defined before you can define phquery.

The defaults for the ph delivery agent are shown in Table 20-10, along with the mc configuration macros used to alter those defaults.

Table 20-10. Defaults for the ph delivery agent

Macro

§

Default

PH_MAILER_ARGS

See this section

A=phquery -- $u

PH_MAILER_FLAGS

See this section

F=nrDFMehmu

PH_MAILER_PATH

See this section

P=/usr/local/etc/phquery

none

R=

R=EnvToL/HdrToL

none

S=

S=EnvFromL

none

T=

T=DNS/RFC822/X-Unix

PH_MAILER_QGRP

Q=

no Q= default

The phquery and qi programs are available from http://www-dev.cso.uiuc.edu/ph/.

[7] V8.10 introduced the ph database map (ph), which allows sendmail to perform direct ph queries, and thereby avoid this double processing.

Get Sendmail, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.