Article View: pl.comp.os.hp-ux
Article #209Re: sendmail i 10.20
From: Wladyslaw A. Russocki
Date: Fri, 06 Jun 1997 15:53
Date: Fri, 06 Jun 1997 15:53
308 lines
12521 bytes
12521 bytes
Piotr Grad wrote:
>
> Czesc Koledzy!
> Na ogó³ by³em czytelnikiem grupy, ale i w koñcu mnie dotkn±³
> problem, z którym nie mogê sobie poradziæ. W³asnie dokona³em
> update'u HPUX 10.01 do 10.20 i mój sendmail zamiast braæ nazwy hostów
> z /etc/host poszukuje w DNS. Najpro¶ciej by³oby pewnie uruchomiæ
> proces name serwera, ale zale¿y mi, by by³ to jednak /etc/hosts.
Pisano o tym ostatnio w "mailing list" administratorow HP:
>From owner-hpux-admin@cv.ruu.nl Sat May 24 16:38:25 1997
Received: from caviar.cv.ruu.nl by hpux.dutchworks.nl with ESMTP
(1.37.109.16/16.2) id AA110084704; Sat, 24 May 1997 16:38:24
+0200
Return-Path: <owner-hpux-admin@cv.ruu.nl>
Received: from triton.cv.ruu.nl (triton.cv.ruu.nl [131.211.144.150]) by
caviar.cv.ruu.nl (8.7.5/8.7.3) with ESMTP id QAA02942; Sat, 24 May 1997
16:32:15 +0200 (METDST)
Received: (from daemon@localhost) by triton.cv.ruu.nl (8.7.5/8.6.12) id
PAA17110 for hpux-admin-list; Sat, 24 May 1997 15:51:32 +0200 (METDST)
From: Dan.Johansson@commentor.se
Errors-To: hpux-admin-owner@cv.ruu.nl
Sender: hpux-admin-owner@cv.ruu.nl
Precedence: bulk
Received: from caviar.cv.ruu.nl (caviar.cv.ruu.nl [131.211.144.138]) by
triton.cv.ruu.nl (8.7.5/8.6.12) with ESMTP id PAA17105 for
<hpux-admin@cv.ruu.nl>; Sat, 24 May 1997 15:51:31 +0200 (METDST)
Received: from mn1.swip.net (mn1.swip.net [192.71.180.97]) by
caviar.cv.ruu.nl (8.7.5/8.7.3) with ESMTP id PAA02009 for
<hpux-admin@cv.ruu.nl>; Sat, 24 May 1997 15:40:09 +0200 (METDST)
Received: by mn1.swip.net (8.8.2/2.01)
id PAA23399; Sat, 24 May 1997 15:40:03 +0200 (MET DST)
Received: by com817
(1.38.193.5/17.2) id AA10737; Sat, 24 May 1997 15:30:56 +0200
Received: from dan (Dan.mrmusic.de) by Prince.mrmusic.de with SMTP
(1.40.112.4/16.2) id AA165893410; Sat, 24 May 1997 13:30:10
+0200
Message-Id: <1.5.4.32.19970524113030.006f363c@prince>
X-Sender: dan@prince
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 24 May 1997 13:30:30 +0200
To: hpux-admin@cv.ruu.nl
Subject: [HPADM] SUMMARY: sendmail on 10.20
X-Orig-From: Dan.Johansson@commentor.se
Hi,
Thanks to the following for their responses.
Dave Lahoti, Infab LAN, SMC <dlahoti@ICFoundry.com>
Tim O'Neill <toneill@atc.army.mil>
LeAnn Battern <leannb@sandy.merix.com>
Scott M. Chaffee <schaffee@srs.lmco.com>
Art <APoe@igate.sprint.com>
paraguassu@csn.com.br <paraguassu@csn.com.br>
David Dowling <ddowling@bigw.com.au>
Brian Roach <roach@necrosis.com>
Bismark Espinoza <bismark@alta.Jpl.Nasa.Gov>
Bill Hassell <blh@hpuerca.atl.hp.com>
Bryan Jones <bljone2@probe.net>
Robert R. Cali <Rob.Cali@bridge.bst.bls.com>
The solution was to install Patch PHNE_10099 (has replaced Patch
PHNE_9624).
After installing this Patch everything works OK. This machine does only
send
mail to other machines on our lokal network so I only need /etc/host and
no
fancy DNS-setup.
Thanks Again everyone!
Original posting:
>I have just installed a new 9000/D370/1 server in our network.
>The HP-UX version is 10.20, we ar not using DNS (jet)
>i.e only /etc/hosts (and its up to date on all machines)
>I can telnet/ping/ftp/... to and from this machine from the
>other machines on our internal net.
>I can send mail to this machine, but I can not send any
>mail from it.
>
>>>From /var/adm/syslog/mail.log (Host_A=this host, Host_B=other local host)
>
>May 21 17:01:07 Host_A sendmail[6416]: RAA06416: from=dan, size=145,
>class=0, pri=30145, nrcpts=1,
>msgid=<199705211501.RAA06416@Host_A.domain.de>, relay=dan@localhost
>May 21 17:01:07 Host_A sendmail[6417]: RAA06416: to=dan@Host_B.domain.de,
>ctladdr=dan (2011/1000), delay=00:00:00, xdelay=00:00:00
>, mailer=smtp, relay=host_b.domain.de., stat=Deferred: Name server:
>host_b.domain.de.: host name lookup failure
>
>hostname on Host_A : Host_A.domain.de
>hostname on Host_B : Host_B.domain.de
>
>>>From /etc/hosts:
>123.45.67.8 Host_B.domain.de Host_B # HP 9000/800 H30
>123.45.67.9 Host_A.domain.de Host_A # HP 9000/800 D370/1
>
>I'm using the default sendmail.cf file that comes with the system,
>and this normaly works on other servers without problems
>(for local delivery).
>
>Does anyone have any suggestion how to solve this problem?
--------------------------------------------------------------------------------
>From: "Dave Lahoti, Infab LAN, SMC" <dlahoti@ICFoundry.com>
>
>There is a sendmail update patch: PHNE_9624
--------------------------------------------------------------------------------
>From: <toneill@atc.army.mil>
>
>It will never work well unless you run DNS.
>Without DNS, you will have to put every single system, to which you want to
>send mail, in the /etc/hosts file.
>
>If you do this and it still doesn't, check to see if you have a file
>called /etc/resolv.conf. If this file exists, it may be pointing
>you to a server for DNS, but DNS does not respond.
>
>Tim O'Neill
--------------------------------------------------------------------------------
>From: leannb@sandy.merix.com (LeAnn Battern)
>
>Hi Dan,
> Looks like sendmail is looking for info from dns anyway.
>Create a file called /etc/service.switch Put the line
>
> hosts files
>
>in it. That will tell sendmail where to look.
>
>LeAnn
--------------------------------------------------------------------------------
>From: "Scott M. Chaffee" <schaffee@srs.lmco.com>
>
>I'm no pro, but it looks like sendmail is trying to use DNS to look up
>the
>host name. If DNS is not installed, the lookup fails and mail is
>deferred
>until the queue is processed again.
>
>To stop sendmail from using DNS, edit the Makefile line "ENVDEF=" and
>append "-DNAMED_BIND=0". Then re-make sendmail and the sendmail.cf
>file.
>to find if your version of sendmail is currently using DNS try this
>command:
> sendmail -d0.1 -bt < /dev/null
>This will output a line that starts "Compiled with:", if it lists
>NAMED_BIND
>then your sendmail is trying to use DNS. Hope this helps somewhat.
--------------------------------------------------------------------------------
>From: <APoe@igate.sprint.com>
>
>Dan,
>
> We have just gone through similar pains with the new sendmail. Here
>is what we did:
> 1. Update the Dj macro to the fully qualified domain name
> Dj$w.domain.de
> 2. Uncomment the "O ServiceSwitchFile=" line
> 3. Edit the hosts line in /etc/mail/service.switch and remove the
> dns keyword.
> After we made these changes SendMail seemed to work OK. I hope this
> helps
>
>Art
>apoe@igate.sprint.com
>913-501-6001
--------------------------------------------------------------------------------
>From: "paraguassu@csn.com.br" <paraguassu@csn.com.br>
>
>Hi Dan,
>
>I had the same problem with sendmail that you are. And the problem
>was on sendmail mail configuration.
>
>I had on the file /etc/mail/service.switch:
>hosts dns files
>aliases files
>
>So I changed it to :
>hosts files
>aliases files
>
>And I restart sendmail, so i got to send a mail to any machine on my
>network.
>
>Regards.
--------------------------------------------------------------------------------
>From: David Dowling <ddowling@bigw.com.au>
>
>Dan
>
>We had what looks to be a similar problem on a K210 running 10.20 and
>using /etc/hosts rather than DNS.
>
>The solution (via HP), was to uncomment the "ServiceSwitchFile" line in
>the sendmail.cf file, then configure the /etc/mail/service.switch file
>to use /etc/hosts. Details on the changes required are listed in the
>service.switch file.
>
>The default for sendmail at 10.20 is to use DNS.
>
>I hope this helps.
>
>David Dowling +61 2 9847 1052 - voice
>System Services +61 2 9847 1552 - fax
>Big W Discount Stores
>Locked Bag 7
>Pennant Hills NSW 2120 Australia
>ddowling@bigw.com.au/ddowling@flex.com.au
--------------------------------------------------------------------------------
>From: Brian Roach <roach@necrosis.com>
>
>Do you have /etc/nsswitch.conf set so that it looks in /etc/hosts
>first defore quierying DNS? If not, that would prob cause it.
>
>- Brian
--------------------------------------------------------------------------------
>From: bismark@alta.Jpl.Nasa.Gov (Bismark Espinoza)
>
>Check the file /etc/nsswitch.conf;
>
>It should read:
>
>hosts: hosts nis dns
--------------------------------------------------------------------------------
>From: Bill Hassell <blh@hpuerca.atl.hp.com> 1:st
>
> You haven't enabled sendmail from SAM. If you use SAM to setup
> sendmail, then the correct entries will be automaticaly made
> into sendmail.cf that establishes your hostname and domain. The
> standard sendmail.cf has no info concerning the the local domain.
> On HP-UX systems with sendmail working correctly, use the diff
> command to compare the changes made by SAM and you'll see what
> needs to be changed on a new system.
>
>
--------------------------------------------------------------------------------
>From: Bill Hassell <blh@hpuerca.atl.hp.com> 2:nd
>
>Dan> Where do I find information regarding sendmail in SAM, I can't
>Dan> find it.
>
> I just tried to locate it and apparently it has been removed from SAM.
> I have no idea why. Suffice it to say that you need to have sendmail
> enabled from your startup scripts. What I would do is look at the
> difference between sendmail.cf on your working systems and the problem
> sysem. Also, look for /sbin/init.d/sendmail and search for cf.
> There are comments in there about auto-modifying the sendmail.cf file.
--------------------------------------------------------------------------------
>From: Bryan Jones <bljone2@probe.net>
>
>I have experienced the same problem -- we contacted hp and they
>told us to patch the S.O.B ( it was not stable -- ie: the same reason
>that you explain and that if you kill the process manually and try
>to start it back up it will not start.
--------------------------------------------------------------------------------
>From: "Robert R. Cali" <Rob.Cali@bridge.bst.bls.com>
>
>Dan,
>
>I think you need to edit the /etc/mail/service.switch file.
>
>Tell it to use file only, or file then DNS.
>
>Right now Sendmail is trying to use DNS to lookup addresses, and is
>having problems. It doesn't care what your /etc/nsswitch.conf file
>says either.
>
>Rob
>rob.cali@bridge.bellsouth.com
--------------------------------------------------------------------------------
//Dan
================================================================================
E-mail:
Dan.Johansson@commentor.se _/_/_/_/_/ _/_/_/
_/_/ _/_/
_/_/ _/_/_/ _/_/ _/_/ _/_/_/
_/_/
Snail-mail: _/_/ _/_/ _/_/ _/_/ _/_/_/_/
_/_/
Dan Johansson _/_/ _/_/ _/_/ _/_/
_/_/_/_/_/_/_/
Commentor _/_/ _/_/ _/_/_/_/_/_/_/ _/_/
_/_/_/_/
Box 4052 _/_/ _/_/_/ _/_/ _/_/ _/_/
_/_/_/
S-227 71 Lund _/_/_/_/_/ _/_/ _/_/ _/_/ _/_/
Sweden
Don't drink and root !
================================================================================
--
Archive: ftp.cv.ruu.nl:/pub/digests/hpux-admin (FTP, browse
only):
*NEW*: http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse &
search)
Technical Details
Message-ID:
<3398328F.4212@credintrans.fr>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!news.nask.pl!usenetReferences:
<01bc7280$fe751e80$0f0180ab@gniot>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!news.icm.edu.pl!ict.pwr.wroc.pl!news.nask.pl!usenet From: "Wladyslaw A. Russocki" <russocki@credintrans.fr> Newsgroups: pl.comp.os.hp-ux Subject: Re: sendmail i 10.20 Date: Fri, 06 Jun 1997 17:53:51 +0200 Organization: Credintrans Lines: 308 Message-ID: <3398328F.4212@credintrans.fr> References: <01bc7280$fe751e80$0f0180ab@gniot> Reply-To: russocki@credintrans.fr NNTP-Posting-Host: cicgate.cicomore.fr Mime-Version: 1.0 X-Mailer: Mozilla 3.0 (WinNT; I) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit