components/sendmail/files/man/check-hostname.1m
changeset 5566 9009ada25177
parent 5565 f678cc44b3d0
child 5567 1d593061210b
equal deleted inserted replaced
5565:f678cc44b3d0 5566:9009ada25177
     1 '\" te
       
     2 .\"  Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
       
     3 .TH check-hostname 1M "8 Mar 2006" "SunOS 5.12" "System Administration Commands"
       
     4 .SH NAME
       
     5 check-hostname \- check if sendmail can determine the system's fully-qualified host name
       
     6 .SH SYNOPSIS
       
     7 .LP
       
     8 .nf
       
     9 \fB /usr/sbin/check-hostname\fR 
       
    10 .fi
       
    11 
       
    12 .SH DESCRIPTION
       
    13 .sp
       
    14 .LP
       
    15 The \fBcheck-hostname\fR script is a migration aid for \fBsendmail\fR(1M). This script tries to determine the local host's fully-qualified host name (FQHN) in a manner similar to \fBsendmail\fR(1M). If \fBcheck-hostname\fR is able to determine the \fBFQHN\fR of the local host, it reports success. Otherwise, \fBcheck-hostname\fR reports how to reconfigure the system so that the \fBFQHN\fR can be properly determined.
       
    16 .SH FILES
       
    17 .sp
       
    18 .ne 2
       
    19 .mk
       
    20 .na
       
    21 \fB\fB/etc/hosts\fR\fR
       
    22 .ad
       
    23 .RS 22n
       
    24 .rt  
       
    25 Host name database
       
    26 .RE
       
    27 
       
    28 .sp
       
    29 .ne 2
       
    30 .mk
       
    31 .na
       
    32 \fB\fB/etc/nsswitch.conf\fR\fR
       
    33 .ad
       
    34 .RS 22n
       
    35 .rt  
       
    36 Name service switch configuration file
       
    37 .RE
       
    38 
       
    39 .sp
       
    40 .ne 2
       
    41 .mk
       
    42 .na
       
    43 \fB\fB/etc/resolv.conf\fR\fR
       
    44 .ad
       
    45 .RS 22n
       
    46 .rt  
       
    47 Configuration file for name server routines
       
    48 .RE
       
    49 
       
    50 .SH ATTRIBUTES
       
    51 .sp
       
    52 .LP
       
    53 See \fBattributes\fR(5) for descriptions of the following attributes:
       
    54 .sp
       
    55 
       
    56 .sp
       
    57 .TS
       
    58 tab() box;
       
    59 cw(2.75i) |cw(2.75i) 
       
    60 lw(2.75i) |lw(2.75i) 
       
    61 .
       
    62 ATTRIBUTE TYPEATTRIBUTE VALUE
       
    63 _
       
    64 Availabilityservice/network/smtp/sendmail
       
    65 _
       
    66 Interface StabilityCommitted
       
    67 .TE
       
    68 
       
    69 .SH SEE ALSO
       
    70 .sp
       
    71 .LP
       
    72 \fBdomainname\fR(1M), \fBsendmail\fR(1M), \fBhosts\fR(4), \fBattributes\fR(5)