From owner-freebsd-questions Thu Feb 13 17:43: 9 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F24ED37B405 for ; Thu, 13 Feb 2003 17:43:04 -0800 (PST) Received: from andromeda.68k.org (callisto.teisoft.com [12.109.66.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F27843F75 for ; Thu, 13 Feb 2003 17:43:01 -0800 (PST) (envelope-from ayn@andromeda.68k.org) Received: from andromeda.68k.org (ayn@localhost [127.0.0.1]) by andromeda.68k.org (8.12.6/8.12.6/Debian-6Woody) with ESMTP id h1E1gvA4025510 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 13 Feb 2003 20:42:57 -0500 Received: (from ayn@localhost) by andromeda.68k.org (8.12.6/8.12.6/Debian-6Woody) id h1E1gv8Z025508; Thu, 13 Feb 2003 20:42:57 -0500 Date: Thu, 13 Feb 2003 20:42:57 -0500 From: Andrew Y Ng To: Giorgos Keramidas Cc: questions@FreeBSD.ORG Subject: Re: need some sendmail help Message-ID: <20030214014257.GA25410@AndrewNg.com> References: <20030213202116.GA17725@AndrewNg.com> <20030213204847.GA4654@gothmog.gr> <20030214013811.GA25303@AndrewNg.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: <20030214013811.GA25303@AndrewNg.com> User-Agent: Mutt/1.3.28i X-GPG-Fingerprint: 46A1 29FF 893A 0381 DC81 1E1E BED8 E882 9BFC 594C X-GPG-Info: gpg --keyserver pgp.mit.edu --recv-keys 9BFC594C Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable forgot /etc/hosts: ayn@NGBERT:~>egrep -v \^# /etc/hosts ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.thelin.com eagan.homeunix.net 192.168.1.100 aynlaptop andrew 192.168.1.102 ngbert ngbert.thelin.com 12.109.66.145 andrewng.com 192.168.1.103 johnbert john I think that ::1 line might've been the problem... /ayn On 0, Andrew Y Ng wrote: > On 0, Giorgos Keramidas wrote: > > On 2003-02-13 15:21, Andrew Y Ng wrote: > > > this might seem stupid, but for some reasons on one of my servers > > > running freebsd -stable, mail just doesn't work, I keep seeing: > > > > > > Feb 13 14:16:52 ngbert sendmail[50411]: h1DKGqL1050411: to=3Dayn, > > > ctladdr=3Dayn (1001/1001), delay=3D00:00:00, xdelay=3D00:00:00, > > > mailer=3Drelay, pri=3D30023, relay=3Dlocalhost.my.domain., dsn=3D4.0.= 0, > > > stat=3DDeferred: Connection refused by localhost.my.domain. > >=20 > > - What sendmail_xxx_enable options have you turned on in /etc/rc.conf? >=20 > ayn@NGBERT:/etc>grep sendmail rc.conf > sendmail_enable=3D"YES" >=20 > > - What options have you configured in your /etc/mail/*.mc files? >=20 > ayn@NGBERT:/etc/mail>grep define *mc|grep -v dnl > freebsd.mc:define(`confCW_FILE', `-o /etc/mail/local-host-names') > freebsd.mc:define(`confBIND_OPTS', `WorkAroundBrokenAAAA') > freebsd.mc:define(`confMAX_MIME_HEADER_LENGTH', `256/128') > freebsd.mc:define(`confNO_RCPT_ACTION', `add-to-undisclosed') > freebsd.mc:define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') > ngbert.thelin.com.mc:define(`confCW_FILE', `-o /etc/mail/local-host-names= ') > ngbert.thelin.com.mc:define(`confBIND_OPTS', `WorkAroundBrokenAAAA') > ngbert.thelin.com.mc:define(`confMAX_MIME_HEADER_LENGTH', `256/128') > ngbert.thelin.com.mc:define(`confNO_RCPT_ACTION', `add-to-undisclosed') > ngbert.thelin.com.mc:define(`confPRIVACY_FLAGS', > `authwarnings,noexpn,novrfy') >=20 > > - What are the contents of /etc/resolv.conf, /etc/host.conf and > > /etc/hosts files? >=20 > ayn@NGBERT:/etc/mail>cat /etc/resolv.conf > search attbi.com > nameserver 63.240.76.19 > nameserver 204.127.198.19 >=20 > ayn@NGBERT:/etc/mail>cat /etc/host.conf > # $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $ > # First try the /etc/hosts file > hosts > # Now try the nameserver next. > bind > # If you have YP/NIS configured, uncomment the next line > # nis >=20 > ayn@NGBERT:/etc/mail>cat /etc/host.conf > # $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $ > # First try the /etc/hosts file > hosts > # Now try the nameserver next. > bind > # If you have YP/NIS configured, uncomment the next line > # nis >=20 > thanks! >=20 > --=20 > andrew y ng http://andrewng.com >=20 --=20 andrew y ng http://andrewng.com independent computer consultants http://aynassociates.com --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+TEmhvtjogpv8WUwRApX6AKCAS4CtTuhpyqab8Gx0t7IfMKrxfQCfXblu DU5vd6kHZs1hV+six6VWtKE= =3Fve -----END PGP SIGNATURE----- --wac7ysb48OaltWcw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message