Date: Thu, 8 Mar 2001 01:02:47 +1300 From: "Dan Langille" <dan@langille.org> To: freebsd-questions@freebsd.org Subject: hosts.allow sendmail problems Message-ID: <200103071202.f27C2mI63157@ns1.unixathome.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103071202.f27C2mI63157>
