Sponsored Content
Top Forums UNIX for Dummies Questions & Answers dmesg on a sun, unqualified host Post 30409 by RTM on Monday 21st of October 2002 09:56:35 PM
Old 10-21-2002
From sunsolve:

With SendMail 8.8 onwards, SendMail produces the following messages:

sendmail[694]: My unqualified host name (lawlor.) unknown; sleeping for retry
sendmail[694]: unable to qualify my own domain name (lawlor.) -- using short name
Problem Solution Top

The following table shows sendmail versions:

Solaris sendmail
========================================
7 8.9.1b
2.6 8.6
2.6 + 105395-05 (or greater) 8.8.8
2.5.1 8.6
2.5.1 + 103594-18 (or greater) 8.8.8
others + latest patches 8.6

That is, upgrading to Solaris 7, or patching 2.5.1/2.6 with the latest
sendmail patch (or applying the Recommended Patch set, which includes
the sendmail patch) will result in this behaviour.

Sendmail 8.8 onwards wants to determine a fully qualified hostname, so it
can derive the local domainname.

Several strategies are used, and upon failure produces:

sendmail[694]: My unqualified host name (lawlor.) unknown; sleeping for retry
sendmail[694]: unable to qualify my own domain name (lawlor.) -- using short name

Between the 1st and 2nd line, it will sleep for 60 seconds on the assumption
there has been a name service failure (ie network name service is still
initialising). After a minute, the 2nd message is produced and sendmail
continues without being able to determine the domainname.

The simpliest (and recommend solution) is to fully qualify the hostname
in /etc/hosts and list "files" first in the /etc/nsswitch.conf, eg:

/etc/nsswitch.conf:
hosts: files nisplus dns

/etc/hosts:
192.9.9.100 www www.sun.com

If "files" is not the first name service in /etc/nsswitch.conf, then the
first name service listed should return a fully qualified hostname.

It is possible for sendmail to use the NIS/NIS+ domainname (set in
/etc/defaultdomain). In which case, it strips the first component, eg:

hotline.uk.sun.com -> uk.sun.com

On Solaris 7, the script, /usr/lib/mail/sh/check-hostname is provided to check
and advise on the configuration of the fully qualified hostname. See web
site listed below for obtaining a version for 2.5.1/2.6.

NOTE:
Sendmail will perform the above before processing the sendmail.cf file,
so setting $m does not avoid the message/delay.

For further details, check:


sun-specific


================================
To check sendmail for errors, the simplest way is to run the following:
% /usr/lib/sendmail -d0.1 -bt < /dev/null

It will then show something like the following ( Version, how it was compiled, system ID (where your problem lies), and any warnings about directories (which you should change):

Version 8.9.3
Compiled with: MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND
NDBM NETINET NETUNIX NEWDB NIS NISPLUS QUEUE SCANF SMTP USERDB
XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = oven
(canonical domain name) $j = oven.prv.mycom.com
(subdomain name) $m = prv.mycom.com
(node name) $k = oven
========================================================

WARNING: Group writable directory /var
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sun dmesg says

Oct 22 13:40:07 snmpdx: community_check() : bad community from Oct 22 13:40:07 snmpdx: session_open() failed for a pdu received from any help? thanks (4 Replies)
Discussion started by: yls177
4 Replies

2. Solaris

sendmail and unqualified addresses

I have a solaris 10 server running sendmail 8.13.8, configuration file V10. On another server I am able to send local emails without appending a domain name but on this server I cannot. The mail does not bounce, the log file says they are sent, but they are not delivered. There isn't a problem... (10 Replies)
Discussion started by: csgonan
10 Replies

3. Solaris

Unqualified host name

Hi All I am Having V890 Server with Solaris 10 OS.In Dmesg showing the sendmail error. This is the error: Jul 26 22:04:56 ORACLE sendmail: My unqualified host name (ORACLE) unknown; sleeping for retry Jul 26 22:05:56 ORACLE sendmail: unable to qualify my own domain name (ORACLE) -- using... (5 Replies)
Discussion started by: ravigpb
5 Replies

4. Solaris

My unqualified host name

Hi experts . . . host name: prd47e Sunsolaris 9 version My mails are not going and am gettin regular messages like: * My unqualified host name (prd47e) unknown; sleeping for retry * unable to qualify my own domain name (prd47e) -- using short name my /etc/hosts file contnets are... (6 Replies)
Discussion started by: vrjalli
6 Replies

5. UNIX for Dummies Questions & Answers

Unqualified Host at boot

I'm sure this is as basic as they get. I installed Solaris 10 x86 on a compaq 7500 that I switched motherboards out with an AMD processor. Since I installed, I've gotten the "unqualified host name" message at boot plus I"m not sure how to find my NIC (or if the driver is installed). I only show... (7 Replies)
Discussion started by: ltillman
7 Replies

6. Solaris

Classic: sendmail[pid]: My unqualified host name (hostname) unknown

Hi all, I'd like to disable sendmail permanently on my "new" 220R with freshly installed SunOS 5.10 because it prints annoying messages to the system console. Also I'm interested in how to fix the actual problem with unqualified host name. My unqualified host name (hostname) unknown; sleeping... (2 Replies)
Discussion started by: pseudocoder
2 Replies

7. Solaris

Add new EML 103e Tape Library in SUN Solaris Host to implement HP DP

Hi, Our environment is SUN Solaris. We have purchased HP EML 103e tape library. Can you please let me know do I need to install any Driver of newly added Tape Library to see from the Solaris Host? or how can i see the tape library from my Solaris hosts. Thanks, Hassan (0 Replies)
Discussion started by: M_Hassan
0 Replies
System Administration Commands				 etrn(8)

NAME
etrn - start mail queue run SYNOPSIS
etrn [-v] server-host [client-hosts] DESCRIPTION
SMTP's ETRN command allows an SMTP client and server to interact, giving the server an opportunity to start the pro cessing of its queues for messages to go to a given host. This is meant to be used in start-up conditions, as well as for mail nodes that have transient connections to their ser vice providers. The etrn utility initiates an SMTP session with the host server-host and sends one or more ETRN commands as follows: If no client-hosts are specified, etrn looks up every host name for which sendmail(1M) accepts email and, for each name, sends an ETRN command with that name as the argument. If any client-hosts are specified, etrn uses each of these as arguments for successive ETRN commands. OPTIONS
The following option is supported: -v The normal mode of operation for etrn is to do all of its work silently. The -v option makes it verbose, which causes etrn to display its conversations with the remote SMTP server. ENVIRONMENT
No environment variables are used. FILES
/etc/mail/sendmail.cf sendmail configuration file SEE ALSO
sendmail(1M), RFC 1985. CAVEATS
Not all SMTP servers support ETRN. CREDITS
Leveraged from David Muir Sharnoff's expn.pl script. Chris tian von Roques added support for args and fixed a couple of bugs. AVAILABILITY
The latest version of etrn is available in the contrib directory of the sendmail distribution through anonymous ftp at ftp://ftp.sendmail.org/ucb/src/sendmail/. AUTHOR
John T. Beck <john@beck.org>
All times are GMT -4. The time now is 12:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy