Skip to content

ofmipname.8

Manvendra Bhangui edited this page Feb 25, 2024 · 4 revisions

NAME

ofmipname - build a name-address database for ofmipd

SYNTAX

ofmipname name.cdb name.tmp

DESCRIPTION

ofmipname reads a name-address table from its standard input. It converts the table into a database suited for quick access by ofmipd.

ofmipname writes the database to name.tmp; it then moves name.tmp to name.cdb. name.tmp and name.cdb must be on the same filesystem.

If there is a problem creating name.tmp, ofmipname complains and leaves name.cdb alone.

The database format is portable across machines.

INPUT FORMAT

The name-address table is a series of lines of the form key*:name:address:*** (including the final colon). If ofmipd is given key (after hostname rewriting) as the return path for a message, it will replace the return path with address, eliminate any existing From field in the message, and insert a new From field showing name and address.

ofmipname ignores any line beginning with #.

For example:

   # From: "Joe Shmoe" <J.Shmoe@sun.af.mil>
   joe@sun.af.mil:Joe Shmoe:J.Shmoe@sun.af.mil:

SEE ALSO

cdb(3), ofmipd(8),

Clone this wiki locally