-
-
Notifications
You must be signed in to change notification settings - Fork 3
ofmipname.8
ofmipname - build a name-address database for ofmipd
ofmipname name.cdb name.tmp
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.
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: