Title: RE: Sendmail configuration question

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:[EMAIL PROTECTED]]
Sent: Monday, October 02, 2000 7:10 PM
To: [EMAIL PROTECTED]
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.

-Greg

----------------------------------
E-Mail: Gregory Hosler <[EMAIL PROTECTED]>
Date: 03-Oct-00
Time: 10:08:23

        If Bill Gates had a dime for every time a Windows box crashed...
             ...Oh, wait a minute, he already does.

----------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to