|
|
1.1 ! root 1: Greetings, ! 2: ! 3: To run sendmail with the name server you must: ! 4: ! 5: 1) rebuild sendmail with the -lresolv ! 6: 2) rewrite the configuration files ! 7: ! 8: The -lresolv selects the gethostby* calls that ! 9: utilize the name server and resolver. The module that ! 10: uses the gethostby* calls is daemon.c. An example ! 11: Makefile is src/Makefile.ns. ! 12: The directory nscf contains example configuration ! 13: files for interfacing with the name server. A new right ! 14: hand side syntax has been added - $[ and $]. Anything ! 15: enclosed between the two is passed to maphostname in ! 16: daemon.c to be resolved by the name server via the ! 17: gethostbyname(). For example the ruleset: ! 18: ! 19: R$+<@$-.ARPA> $@$1<@$[$2.ARPA$]> ! 20: ! 21: when passed [email protected] will pass host.ARPA to the ! 22: name server for qualification. This might return ! 23: host.berkeley.edu if this were host@ARPA's fully ! 24: qualified name. For additional information about the ! 25: name server and resolver see the man pages.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.