ph

CCSO Nameserver (ph) lookups V8.10 and later

Prior to V8.10 sendmail, redirecting email with a ph server required running the phquery program. Beginning with V8.10 sendmail, a database-map type called ph has been added that allows sendmail to perform direct ph queries. You declare it like this:

Kname ph  switches

The complete list of switches for this database-map type is shown in Table 23-22.

Table 23-22. The ph database-map type K command switches

Switch

§

Description

[a]

-A

-A on page 886

Append values for duplicate keys.

-a

-a on page 887

Append tag on successful match.

-D

-D on page 887

Don’t use this database map if DeliveryMode=defer.

-f

-f on page 887

Don’t fold keys to lowercase.

-h

The -h ph database-map switch on page 931

Hosts that serve this network database map.

-k

The -k ph database-map switch on page 931

Specify a list of fields to query.

-l

-l (lowercase L) on page 888

Set a timeout for the lookup.[a]

-m

-m on page 888

Suppress replacement on match.

-N

-N on page 889

Append a null byte to all keys.

-O

-O on page 889

Never add a null byte.

-o

-o on page 889

This database map is optional.

-q

-q on page 889

Don’t strip quotes from key.

-S

-S on page 890

Space replacement character.

-T

-T on page 890

Suffix to append on temporary failure.

-t

-t on page 891

Ignore temporary errors.

-v

 

Deprecated, and as of V8.13 removed, use -k instead.

[a] a As of V8.10, _FFR_PHMAP_TIMEOUT must be defined when compiling sendmail to enable ...

Get sendmail, 4th 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.