From owner-freebsd-questions Wed Mar 7 4: 2:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.unixathome.org (ns1.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id 245F437B718 for ; Wed, 7 Mar 2001 04:02:55 -0800 (PST) (envelope-from dan@langille.org) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by ns1.unixathome.org (8.11.1/8.11.1) with ESMTP id f27C2mI63157 for ; Thu, 8 Mar 2001 01:02:48 +1300 (NZDT) (envelope-from dan@langille.org) Message-Id: <200103071202.f27C2mI63157@ns1.unixathome.org> From: "Dan Langille" Organization: novice in training To: freebsd-questions@freebsd.org Date: Thu, 8 Mar 2001 01:02:47 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: hosts.allow sendmail problems Reply-To: dan@langille.org X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I originally posted this a few days ago. I now have more information. I'm finding this in my /var/log/maillog: sendmail[76681]: warning: /etc/hosts.allow, line 86: twist_option: dup: Bad file descriptor Line 86 is the last line of this: # The rest of the daemons are protected. ALL : ALL \ : severity auth.info \ : twist /bin/echo "You are not welcome to use %d from %h." Any clues? $ uname -a FreeBSD cvsup.nz.freebsd.org 4.2-STABLE FreeBSD 4.2- STABLE #0: Mon Feb 5 22:45:35 NZDT 2001 root@xeon.int.nz.freebsd.org:/usr/src/sys/compile/ZEKE i386 new info: I tracked this down to this line within /etc/hosts.allow: #sendmail : ALL : allow I had recently commented it out. This situation gives the following results from a remote box: # telnet mybox 25 Trying a.b.c.d... Connected to mybox Escape character is '^]'. Connection closed by foreign host. This produces the following entry in /var/log/maillog: Mar 8 00:58:18 mybox sendmail[86520]: warning: /etc/hosts.allow, line 86: twist_option: dup: Bad file descriptor Line 86 is: # The rest of the daemons are protected. ALL : ALL \ : severity auth.info \ : twist /bin/echo "You are not welcome to use %d from %h." Is that expected behaviour? -- Dan Langille pgpkey - finger dan@unixathome.org | http://unixathome.org/finger.php got any work? I'm looking for some. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message