sendmail_configurations_nsswitch.conf

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: RE: Sendmail configuration question
From: Guillermo Navarrete <Guillermo.Navarrete@cosinecom.com>
Date: Tue, 3 Oct 2000 13:07:26 -0700 

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C02D75.8CB1A5D0
Content-Type: text/plain;
	charset="iso-8859-1"

This may be a simplistic answer, but it's the only thing that comes to mind,
as it sounds like your Sendmail config is OK.  I would look to make sure
your nsswitch.conf file is set so that it uses the proper name services
(NIS, DNS, hosts table, etc) to resolve your machine name.  From your email,
it looks like you want to use /etc/hosts as your point of host resolution.
So, your /etc/nsswitch.conf file host entry would look like:

hosts:	files nis dns nisplus

You can remove any of the name services you don't use or don't want to use.
Keep in mind that if you use the above entry as is, your system will step
through each service (from left to right) until it finds a match or drops
out after not finding one.  I'd also check that your hostname matches the
entry in your host file:

hostname foo.domain.com  matches the entry in your /etc/hosts.

As for the world writable error message.  Sendmail checks for possible
security issues.  It actually doesn't actually cd to /home/hosler and then
perform the directory check on the current directory.  But rather, it grabs
the entry from /etc/passwd and does a listing of it.  As you know, soft
links show up as world-writable under a long listing (ls -alt).  It could
also be that any of the parent directories in this path are world writable.
In effect, this is what Sendmail sees and reports.  One way to fix this is
to change your home field entry in the /etc/passwd file from /home/hosler to
/mnt/home/hosler and make sure that each directory in this path is not world
writable.  If this is not something you're prepared to do, then I'd say you
can safely ignore that message.

Guillermo

-----Original Message-----
From: Gregory Hosler [mailto:gregory.hosler@eno.ericsson.se]
Sent: Monday, October 02, 2000 7:10 PM
To: gregory.hosler@eno.ericsson.se
Subject: Sendmail configuration question


Hi all,

I am using sendmail on a uucp client.

I have my smart-host properly set, and in the sendmail config, I have
"do not use DNS" ticked.

however, whenever sendmail starts up it hangs for 60 seconds. I see the
following in /var/log/maillog:

Oct  2 22:40:53 tomboy sendmail[6481]: My unqualified host name (tomboy)
unknown
; sleeping for retry
Oct  2 22:41:53 tomboy sendmail[6481]: unable to qualify my own domain name
(tom
boy) -- using short name

My hostname is "tomboy". It is properly registered in /etc/hosts.

How do I get sendmail to recognize this, and not complain.

Also, I get the following maillog messages from sendmail:
Oct  2 22:41:53 tomboy sendmail[6481]: e92Efri06481: forward
/home/hosler/.forwa
rd.tomboy: World writable directory
Oct  2 22:41:53 tomboy sendmail[6481]: e92Efri06481: forward
/home/hosler/.forwa
rd: World writable directory

In reality, the above 2 mentioned directories do not exist. In addition,
/home/hosler is a soft link to /mnt/home/hosler, and
/mnt/home/hosler is definately not world writeable.

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu