check-hostname(1M) System Administration Commands check-hostname(1M)NAME
check-hostname - check if sendmail can determine the system's fully-qualified host name
SYNOPSIS
/usr/sbin/check-hostname
DESCRIPTION
The check-hostname script is a migration aid for sendmail(1M). This script tries to determine the local host's fully-qualified host name
(FQHN) in a manner similar to sendmail(1M). If check-hostname is able to determine the FQHN of the local host, it reports success. Other-
wise, check-hostname reports how to reconfigure the system so that the FQHN can be properly determined.
FILES
/etc/hosts Host name database
/etc/nsswitch.conf Name service switch configuration file
/etc/resolv.conf Configuration file for name server routines
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO domainname(1M), sendmail(1M), hosts(4), attributes(5)SunOS 5.11 8 Mar 2006 check-hostname(1M)
Check Out this Related Man Page
check-permissions(1M) System Administration Commands check-permissions(1M)NAME
check-permissions - check permissions on mail rerouting files
SYNOPSIS
/usr/sbin/check-permissions [login]
DESCRIPTION
The check-permissions script is intended as a migration aid for sendmail(1M). It checks the /etc/mail/sendmail.cf file for all configured
alias files, and checks the alias files for :include: files. It also checks for certain .forward files. For each file that check-permis-
sions checks, it verifies that none of the parent directories are group- or world-writable. If any directories are overly permissive, it is
reported. Otherwise it reports that no unsafe directories were found.
As to which .forward files are checked, it depends on the arguments included on the command line. If no argument is given, the current
user's home directory is checked for the presence of a .forward file. If any arguments are given, they are assumed to be valid logins, and
the home directory of each one is checked.
If the special argument ALL is given, the passwd entry in the /etc/nsswitch.conf file is checked, and all password entries that can be
obtained through the switch file are checked. In large domains, this can be time-consuming.
OPERANDS
The following operands are supported:
login Where login is a valid user name, checks the home directory for login.
ALL Checks the home directory of all users.
FILES
/etc/mail/sendmail.cf Defines enviornment for sendmail
/etc/mail/aliases Ascii mail aliases file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO getent(1M), sendmail(1M), aliases(4), attributes(5)SunOS 5.10 10 Nov 2003 check-permissions(1M)
Hi
I try to configure snedmail as smtp for my solaris box. if the useres are local there's no problem everything's working fine, but is it outside, sendmail says it could find the host. why?! all other tools find diffrent host?
Could anyone tell me how I set up an easy mx ? So I test it with... (29 Replies)
Hi all,
My problem is on :
SunOS "MY_HOSTNAME" 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-60
I get the following message on the console login screen:
sendmail: MAA 23665: SYSERR: putoutmsg (NO-HOST): error on output channel sending "550 none...User unknown": I/O error.
Does anyone... (11 Replies)
Oct 22 01:01:47 sendmail: My unqualified host name unknown; sleeping for retry
Oct 22 01:02:47 sendmail: unable to qualify my own domain name -- using short name
how to resolve this error
thanks (11 Replies)
Alright, I have being checking out various posting here trying to hack together something for a friend
Needed:
A script that can run in cron doing:
ping of several hosts and notifying via email when they are unavailable.
I am not going to post my non working messes (I am a basic... (11 Replies)
hello to everyone, i was wondering if you could help me with a script im working on, it's kind of simple but i dont have a lot experience on unix comands: well, here it is:
you might apreciate the infinite while loop :D, it is supossed to be running on the server all day scaning it every 5... (12 Replies)
does anyone know an easy way that at the beginning of your script you check to see if that process is already running? I think it would have something to do with ps but I may be making it more complicated than it has to be. If you have a script run say, every half hour, you would want to check and... (13 Replies)
hi there,
not sure if this has been discussed but can't seem to find any thread relating to my question. :confused:
i have a AIX server and i'm writing some scripts. inside my script i'm using sendmail/ mailx to send out my output.
but it seems i'm having some difficulties sending out.
... (9 Replies)
Hello,
Iam trying to get the IP of the hostname of the machine from /etc/hosts.
I used the command as below:
But the result shows the IP with the hostname..
like
192.168.0.8 test12111.com
I need to get only 192.168.0.8
Please help
Thanks in advance
esham (11 Replies)
hello
I have a file where an entry needs to be modified. an example of this entry is:
install_location=/xena/sybase/ase12_5
I need to replace xena with another hostname (`hostname` output) for example:
install_location=/dx1/sybase/ase12_5
how to do that?
thanks (11 Replies)
Basically I am trying to track down the cause of a problem when using sendmail. It seems to work fine to the majority of hosts, however there is a problem which one recipient (lets say hick@jimbob.com) is not getting the emails.
Something to note, when I tried pinging jimbob.com (domain used in... (13 Replies)
Hi,
I got the following script from Ygor on this site:
#!/usr/bin/ksh
export MAILTO="email_address"
export CONTENT="/export/home/aisdba/email_body.html"
export SUBJECT="subject of email"
(
echo "Subject: $SUBJECT"
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo... (9 Replies)
Dear All,
Required a script which will check the PING response from my source file(tmp/PingStatus.txt) containing the hostnames.
If ping response is not responding(i.e when hostname is not alive) then this cmd to be executed :
opcmsg object=PING a=OS msg_grp=win-ping severity=critical... (20 Replies)
I want the below script to omit every chunk of data that contains a specific hostname.
here's the scenario. i have a configuration file that contains the configuration of several hosts. a sample of this configuration file is this:
define host {
address ... (12 Replies)
Hi all,
Please i have to get hostname of an ip address (172.16.68.4). so i have used the command 'host'
host $ipaddr >> iptohostname.txt
Here is my file: iptohostname.txt
4.68.16.172.in-addr.arpa domain name pointer g-4.xxx.yyyy.zz.
3.68.16.172.in-addr.arpa domain name pointer... (11 Replies)
Hi all,
I would like some help with a sendmail problem:
We have a new system comprising of 4 T7-1 servers, each hosting 5 LDOMs, all domains running Solaris 11.3
All emails sent from every one of these domains (including the control domains) sit in the queue for 3 mins 11 secs (sometime 3m 12s,... (11 Replies)