Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 20:42:57 -0500
From:      Andrew Y Ng <ayn@AndrewNg.com>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        questions@FreeBSD.ORG
Subject:   Re: need some sendmail help
Message-ID:  <20030214014257.GA25410@AndrewNg.com>
In-Reply-To: <20030214013811.GA25303@AndrewNg.com>
References:  <20030213202116.GA17725@AndrewNg.com> <20030213204847.GA4654@gothmog.gr> <20030214013811.GA25303@AndrewNg.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <ayn@andrewng.com> wrote:
> On  0, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
> > On 2003-02-13 15:21, Andrew Y Ng <ayn@AndrewNg.com> 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  <ayn@andrewng.com>  http://andrewng.com
>=20



--=20
andrew y ng  <ayn@andrewng.com>  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030214014257.GA25410>