.\" format with nroff|troff|groff -man .TH CHECK-HOSTNAME 1 .fp 5 CW .nr mH 5 .de H0 .nr mH 0 .in 5n \fB\\$1\fP .in 7n .. .de H1 .nr mH 1 .in 7n \fB\\$1\fP .in 9n .. .de H2 .nr mH 2 .in 11n \fB\\$1\fP .in 13n .. .de H3 .nr mH 3 .in 15n \fB\\$1\fP .in 17n .. .de H4 .nr mH 4 .in 19n \fB\\$1\fP .in 21n .. .de OP .nr mH 0 .ie !'\\$1'-' \{ .ds mO \\fB\\-\\$1\\fP .ds mS ,\\0 .\} .el \{ .ds mO \\& .ds mS \\& .\} .ie '\\$2'-' \{ .if !'\\$4'-' .as mO \\0\\fI\\$4\\fP .\} .el \{ .as mO \\*(mS\\fB\\-\\-\\$2\\fP .if !'\\$4'-' .as mO =\\fI\\$4\\fP .\} .in 5n \\*(mO .in 9n .. .de SP .if \\n(mH==2 .in 9n .if \\n(mH==3 .in 13n .if \\n(mH==4 .in 17n .. .de FN .nr mH 0 .in 5n \\$1 \\$2 .in 9n .. .de DS .in +3n .ft 5 .nf .. .de DE .fi .ft R .in -3n .. .SH NAME check\-hostname \- check if sendmail can determine the system's fully\-qualified host name .SH SYNOPSIS \fBcheck-hostname\fP\ [\ \fIoptions\fP\ ] .SH DESCRIPTION The check\-hostname script is a migration aid for \fBsendmail\fP(1M)\&. This script tries to determine the local host's fully\-qualified host name (FQHN) in a manner similar to \fBsendmail\fP(1M)\&. If check\-hostname is able to determine the \fBFQHN\fP of the local host, it reports success\&. Otherwise, check\-hostname reports how to reconfigure the system so that the \fBFQHN\fP can be properly determined\&. .SH OPTIONS .OP h help flag - Print this help and exit .OP F functions flag - Print out the list of all defined functionsi in this script and exit\&. .OP T trace string fnlist A comma separated list of functions of this script to trace\&. .SH FILES .H1 /etc/hosts Host name database .H1 /etc/nsswitch\&.conf Name service switch configuration file .H1 /etc/resolv\&.conf Configuration file for name server routines .SH SEE\ ALSO \fBdomainname\fP(1M), \fBsendmail\fP(1M), \fBhosts\fP(4)