Report forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to John Goerzen <jgoerzen@complete.org>:
New bug report received and forwarded. Copy sent to Robert Leslie <rob@mars.org>.   John Goerzen <jgoerzen@complete.org>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at submit) by bugs.debian.org; 9 Jan 1997 08:19:42 +0000 Received: (qmail 3817 invoked from network); 9 Jan 1997 08:19:34 -0000 Received: from onyx.southwind.net (root@204.95.83.2) by master.debian.org with SMTP; 9 Jan 1997 08:19:32 -0000 Received: (from Ucomplet@localhost) by onyx.southwind.net (8.8.4/8.8.3) with UUCP id CAA23650 for submit@bugs.debian.org; Thu, 9 Jan 1997 02:01:47 -0600 (CST) Received: from complete.org (jgoerzen@localhost [127.0.0.1]) by complete.complete.org (8.8.4/8.8.4) with ESMTP id BAA28548 for ; Thu, 9 Jan 1997 01:57:21 -0600 Message-Id: <199701090757.BAA28548@complete.complete.org> X-Mailer: exmh version 1.6.9 8/22/96 To: submit@bugs.debian.org Subject: Bug in Sendmail, v. 8.8.4 Date: Thu, 09 Jan 1997 01:57:20 -0600 From: John Goerzen Package: sendmail Version: 8.8.4-1 [ NOTE: I tried sending this previously but the bug-handling system apparently choked on the MIME that I used. I'm trying again with it. -- JG ] Hello, I recently upgraded my Debian system from 1.2 to 1.2.1 and the new version had a new Sendmail. (8.8.4 instead of 8.7.6) This required me to re-create a cf file, which I did from the mc file included below. My computer is connected to mail (and news) via UUCP. This I of course am using the nodns option. However, sendmail does not seem to recognize it or act on it appropriately. For instance, when I type: mail -s test jgoerzen And type a short message, sendmail will go out to my PPP connection and look up something on DNS before delivering the message. (At least that's the best I can determine). My hostname (complete.org) is defined in /etc/hosts with an appropriate loopback address, and hostname -f dpes return a proper address. The previous version of Sendmail worked fine. This behavior has serious implications since I am running diald on this machine. Whenever a message is delivered to somebody on the local machine, Sendmail brings up the PPP link! This, of course, should not happen. I have tried several difference mc files. Below is one the explicitly defines my own domain and includes the nocanonify option -- I have tried it without those two things as well. Nothing I can think of seems to work. -------------------------- my .mc file -------------- cut here -------- divert(-1) # # Copyright (c) 1983 Eric P. Allman # Copyright (c) 1988, 1993 # The Regents of the University of California. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. All advertising materials mentioning features or use of this software # must display the following acknowledgement: # This product includes software developed by the University of # California, Berkeley and its contributors. # 4. Neither the name of the University nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # # # This file is used to configure sendmail for use with Debian systems. # divert(0) VERSIONID(`@(#)sendmail.mc 8.7 (Linux) 3/5/96') OSTYPE(debian)dnl DOMAIN(generic)dnl FEATURE(nodns)dnl FEATURE(nocanonify)dnl FEATURE(local_procmail)dnl FEATURE(use_ct_file)dnl FEATURE(always_add_domain)dnl define(`SMART_HOST', uucp-dom:onyx)dnl Dmcomplete.org define(`confDOMAIN_NAME', `$w.$m')dnl MAILER(local)dnl MAILER(procmail)dnl MAILER(smtp)dnl MAILER(uucp)dnl ------------ end of my .mc file ---------- cut here -------------- --==_Exmh_20974834960 Content-Type: text/plain; charset=us-ascii John Goerzen | Running Debian GNU/Linux (www.debian.org) Custom Programming | jgoerzen@complete.org |   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to miquels@cistron.nl (Miquel van Smoorenburg):
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   miquels@cistron.nl (Miquel van Smoorenburg)  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at submit) by bugs.debian.org; 9 Jan 1997 17:22:49 +0000 Received: (qmail 27261 invoked from network); 9 Jan 1997 17:22:39 -0000 Received: from laforge.cistron.com (root@194.235.77.34) by master.debian.org with SMTP; 9 Jan 1997 17:22:37 -0000 Received: from Q.cistron.nl (miquels@Q.cistron.nl [194.235.77.23]) by laforge.cistron.com (8.7/8.7) with ESMTP id SAA21997; Thu, 9 Jan 1997 18:20:39 +0100 (MET) Received: (from miquels@localhost) by Q.cistron.nl (8.7.6/8.7.3) id SAA00634; Thu, 9 Jan 1997 18:20:08 +0100 Message-ID: Date: Thu, 9 Jan 1997 18:20:08 +0100 From: miquels@cistron.nl (Miquel van Smoorenburg) To: jgoerzen@complete.org (John Goerzen), 6495@bugs.debian.org Cc: submit@bugs.debian.org Subject: Re: Bug#6495: Bug in Sendmail, v. 8.8.4 References: <199701090757.BAA28548@complete.complete.org> X-Mailer: Mutt 0.53 Mime-Version: 1.0 In-Reply-To: <199701090757.BAA28548@complete.complete.org>; from John Goerzen on Jan 9, 1997 01:57:20 -0600 According to John Goerzen: > My computer is connected to mail (and news) via UUCP. This I of course am > using the nodns option. However, sendmail does not seem to recognize it or > act on it appropriately. Well one hack I used some time ago is the following: 1. In the sendmail.mc file: define(`confSERVICE_SWITCH_FILE', /etc/mail/service.switch.nodns) 2. In /etc/mail/service.switch.nodns hosts files Well, I _said_ it was a hack, but it works just fine :) Mike. -- Miquel van | Cistron Internet Services -- Alphen aan den Rijn. Smoorenburg, | mailto:info@cistron.nl http://www.cistron.nl/ miquels@cistron.nl | Our vision is to speed up time, eventually eliminating it.   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to miquels@cistron.nl (Miquel van Smoorenburg):
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   miquels@cistron.nl (Miquel van Smoorenburg)  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 9 Jan 1997 17:22:49 +0000 Received: (qmail 27261 invoked from network); 9 Jan 1997 17:22:39 -0000 Received: from laforge.cistron.com (root@194.235.77.34) by master.debian.org with SMTP; 9 Jan 1997 17:22:37 -0000 Received: from Q.cistron.nl (miquels@Q.cistron.nl [194.235.77.23]) by laforge.cistron.com (8.7/8.7) with ESMTP id SAA21997; Thu, 9 Jan 1997 18:20:39 +0100 (MET) Received: (from miquels@localhost) by Q.cistron.nl (8.7.6/8.7.3) id SAA00634; Thu, 9 Jan 1997 18:20:08 +0100 Message-ID: Date: Thu, 9 Jan 1997 18:20:08 +0100 From: miquels@cistron.nl (Miquel van Smoorenburg) To: jgoerzen@complete.org (John Goerzen), 6495@bugs.debian.org Cc: submit@bugs.debian.org Subject: Re: Bug#6495: Bug in Sendmail, v. 8.8.4 References: <199701090757.BAA28548@complete.complete.org> X-Mailer: Mutt 0.53 Mime-Version: 1.0 In-Reply-To: <199701090757.BAA28548@complete.complete.org>; from John Goerzen on Jan 9, 1997 01:57:20 -0600 According to John Goerzen: > My computer is connected to mail (and news) via UUCP. This I of course am > using the nodns option. However, sendmail does not seem to recognize it or > act on it appropriately. Well one hack I used some time ago is the following: 1. In the sendmail.mc file: define(`confSERVICE_SWITCH_FILE', /etc/mail/service.switch.nodns) 2. In /etc/mail/service.switch.nodns hosts files Well, I _said_ it was a hack, but it works just fine :) Mike. -- Miquel van | Cistron Internet Services -- Alphen aan den Rijn. Smoorenburg, | mailto:info@cistron.nl http://www.cistron.nl/ miquels@cistron.nl | Our vision is to speed up time, eventually eliminating it.   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to John Goerzen <jgoerzen@complete.org>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   John Goerzen <jgoerzen@complete.org>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 10 Jan 1997 04:52:27 +0000 Received: (qmail 12654 invoked from network); 10 Jan 1997 04:52:23 -0000 Received: from onyx.southwind.net (root@204.95.83.2) by master.debian.org with SMTP; 10 Jan 1997 04:52:17 -0000 Received: (from Ucomplet@localhost) by onyx.southwind.net (8.8.4/8.8.3) with UUCP id WAA03888; Thu, 9 Jan 1997 22:39:49 -0600 (CST) Received: from complete.org (jgoerzen@localhost [127.0.0.1]) by complete.complete.org (8.8.4/8.8.4) with ESMTP id WAA10864; Thu, 9 Jan 1997 22:34:21 -0600 Message-Id: <199701100434.WAA10864@complete.complete.org> X-Mailer: exmh version 1.6.9 8/22/96 To: Gregory Neil Shapiro cc: sendmail-bugs@sendmail.org, 6495@bugs.debian.org, debian-devel@lists.debian.org Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: Your message of "Thu, 09 Jan 1997 20:25:20 EST." <199701100125.UAA22860@scooter.WPI.EDU> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_-6583424120" Date: Thu, 09 Jan 1997 22:34:20 -0600 From: John Goerzen This is a multipart MIME message. --==_Exmh_-6583424120 Content-Type: text/plain; charset=us-ascii [ I am submitting this extended bug report to the Sendmail and the Debian people. Also an e-mail to Gregory Shapiro, who has given me some helpful pointers. When replying, please trim unnecessary mail lists.] > >> Create a file called /etc/service.switch with: > >> > >> hosts files > >> > >> Which tells sendmail to use files (/etc/hosts) for resolving hosts. > > jgoerzen> Hmm, I tried that, and it hasn't helped. I did even try explicitly > jgoerzen> defining the name of the service.switch file in my .mc file, but > jgoerzen> that didn't help either. > Sorry my suggestion didn't help. Unfortunately (fortunately), I've never been > in an environment where DNS wasn't required at all times. If you never want > sendmail to use DNS, you can try compiling it with -DNAMED_BIND=0: I have tried that, and it too failed. I think that we are either looking at a bug in sendmail here or something is weird. Just to recap for everyone reading this thread: My problem is that I am a UUCP-connected site and Sendmail seems to be generating DNS traffic on pretty much every invocation. Even a "mail -s test jgoerzen" causes DNS traffic. This machine has diald (which automatically brings up PPP whenever there is network draffic) and every time a local message is sent, PPP is brought up! (so obviously sendmail is generating network traffic of some kind -- my hunch is DNS). Attached below are some relevant files that I didn't include in my initial posting here. For reference: Sendmail 8.7.x worked fine. I upgraded to 8.8.4 and this problem started at that time. hostname -f does return "complete.org" as expected, and hostname by itself returns "complete" as expected as well. In short, no other programs are having any problems. If anybody can tell me what I'm doing wrong, let me know! Otherwise, I can assume it is a bug in sendmail somewhere. Also note that I have tried my mc file without nocanonify, explicitly defining my own domain name, and the service switch definition, as well as combinations of those options. None helped. FYI, /etc/service.switch is a symlink to /etc/mail/service.switch.nodns --==_Exmh_-6583424120 Content-Type: text/plain; charset=us-ascii Content-Description: My .mc file divert(-1) # # This file is used to configure sendmail for use with Debian systems. # divert(0) VERSIONID(`@(#)sendmail.mc 8.7 (Linux) 3/5/96') OSTYPE(debian)dnl DOMAIN(generic)dnl FEATURE(nodns)dnl FEATURE(nocanonify)dnl FEATURE(local_procmail)dnl FEATURE(use_ct_file)dnl FEATURE(always_add_domain)dnl define(`SMART_HOST', uucp-dom:onyx)dnl Dmcomplete.org define(`confDOMAIN_NAME', `$w.$m')dnl define(`confSERVICE_SWITCH_FILE', /etc/mail/service.switch.nodns)dnl MAILER(local)dnl MAILER(procmail)dnl MAILER(smtp)dnl MAILER(uucp)dnl --==_Exmh_-6583424120 Content-Type: text/plain; charset=us-ascii Content-Description: /etc/hosts 127.0.0.0 complete.org complete 127.0.0.1 localhost 127.0.0.0 www.complete.org www 127.0.0.0 news.complete.org news 127.0.0.0 ftp.complete.org ftp 127.0.0.0 gopher.complete.org gopher --==_Exmh_-6583424120 Content-Type: text/plain; charset=us-ascii Content-Description: /etc/host.conf order hosts,bind multi on --==_Exmh_-6583424120 Content-Type: text/plain; charset=us-ascii Content-Description: resolv.conf nameserver 206.28.168.21 nameserver 204.70.128.1 nameserver 204.95.83.2 --==_Exmh_-6583424120 Content-Type: text/plain; charset=us-ascii Content-Description: /etc/mail/service.switch.nodns hosts files --==_Exmh_-6583424120 Content-Type: text/plain; charset=us-ascii John Goerzen | Running Debian GNU/Linux (www.debian.org) Custom Programming | jgoerzen@complete.org | --==_Exmh_-6583424120--   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to sendmail-questions@sendmail.org (sendmail-questions):
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   sendmail-questions@sendmail.org (sendmail-questions)  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 10 Jan 1997 07:01:29 +0000 Received: (qmail 26987 invoked from network); 10 Jan 1997 07:01:21 -0000 Received: from dionysos.fmi.fi (hurtta@193.166.210.151) by master.debian.org with SMTP; 10 Jan 1997 07:01:13 -0000 Received: (from hurtta@localhost) by dionysos.fmi.fi (8.8.2p1/8.7.2/rewrite-2) id IAA26509; Fri, 10 Jan 1997 08:58:51 +0200 (EET) From: "Kari E. Hurtta" Message-Id: <199701100658.IAA26509@dionysos.fmi.fi> Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: <199701100434.WAA10864@complete.complete.org> from John Goerzen at "Jan 9, 97 10:34:20 pm" To: jgoerzen@complete.org (John Goerzen) Date: Fri, 10 Jan 1997 08:58:51 +0200 (EET) Cc: gshapiro@WPI.EDU, sendmail-bugs@sendmail.org, 6495@bugs.debian.org, debian-devel@lists.debian.org Reply-To: sendmail-questions@sendmail.org (sendmail-questions) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit John Goerzen kirjoittaa: > [ I am submitting this extended bug report to the Sendmail and the Debian > people. Also an e-mail to Gregory Shapiro, who has given me some helpful > pointers. When replying, please trim unnecessary mail lists.] > > > >> Create a file called /etc/service.switch with: > > >> > > >> hosts files > > >> > > >> Which tells sendmail to use files (/etc/hosts) for resolving hosts. > > > > jgoerzen> Hmm, I tried that, and it hasn't helped. I did even try explicitly > > jgoerzen> defining the name of the service.switch file in my .mc file, but > > jgoerzen> that didn't help either. > > > Sorry my suggestion didn't help. Unfortunately (fortunately), I've never been > > in an environment where DNS wasn't required at all times. If you never want > > sendmail to use DNS, you can try compiling it with -DNAMED_BIND=0: > > I have tried that, and it too failed. I think that we are either looking at a > bug in sendmail here or something is weird. You gethostbyname and so on uses DNS. <...> Content-Description: /etc/host.conf > order hosts,bind > multi on That very clearly says that you are using DNS! I think that your resolver library uses that. Content-Description: resolv.conf > nameserver 206.28.168.21 > nameserver 204.70.128.1 > nameserver 204.95.83.2 This filr very clearry says that you have using DNS also :-) In some resolver libraruer you can say that don't use DNS, with line hostresorder local in resolv.cond Content-Description: /etc/mail/service.switch.nodns > hosts files   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to John Goerzen <jgoerzen@complete.org>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   John Goerzen <jgoerzen@complete.org>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 11 Jan 1997 03:50:15 +0000 Received: (qmail 3694 invoked from network); 11 Jan 1997 03:49:57 -0000 Received: from onyx.southwind.net (root@204.95.83.2) by master.debian.org with SMTP; 11 Jan 1997 03:49:54 -0000 Received: (from Ucomplet@localhost) by onyx.southwind.net (8.8.4/8.8.3) with UUCP id VAA06684; Fri, 10 Jan 1997 21:40:34 -0600 (CST) Received: from complete.org (jgoerzen@localhost [127.0.0.1]) by complete.org (8.7.6/8.7.3) with ESMTP id VAA24845; Fri, 10 Jan 1997 21:31:09 -0600 Message-Id: <199701110331.VAA24845@complete.org> X-Mailer: exmh version 1.6.9 8/22/96 To: miquels@cistron.nl (Miquel van Smoorenburg) Cc: sendmail-bugs@sendmail.org, 6495@bugs.debian.org Subject: Re: Bug#6495: Bug in Sendmail, v. 8.8.4 In-Reply-To: Your message of "Fri, 10 Jan 1997 14:05:29 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 10 Jan 1997 21:31:08 -0600 From: John Goerzen > According to John Goerzen: > > > Well one hack I used some time ago is the following: > [ .. ] > > > > Well, I gave it a try, but it didn't seem to work over here... :-( > > > > Still trying to use the DNS all the time. > > In that case it's very probable that it's a bug in sendmail after > all, since this should disable _all_ DNS queries. This is what I have thought. I finally went back to Sendmail 8.7.6 and everything is working fine again. So I think you are correct that in version 8.8.4 there is a bug. Regards, John Goerzen -- John Goerzen | Running Debian GNU/Linux (www.debian.org) Custom Programming | jgoerzen@complete.org |   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to John Goerzen <jgoerzen@complete.org>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   John Goerzen <jgoerzen@complete.org>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 11 Jan 1997 03:50:16 +0000 Received: (qmail 3704 invoked from network); 11 Jan 1997 03:50:13 -0000 Received: from onyx.southwind.net (root@204.95.83.2) by master.debian.org with SMTP; 11 Jan 1997 03:50:13 -0000 Received: (from Ucomplet@localhost) by onyx.southwind.net (8.8.4/8.8.3) with UUCP id VAA04055; Fri, 10 Jan 1997 21:30:12 -0600 (CST) Received: from complete.org (jgoerzen@localhost [127.0.0.1]) by complete.org (8.7.6/8.7.3) with ESMTP id VAA24757; Fri, 10 Jan 1997 21:24:03 -0600 Message-Id: <199701110324.VAA24757@complete.org> X-Mailer: exmh version 1.6.9 8/22/96 To: sendmail-questions@sendmail.org (sendmail-questions) cc: gshapiro@WPI.EDU, Kari.Hurtta@ozone.fmi.fi, 6495@bugs.debian.org Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: Your message of "Fri, 10 Jan 1997 13:05:01 +0200." <199701101105.NAA04105@ozone.fmi.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 10 Jan 1997 21:24:03 -0600 From: John Goerzen > > > You gethostbyname and so on uses DNS. > > It is my understanding that it will look in /etc/hosts first before trying to > > query a nameserver. Is that incorrect? > But anything which does not found from /etc/hosts will go to nameserver. > Are you sure that everyting what you need is found from /etc/hosts ? Absolutely positive. The only thing it could possible need are complete.org (my hostname) and localhost (both mapped to a loopback interface). What's strange is that everything else, including Sendmail 8.7.6, works. Sendmail 8.8.4 doesn't. Since everything is sent via UUCP (with a "smarthost" setting), everything not delivered locally gets sent via UUCP. So there is no need for anything other than the /etc/hosts. > You can first check output of /usr/lib/sendmail -d0.41,8.10 -bv root I have given up on 8.8.4 at the moment and have gone back to 8.7.6 -- I cannot put up with the problem any longer. This was done before I received your message -- sorry I can't run that. When I went back to 8.7.6, everything worked perfectly again, so I think I have definately confirmed that it is a bug in 8.8.4. -- John Goerzen | Running Debian GNU/Linux (www.debian.org) Custom Programming | jgoerzen@complete.org |   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to sendmail-questions@sendmail.org (sendmail-questions):
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   sendmail-questions@sendmail.org (sendmail-questions)  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 11 Jan 1997 06:46:01 +0000 Received: (qmail 18472 invoked from network); 11 Jan 1997 06:45:45 -0000 Received: from ozone.fmi.fi (193.166.208.16) by master.debian.org with SMTP; 11 Jan 1997 06:45:41 -0000 Received: (from hurtta@localhost) by ozone.fmi.fi (8.8.4/8.8.2/test/1996-11-12) id IAA06422; Sat, 11 Jan 1997 08:43:27 +0200 (EET) From: "Kari E. Hurtta" Message-Id: <199701110643.IAA06422@ozone.fmi.fi> Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: <199701110324.VAA24757@complete.org> from John Goerzen at "Jan 10, 97 09:24:03 pm" To: jgoerzen@complete.org (John Goerzen) Date: Sat, 11 Jan 1997 08:43:27 +0200 (EET) Cc: sendmail-questions@sendmail.org, gshapiro@WPI.EDU, 6495@bugs.debian.org Reply-To: sendmail-questions@sendmail.org (sendmail-questions) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit John Goerzen: > > > > You gethostbyname and so on uses DNS. > > > It is my understanding that it will look in /etc/hosts first before trying to > > > query a nameserver. Is that incorrect? > > But anything which does not found from /etc/hosts will go to nameserver. > > Are you sure that everyting what you need is found from /etc/hosts ? > > Absolutely positive. The only thing it could possible need are complete.org Are you sure that this includes addresses of all interfaces which have marked to UP ? > (my hostname) and localhost (both mapped to a loopback interface). What's > strange is that everything else, including Sendmail 8.7.6, works. Sendmail > 8.8.4 doesn't. > > Since everything is sent via UUCP (with a "smarthost" setting), everything not > delivered locally gets sent via UUCP. So there is no need for anything other > than the /etc/hosts. > > > You can first check output of /usr/lib/sendmail -d0.41,8.10 -bv root > > I have given up on 8.8.4 at the moment and have gone back to 8.7.6 -- I cannot > put up with the problem any longer. This was done before I received your > message -- sorry I can't run that. > > When I went back to 8.7.6, everything worked perfectly again, so I think I > have definately confirmed that it is a bug in 8.8.4. I don't be confirmed that it is bug in 8.8.4. Well, in 8.7.* have bug which causes that interface discovery code does not work. In 8.8.* this is fixed. I don't know which command in Linux list interfaces with addresses. In IRIX it is: /usr/etc/netstat -ai   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to John Goerzen <jgoerzen@complete.org>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   John Goerzen <jgoerzen@complete.org>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 11 Jan 1997 09:11:48 +0000 Received: (qmail 5816 invoked from network); 11 Jan 1997 09:11:36 -0000 Received: from onyx.southwind.net (root@204.95.83.2) by master.debian.org with SMTP; 11 Jan 1997 09:11:34 -0000 Received: (from Ucomplet@localhost) by onyx.southwind.net (8.8.4/8.8.3) with UUCP id CAA17248; Sat, 11 Jan 1997 02:28:50 -0600 (CST) Received: from complete.org (jgoerzen@localhost [127.0.0.1]) by complete.org (8.7.6/8.7.3) with ESMTP id BAA27187; Sat, 11 Jan 1997 01:30:19 -0600 Message-Id: <199701110730.BAA27187@complete.org> X-Mailer: exmh version 1.6.9 8/22/96 To: sendmail-questions@sendmail.org (sendmail-questions) cc: gshapiro@WPI.EDU, 6495@bugs.debian.org Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: Your message of "Sat, 11 Jan 1997 08:43:27 +0200." <199701110643.IAA06422@ozone.fmi.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Jan 1997 01:30:18 -0600 From: John Goerzen > > Absolutely positive. The only thing it could possible need are complete.org > > Are you sure that this includes addresses of all interfaces which > have marked to UP ? I am not quite sure what this is referring to here. But what I can say is that nowhere in any sendmail configuration file does it mention any address other than complete.org except for the name of my UUCP host, which is mentioned only once as my "smart host". > > When I went back to 8.7.6, everything worked perfectly again, so I think I > > have definately confirmed that it is a bug in 8.8.4. > > I don't be confirmed that it is bug in 8.8.4. > > Well, in 8.7.* have bug which causes that interface discovery code > does not work. In 8.8.* this is fixed. Hmm....well maybe in the process of fixing one bug, another one was caused. > I don't know which command in Linux list interfaces with addresses. > In IRIX it is: /usr/etc/netstat -ai Here's the output of netstat -ai, if it's anything to you: ~# netstat -ai Kernel Interface table Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags lo 3584 0 12971 0 0 0 12971 0 0 0 BLRU sl0 1500 0 0 0 0 0 464 0 0 0 PRU ppp0 1500 0 7755 5 5 0 6018 0 0 0 PRU (this is for while ppp is running. when ppp is not running, ppp0 will not be listed, I suppose) sl0 is a "virtual" interface used by diald. It detects when stuff is going to be used for ppp. In any case, I don't see what business sendmail has with any of this stuff anyway... It appears to be doing something with my PPP connection even when it is only delivering stuff from the local computer to the local computer. There should be no need for it to mess with anything of this sort. (FYI, we are stepping a bit out of my area of expertise, so realize I may not follow exactly what is happening...) -- John Goerzen | Running Debian GNU/Linux (www.debian.org) Custom Programming | jgoerzen@complete.org |   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to Gregory Neil Shapiro <gshapiro@WPI.EDU>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   Gregory Neil Shapiro <gshapiro@WPI.EDU>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 11 Jan 1997 16:51:35 +0000 Received: (qmail 13940 invoked from network); 11 Jan 1997 16:51:30 -0000 Received: from net-1.adj.com (206.190.9.2) by master.debian.org with SMTP; 11 Jan 1997 16:51:25 -0000 Received: from smtp.WPI.EDU (smtp.WPI.EDU [130.215.24.62]) by net-1.adj.com (8.7.4/8.7.3) with ESMTP id JAA08987 for <6495@bugs.debian.org>; Sat, 11 Jan 1997 09:24:50 -0600 Received: from scooter.WPI.EDU (gshapiro@scooter.WPI.EDU [130.215.24.61]) by smtp.WPI.EDU (8.8.4/8.8.4) with ESMTP id KAA09826; Sat, 11 Jan 1997 10:22:12 -0500 Received: (from gshapiro@localhost) by scooter.WPI.EDU (8.8.4/8.8.4) id KAA08355; Sat, 11 Jan 1997 10:22:12 -0500 (EST) Date: Sat, 11 Jan 1997 10:22:12 -0500 (EST) Message-Id: <199701111522.KAA08355@scooter.WPI.EDU> From: Gregory Neil Shapiro To: John Goerzen Cc: sendmail-questions@sendmail.org (sendmail-questions), 6495@bugs.debian.org Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: <199701110730.BAA27187@complete.org> References: <199701110643.IAA06422@ozone.fmi.fi> <199701110730.BAA27187@complete.org> First, please understand we are trying to help you and anyone else who might be suffering from this problem. jgoerzen> Here's the output of netstat -ai, if it's anything to you: jgoerzen> ~# netstat -ai jgoerzen> Kernel Interface table jgoerzen> Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags jgoerzen> lo 3584 0 12971 0 0 0 12971 0 0 0 BLRU jgoerzen> sl0 1500 0 0 0 0 0 464 0 0 0 PRU jgoerzen> ppp0 1500 0 7755 5 5 0 6018 0 0 0 PRU Can you mail us the output of the following commands? ifconfig lo ifconfig sl0 ifconfig ppp0 netstat -r cat /etc/hosts jgoerzen> In any case, I don't see what business sendmail has with any of this jgoerzen> stuff anyway... It appears to be doing something with my PPP jgoerzen> connection even when it is only delivering stuff from the local jgoerzen> computer to the local computer. There should be no need for it to jgoerzen> mess with anything of this sort. During startup, sendmail reads the interfaces on the system to determine other 'local' addresses so they can be included in the 'w' class. Would you be willing to test this theory if I sent you a patch?   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to sendmail-questions@sendmail.org (sendmail-questions):
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   sendmail-questions@sendmail.org (sendmail-questions)  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 11 Jan 1997 16:51:37 +0000 Received: (qmail 13953 invoked from network); 11 Jan 1997 16:51:33 -0000 Received: from net-1.adj.com (206.190.9.2) by master.debian.org with SMTP; 11 Jan 1997 16:51:25 -0000 Received: from ozone.fmi.fi (ozone.fmi.fi [193.166.208.16]) by net-1.adj.com (8.7.4/8.7.3) with ESMTP id IAA08809 for <6495@bugs.debian.org>; Sat, 11 Jan 1997 08:45:51 -0600 Received: (from hurtta@localhost) by ozone.fmi.fi (8.8.4/8.8.2/test/1996-11-12) id QAA07479; Sat, 11 Jan 1997 16:43:06 +0200 (EET) From: "Kari E. Hurtta" Message-Id: <199701111443.QAA07479@ozone.fmi.fi> Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: <199701110730.BAA27187@complete.org> from John Goerzen at "Jan 11, 97 01:30:18 am" To: jgoerzen@complete.org (John Goerzen) Date: Sat, 11 Jan 1997 16:43:06 +0200 (EET) Cc: sendmail-questions@sendmail.org, gshapiro@WPI.EDU, 6495@bugs.debian.org Reply-To: sendmail-questions@sendmail.org (sendmail-questions) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit John Goerzen: > > > Absolutely positive. The only thing it could possible need are complete.org > > > > Are you sure that this includes addresses of all interfaces which > > have marked to UP ? > > I am not quite sure what this is referring to here. But what I can say is > that nowhere in any sendmail configuration file does it mention any address > other than complete.org except for the name of my UUCP host, which is > mentioned only once as my "smart host". I am asking that are all addresses of these interfaces listed in /etc/hosts. Sendmail will call gethostbyaddr for these addresses. > Here's the output of netstat -ai, if it's anything to you: > > ~# netstat -ai > Kernel Interface table > Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags > lo 3584 0 12971 0 0 0 12971 0 0 0 BLRU > sl0 1500 0 0 0 0 0 464 0 0 0 PRU > ppp0 1500 0 7755 5 5 0 6018 0 0 0 PRU > > (this is for while ppp is running. when ppp is not running, ppp0 will not be > listed, I suppose) > > sl0 is a "virtual" interface used by diald. It detects when stuff is going to > be used for ppp. > > In any case, I don't see what business sendmail has with any of this stuff > anyway... It appears to be doing something with my PPP connection even when > it is only delivering stuff from the local computer to the local computer. > There should be no need for it to mess with anything of this sort. Sendmail needs to know all addresses and names of your machine. It adds these to class $=w. For that it asks list of interfaces and take ip address and name of these. If these addresses does not found from /etc/hosts, your gethostbyaddr goes to DNS.   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to John Goerzen <jgoerzen@complete.org>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   John Goerzen <jgoerzen@complete.org>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 11 Jan 1997 20:21:30 +0000 Received: (qmail 15431 invoked from network); 11 Jan 1997 20:21:16 -0000 Received: from onyx.southwind.net (root@204.95.83.2) by master.debian.org with SMTP; 11 Jan 1997 20:21:13 -0000 Received: (from Ucomplet@localhost) by onyx.southwind.net (8.8.4/8.8.3) with UUCP id OAA14901; Sat, 11 Jan 1997 14:18:45 -0600 (CST) Received: from complete.org (jgoerzen@localhost [127.0.0.1]) by complete.org (8.7.6/8.7.3) with ESMTP id MAA00402; Sat, 11 Jan 1997 12:41:57 -0600 Message-Id: <199701111841.MAA00402@complete.org> X-Mailer: exmh version 1.6.9 8/22/96 To: Gregory Neil Shapiro cc: sendmail-questions@sendmail.org (sendmail-questions), 6495@bugs.debian.org Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: Your message of "Sat, 11 Jan 1997 10:22:12 EST." <199701111522.KAA08355@scooter.WPI.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Jan 1997 12:41:56 -0600 From: John Goerzen > First, please understand we are trying to help you and anyone else who might > be suffering from this problem. Thank you very much! > Can you mail us the output of the following commands? > > ifconfig lo > ifconfig sl0 > ifconfig ppp0 > netstat -r > cat /etc/hosts Sure thing, although I don't really know what the output means (except for the /etc/hosts ) I've attached this info below. > jgoerzen> In any case, I don't see what business sendmail has with any of this > > During startup, sendmail reads the interfaces on the system to determine other > 'local' addresses so they can be included in the 'w' class. Could this problem be solved, then, by enabling a "cw file" and putting all possible names for the local system in it? (eg localhost, complete.org on my system) > Would you be willing to test this theory if I sent you a patch? I'd be glad to! -- John Goerzen | Running Debian GNU/Linux (www.debian.org) Custom Programming | jgoerzen@complete.org |   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to John Goerzen <jgoerzen@complete.org>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   John Goerzen <jgoerzen@complete.org>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 11 Jan 1997 20:24:52 +0000 Received: (qmail 15592 invoked from network); 11 Jan 1997 20:24:38 -0000 Received: from onyx.southwind.net (root@204.95.83.2) by master.debian.org with SMTP; 11 Jan 1997 20:24:36 -0000 Received: (from Ucomplet@localhost) by onyx.southwind.net (8.8.4/8.8.3) with UUCP id OAA14904; Sat, 11 Jan 1997 14:18:45 -0600 (CST) Received: from complete.org (jgoerzen@localhost [127.0.0.1]) by complete.org (8.7.6/8.7.3) with ESMTP id MAA02014; Sat, 11 Jan 1997 12:52:40 -0600 Message-Id: <199701111852.MAA02014@complete.org> X-Mailer: exmh version 1.6.9 8/22/96 To: Gregory Neil Shapiro cc: sendmail-questions@sendmail.org (sendmail-questions), 6495@bugs.debian.org Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: Your message of "Sat, 11 Jan 1997 10:22:12 EST." <199701111522.KAA08355@scooter.WPI.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Jan 1997 12:52:39 -0600 From: John Goerzen > Can you mail us the output of the following commands? > > ifconfig lo > ifconfig sl0 > ifconfig ppp0 > netstat -r > cat /etc/hosts Oops, forgot to include this in my previous e-mail... Here goes. ~# ifconfig lo lo Link encap:Local Loopback inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 RX packets:13211 errors:0 dropped:0 overruns:0 TX packets:13211 errors:0 dropped:0 overruns:0 When PPP is not running, sl0 looks like this: ~# ifconfig sl0 sl0 Link encap:Serial Line IP inet addr:127.1.2.3 P-t-P:206.28.168.21 Mask:255.255.255.0 UP POINTOPOINT RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 TX packets:491 errors:0 dropped:0 overruns:0 When PPP is up, it looks like this: ~# ifconfig sl0 sl0 Link encap:Serial Line IP inet addr:206.28.185.181 P-t-P:206.28.168.21 Mask:255.255.255.0 UP POINTOPOINT RUNNING MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 TX packets:499 errors:0 dropped:0 overruns:0 When PPP is up, ifconfig ppp0 looks like the following. When PPP is not up, there is no ppp0. ppp0 Link encap:Point-Point Protocol inet addr:206.28.185.181 P-t-P:206.28.168.21 Mask:255.255.255.0 UP POINTOPOINT RUNNING MTU:1500 Metric:1 RX packets:9 errors:0 dropped:0 overruns:0 TX packets:18 errors:0 dropped:0 overruns:0 Note again that sl0 is a "dummy" device used by diald (a program that automatically detects when there is network traffic pending, and when there is traffic, brings up PPP). I don't claim to know what a lot of the above means :-) ~# netstat -r Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface ns.midusa.net * 255.255.255.255 UH 1500 0 0 ppp0 localnet * 255.0.0.0 U 3584 0 0 lo default * 0.0.0.0 U 1500 0 0 ppp0 ~# cat /etc/hosts 127.0.0.0 complete.org complete 127.0.0.1 localhost 127.0.0.0 www.complete.org www 127.0.0.0 news.complete.org news 127.0.0.0 ftp.complete.org ftp 127.0.0.0 gopher.complete.org gopher Thanks for your help! Regards, John Goerzen -- John Goerzen | Running Debian GNU/Linux (www.debian.org) Custom Programming | jgoerzen@complete.org |   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to Gregory Neil Shapiro <gshapiro@WPI.EDU>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   Gregory Neil Shapiro <gshapiro@WPI.EDU>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 11 Jan 1997 21:12:13 +0000 Received: (qmail 18403 invoked from network); 11 Jan 1997 21:12:10 -0000 Received: from smtp.WPI.EDU (root@130.215.24.62) by master.debian.org with SMTP; 11 Jan 1997 21:12:09 -0000 Received: from scooter.WPI.EDU (gshapiro@scooter.WPI.EDU [130.215.24.61]) by smtp.WPI.EDU (8.8.4/8.8.4) with ESMTP id QAA21534; Sat, 11 Jan 1997 16:09:50 -0500 Received: (from gshapiro@localhost) by scooter.WPI.EDU (8.8.4/8.8.4) id QAA10067; Sat, 11 Jan 1997 16:09:50 -0500 (EST) Date: Sat, 11 Jan 1997 16:09:50 -0500 (EST) Message-Id: <199701112109.QAA10067@scooter.WPI.EDU> From: Gregory Neil Shapiro To: John Goerzen Cc: sendmail-questions@sendmail.org (sendmail-questions), 6495@bugs.debian.org Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: <199701111852.MAA02014@complete.org> References: <199701111522.KAA08355@scooter.WPI.EDU> <199701111852.MAA02014@complete.org> jgoerzen> sl0 Link encap:Serial Line IP jgoerzen> inet addr:127.1.2.3 P-t-P:206.28.168.21 Mask:255.255.255.0 jgoerzen> sl0 Link encap:Serial Line IP jgoerzen> inet addr:206.28.185.181 P-t-P:206.28.168.21 Mask:255.255.255.0 jgoerzen> ppp0 Link encap:Point-Point Protocol jgoerzen> inet addr:206.28.185.181 P-t-P:206.28.168.21 Mask:255.255.255.0 You need these three IP addresses in your local /etc/hosts file.   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to sendmail-questions@sendmail.org (sendmail-questions):
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   sendmail-questions@sendmail.org (sendmail-questions)  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 11 Jan 1997 21:19:34 +0000 Received: (qmail 18787 invoked from network); 11 Jan 1997 21:19:22 -0000 Received: from ozone.fmi.fi (193.166.208.16) by master.debian.org with SMTP; 11 Jan 1997 21:19:21 -0000 Received: (from hurtta@localhost) by ozone.fmi.fi (8.8.4/8.8.2/test/1996-11-12) id XAA08015; Sat, 11 Jan 1997 23:15:26 +0200 (EET) From: "Kari E. Hurtta" Message-Id: <199701112115.XAA08015@ozone.fmi.fi> Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: <199701111852.MAA02014@complete.org> from John Goerzen at "Jan 11, 97 12:52:39 pm" To: jgoerzen@complete.org (John Goerzen) Date: Sat, 11 Jan 1997 23:15:26 +0200 (EET) Cc: gshapiro@WPI.EDU, sendmail-questions@sendmail.org, 6495@bugs.debian.org Reply-To: sendmail-questions@sendmail.org (sendmail-questions) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit John Goerzen: > > Can you mail us the output of the following commands? > > > > ifconfig lo > > ifconfig sl0 > > ifconfig ppp0 > > netstat -r > > cat /etc/hosts > > Oops, forgot to include this in my previous e-mail... Here goes. > > ~# ifconfig lo > lo Link encap:Local Loopback > inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 > UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 > RX packets:13211 errors:0 dropped:0 overruns:0 > TX packets:13211 errors:0 dropped:0 overruns:0 > > When PPP is not running, sl0 looks like this: > > ~# ifconfig sl0 > sl0 Link encap:Serial Line IP > inet addr:127.1.2.3 P-t-P:206.28.168.21 Mask:255.255.255.0 > UP POINTOPOINT RUNNING MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 > TX packets:491 errors:0 dropped:0 overruns:0 > > When PPP is up, it looks like this: > ~# ifconfig sl0 > sl0 Link encap:Serial Line IP > inet addr:206.28.185.181 P-t-P:206.28.168.21 Mask:255.255.255.0 > UP POINTOPOINT RUNNING MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 > TX packets:499 errors:0 dropped:0 overruns:0 And when PPP is DOWN what is infconfig sl0 output? > > When PPP is up, ifconfig ppp0 looks like the following. When PPP is not up, there is no ppp0. > > ppp0 Link encap:Point-Point Protocol > inet addr:206.28.185.181 P-t-P:206.28.168.21 Mask:255.255.255.0 > UP POINTOPOINT RUNNING MTU:1500 Metric:1 > RX packets:9 errors:0 dropped:0 overruns:0 > TX packets:18 errors:0 dropped:0 overruns:0 > > Note again that sl0 is a "dummy" device used by diald (a program that automatically detects when there is network traffic pending, and when there is traffic, brings up PPP). "dummy" or not, this does not matter. That matter which interfaces exists and marked to be UP. Sendmail is intrested to know these. > I don't claim to know what a lot of the above means :-) > > ~# netstat -r > Kernel IP routing table > Destination Gateway Genmask Flags MSS Window irtt Iface > ns.midusa.net * 255.255.255.255 UH 1500 0 0 ppp0 > localnet * 255.0.0.0 U 3584 0 0 lo > default * 0.0.0.0 U 1500 0 0 ppp0 > ~# cat /etc/hosts > 127.0.0.0 complete.org complete > 127.0.0.1 localhost > 127.0.0.0 www.complete.org www > 127.0.0.0 news.complete.org news > 127.0.0.0 ftp.complete.org ftp > 127.0.0.0 gopher.complete.org gopher So gethostbyaddr(206.28.185.181) and gethostbyaddr(127.1.2.3) go to DNS.   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to "Kari E. Hurtta" <Kari.Hurtta@ozone.FMI.FI>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   "Kari E. Hurtta" <Kari.Hurtta@ozone.FMI.FI>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 11 Jan 1997 21:28:37 +0000 Received: (qmail 23009 invoked from network); 11 Jan 1997 21:28:23 -0000 Received: from ozone.fmi.fi (193.166.208.16) by master.debian.org with SMTP; 11 Jan 1997 21:28:20 -0000 Received: (from hurtta@localhost) by ozone.fmi.fi (8.8.4/8.8.2/test/1996-11-12) id XAA08111; Sat, 11 Jan 1997 23:25:52 +0200 (EET) From: "Kari E. Hurtta" Message-Id: <199701112125.XAA08111@ozone.fmi.fi> Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: <199701112115.XAA08015@ozone.fmi.fi> from "Kari E. Hurtta" at "Jan 11, 97 11:15:26 pm" To: sendmail-questions@sendmail.org Date: Sat, 11 Jan 1997 23:25:52 +0200 (EET) Cc: jgoerzen@complete.org, gshapiro@WPI.EDU, sendmail-questions@sendmail.org, 6495@bugs.debian.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Kari E. Hurtta: > > RX packets:0 errors:0 dropped:0 overruns:0 > > TX packets:491 errors:0 dropped:0 overruns:0 > > > > When PPP is up, it looks like this: > > ~# ifconfig sl0 > > sl0 Link encap:Serial Line IP > > inet addr:206.28.185.181 P-t-P:206.28.168.21 Mask:255.255.255.0 > > UP POINTOPOINT RUNNING MTU:1500 Metric:1 > > RX packets:0 errors:0 dropped:0 overruns:0 > > TX packets:499 errors:0 dropped:0 overruns:0 > > And when PPP is DOWN what is infconfig sl0 output? OOPS. Worget this line.   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to John Goerzen <jgoerzen@complete.org>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   John Goerzen <jgoerzen@complete.org>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 11 Jan 1997 23:23:46 +0000 Received: (qmail 2389 invoked from network); 11 Jan 1997 23:23:35 -0000 Received: from onyx.southwind.net (root@204.95.83.2) by master.debian.org with SMTP; 11 Jan 1997 23:23:33 -0000 Received: (from Ucomplet@localhost) by onyx.southwind.net (8.8.4/8.8.3) with UUCP id QAA24124; Sat, 11 Jan 1997 16:52:29 -0600 (CST) Received: from complete.org (jgoerzen@localhost [127.0.0.1]) by complete.org (8.7.6/8.7.3) with ESMTP id OAA03777; Sat, 11 Jan 1997 14:23:42 -0600 Message-Id: <199701112023.OAA03777@complete.org> X-Mailer: exmh version 1.6.9 8/22/96 To: sendmail-questions@sendmail.org (sendmail-questions) cc: gshapiro@WPI.EDU, 6495@bugs.debian.org Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: Your message of "Sat, 11 Jan 1997 16:43:06 +0200." <199701111443.QAA07479@ozone.fmi.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Jan 1997 14:23:42 -0600 From: John Goerzen (I can't seem to recall if I replied to this message already. If I did, I apologize for doing so again ) > I am asking that are all addresses of these interfaces listed > in /etc/hosts. Sendmail will call gethostbyaddr for these addresses. Hmm, no, actually. The addresses of ppp0 (and sl0 when PPP is up) are assigned by my ISP. I suppose I could put all the possible values into /etc/hosts by using nslookup to find them, but that kinda defeats the purpose of DNS. If my ISP all of a sudden changes the numbers for their PPP connections, I am in a very bad situation. Since PPP negotiates IP addresses dynamically, putting everthing into /etc/hosts seems to be not such a good idea. Could I use a "cw" file and tell sendmail exactly what its possible addresses are, or will it still try to second-guess me and look them up itself? I do have "Cwlocalhost" in my .cf file and my domain is explicitly defined. There is no other possible address that it needs to worry about. (I am not receiving SMTP connections via PPP, after all...) The point here is that sendmail has no business with my SLIP/PPP interfaces anyway -- because they are of no interest to sendmail. Perhaps herein lies the problem. Sendmail should not be poking around in there if it doesn't need to (eg, FEATURE(nodns) and FEATURE(nocanonify)). Sendmail should only be interested with the loopback interface, since that is where it will be accepting SMTP connections from (if any). All the mail from off the system comes and goes via UUCP. In my mc file, I explicitly told sendmail what my domain is -- it's kinda annoying that it doesn't trust what I told it and tries to second-guess me.... Maybe if there was a "keep your nose out of my PPP interfaces" option , that would make everybody happy? :-) Just add a FEATURE telling it that all of the possible domains for this machine are explictly defined, and that it doesn't need to try to discover other ones. -- John Goerzen | Running Debian GNU/Linux (www.debian.org) Custom Programming | jgoerzen@complete.org |   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to John Goerzen <jgoerzen@complete.org>:
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   John Goerzen <jgoerzen@complete.org>  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 12 Jan 1997 03:51:27 +0000 Received: (qmail 27755 invoked from network); 12 Jan 1997 03:51:15 -0000 Received: from onyx.southwind.net (root@204.95.83.2) by master.debian.org with SMTP; 12 Jan 1997 03:51:13 -0000 Received: (from Ucomplet@localhost) by onyx.southwind.net (8.8.4/8.8.3) with UUCP id VAA23541; Sat, 11 Jan 1997 21:32:51 -0600 (CST) Received: from complete.org (jgoerzen@localhost [127.0.0.1]) by complete.org (8.8.4/8.8.4) with ESMTP id VAA08351; Sat, 11 Jan 1997 21:27:08 -0600 Message-Id: <199701120327.VAA08351@complete.org> X-Mailer: exmh version 1.6.9 8/22/96 To: Gregory Neil Shapiro cc: sendmail-questions@sendmail.org (sendmail-questions), 6495@bugs.debian.org Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: Your message of "Sat, 11 Jan 1997 16:09:50 EST." <199701112109.QAA10067@scooter.WPI.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Jan 1997 21:27:08 -0600 From: John Goerzen > jgoerzen> sl0 Link encap:Serial Line IP > jgoerzen> inet addr:127.1.2.3 P-t-P:206.28.168.21 Mask:255.255.255.0 > > jgoerzen> sl0 Link encap:Serial Line IP > jgoerzen> inet addr:206.28.185.181 P-t-P:206.28.168.21 Mask:255.255.255.0 > > jgoerzen> ppp0 Link encap:Point-Point Protocol > jgoerzen> inet addr:206.28.185.181 P-t-P:206.28.168.21 Mask:255.255.255.0 > > You need these three IP addresses in your local /etc/hosts file. OK, I did that and now it works! Thanks! But I still say that it's a bug because I should not need to put the IP addresses and host names of all my ISP's modems in /etc/hosts just to use UUCP... -- John Goerzen | Running Debian GNU/Linux (www.debian.org) Custom Programming | jgoerzen@complete.org |   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to sendmail-questions@sendmail.org (sendmail-questions):
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   sendmail-questions@sendmail.org (sendmail-questions)  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 12 Jan 1997 08:03:24 +0000 Received: (qmail 21765 invoked from network); 12 Jan 1997 08:03:19 -0000 Received: from ozone.fmi.fi (193.166.208.16) by master.debian.org with SMTP; 12 Jan 1997 08:03:18 -0000 Received: (from hurtta@localhost) by ozone.fmi.fi (8.8.4/8.8.2/test/1996-11-12) id KAA08747; Sun, 12 Jan 1997 10:00:46 +0200 (EET) From: "Kari E. Hurtta" Message-Id: <199701120800.KAA08747@ozone.fmi.fi> Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: <199701120327.VAA08351@complete.org> from John Goerzen at "Jan 11, 97 09:27:08 pm" To: jgoerzen@complete.org (John Goerzen) Date: Sun, 12 Jan 1997 10:00:45 +0200 (EET) Cc: gshapiro@WPI.EDU, sendmail-questions@sendmail.org, 6495@bugs.debian.org Reply-To: sendmail-questions@sendmail.org (sendmail-questions) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit John Goerzen: > > jgoerzen> sl0 Link encap:Serial Line IP > > jgoerzen> inet addr:127.1.2.3 P-t-P:206.28.168.21 Mask:255.255.255.0 > > > > jgoerzen> sl0 Link encap:Serial Line IP > > jgoerzen> inet addr:206.28.185.181 P-t-P:206.28.168.21 Mask:255.255.255.0 > > > > jgoerzen> ppp0 Link encap:Point-Point Protocol > > jgoerzen> inet addr:206.28.185.181 P-t-P:206.28.168.21 Mask:255.255.255.0 > > > > You need these three IP addresses in your local /etc/hosts file. > > OK, I did that and now it works! Thanks! > > But I still say that it's a bug because I should not need to put the IP > addresses and host names of all my ISP's modems in /etc/hosts just to use > UUCP... In sendmail point to view nothing prevent that you will receive mail from these interfaces. And also nothing prevents that you have sending mail to your local machine by using name / address of these interfaces. If your machine have IP and you are not willing to use it -- you must compile sendmail that way it does use it (well, in your situtaion it is enough that you undefine SIOCGIFCONF). Primaly sendmail is passing mail via SMTP in IP connected networks. Sendmail does not have special support for part time IP connections. Interfaces are assumed to be static. At least following usages to know all addresses of machine: sendmail -bd sendmail -bD sendmail -bs (at least when sendmail is called from inetd) sendmail -q (because interface addresses are not stored to queue files) sendmail {address or -t} needs to know interface addresses if these are used as addresses As you see, it is hard to say when sendmail dioes not need to know all addresses / names of machine. Because they are often potentially needed sendmail tries detect them automatically. This removes error situations where user does not have tell all addresses / names in sendmail.cf. Notice that sendmail need to recognize when user@host.name and user@[ip.address] are local recipients and must not be relayed. Following text in cf/README hints that sendmail is intended to SMTP world: | +-------------------------------+ | | NON-SMTP BASED CONFIGURATIONS | | +-------------------------------+ | | These configuration files are designed primarily for use by SMTP-based | sites. I don't pretend that they are well tuned for UUCP-only or | UUCP-primarily nodes (the latter is defined as a small local net | connected to the rest of the world via UUCP). However, there is one | hook to handle some special cases.   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to sendmail-questions@sendmail.org (sendmail-questions):
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   sendmail-questions@sendmail.org (sendmail-questions)  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 12 Jan 1997 09:00:37 +0000 Received: (qmail 27635 invoked from network); 12 Jan 1997 09:00:33 -0000 Received: from ozone.fmi.fi (193.166.208.16) by master.debian.org with SMTP; 12 Jan 1997 09:00:32 -0000 Received: (from hurtta@localhost) by ozone.fmi.fi (8.8.4/8.8.2/test/1996-11-12) id KAA08807; Sun, 12 Jan 1997 10:58:07 +0200 (EET) From: "Kari E. Hurtta" Message-Id: <199701120858.KAA08807@ozone.fmi.fi> Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: <199701120800.KAA08747@ozone.fmi.fi> from "Kari E. Hurtta" at "Jan 12, 97 10:00:45 am" To: sendmail-questions@sendmail.org Date: Sun, 12 Jan 1997 10:58:07 +0200 (EET) Cc: jgoerzen@complete.org, gshapiro@WPI.EDU, sendmail-questions@sendmail.org, 6495@bugs.debian.org Reply-To: sendmail-questions@sendmail.org (sendmail-questions) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Kari E. Hurtta: > Sendmail does not have special support for part time IP connections. > Interfaces are assumed to be static. > > At least following usages to know all addresses of machine: > sendmail -bd > sendmail -bD > sendmail -bs (at least when sendmail is called from > inetd) > > sendmail -q (because interface addresses are > not stored to queue files) > > sendmail {address or -t} needs to know interface addresses > if these are used as addresses > > As you see, it is hard to say when sendmail dioes not need to > know all addresses / names of machine. Because they are often > potentially needed sendmail tries detect them automatically. > This removes error situations where user does not have tell > all addresses / names in sendmail.cf. I forget that sendmail also needs know all interface addresses when it is sending SMTP mail, because it need to know when some MX record point to it.   Information forwarded to debian-bugs-dist@lists.debian.org, Robert Leslie <rob@mars.org>:
Bug#6495; Package sendmail.   debian-bugs-dist@lists.debian.orgRobert Leslie <rob@mars.org>  Sorry, this message was lost when this bug report was restored from a backup.   Acknowledgement sent to sendmail-questions@sendmail.org (sendmail-questions):
Extra info received and forwarded to list. Copy sent to Robert Leslie <rob@mars.org>.   sendmail-questions@sendmail.org (sendmail-questions)  Sorry, this message was lost when this bug report was restored from a backup.   Received: (at 6495) by bugs.debian.org; 12 Jan 1997 09:32:14 +0000 Received: (qmail 143 invoked from network); 12 Jan 1997 09:32:10 -0000 Received: from ozone.fmi.fi (193.166.208.16) by master.debian.org with SMTP; 12 Jan 1997 09:32:10 -0000 Received: (from hurtta@localhost) by ozone.fmi.fi (8.8.4/8.8.2/test/1996-11-12) id LAA08873; Sun, 12 Jan 1997 11:29:50 +0200 (EET) From: "Kari E. Hurtta" Message-Id: <199701120929.LAA08873@ozone.fmi.fi> Subject: Re: Bug with Sendmail 8.8.4 In-Reply-To: <199701112023.OAA03777@complete.org> from John Goerzen at "Jan 11, 97 02:23:42 pm" To: jgoerzen@complete.org (John Goerzen) Date: Sun, 12 Jan 1997 11:29:50 +0200 (EET) Cc: sendmail-questions@sendmail.org, gshapiro@WPI.EDU, 6495@bugs.debian.org Reply-To: sendmail-questions@sendmail.org (sendmail-questions) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit John Goerzen: > (I can't seem to recall if I replied to this message already. If I did, I > apologize for doing so again ) > > > I am asking that are all addresses of these interfaces listed > > in /etc/hosts. Sendmail will call gethostbyaddr for these addresses. > > Hmm, no, actually. The addresses of ppp0 (and sl0 when PPP is up) are > assigned by my ISP. > > I suppose I could put all the possible values into /etc/hosts by using > nslookup to find them, but that kinda defeats the purpose of DNS. If my ISP > all of a sudden changes the numbers for their PPP connections, I am in a very > bad situation. Since PPP negotiates IP addresses dynamically, putting > everthing into /etc/hosts seems to be not such a good idea. You need put at least these addresses which exists in some interfaces when PPP is not up. Otherwise query of these addresses will cause DSN traffic which brough PPP up. > Could I use a "cw" file and tell sendmail exactly what its possible addresses > are, or will it still try to second-guess me and look them up itself? I do > have "Cwlocalhost" in my .cf file and my domain is explicitly defined. There > is no other possible address that it needs to worry about. (I am not > receiving SMTP connections via PPP, after all...) Sendmail does not know that :-) > Maybe if there was a "keep your nose out of my PPP interfaces" option , > that would make everybody happy? :-) Just add a FEATURE telling it that all > of the possible domains for this machine are explictly defined, and that it > doesn't need to try to discover other ones. Yes. There need to move load_if_names() after of reading of sendmail.cf (now it is before) and new option 'don't poke interfaces' to sendmail.cf. Perhaps you have abble to convice Eric Allman (author of sendmail) to add this to sendmail 8.9. (I once suggested that sendmail should not get interface addresses if sendmail listens only specific address (= interface) instead of addresses (= interfaces). This suggestion was not accepted. ) In your case if alternatively Eric will add that my suggestion for handling of loads_if_names(), then O DaemonPortOptions=Address=localhost also helps without that "don't poke interfaces" option. Now it does not help. [ Actually I think that O DaemonPortOptions=Addresses=(localhost,interface1,interface2) can be usefull, but that requires that sendmail smtp daemon needs several filedescriptions to be listed -- this can be nasty. ]