Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 20:38:11 -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:  <20030214013811.GA25303@AndrewNg.com>
In-Reply-To: <20030213204847.GA4654@gothmog.gr>
References:  <20030213202116.GA17725@AndrewNg.com> <20030213204847.GA4654@gothmog.gr>

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

--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?

ayn@NGBERT:/etc>grep sendmail rc.conf
sendmail_enable=3D"YES"

> - What options have you configured in your /etc/mail/*.mc files?

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')

> - What are the contents of /etc/resolv.conf, /etc/host.conf and
>   /etc/hosts files?

ayn@NGBERT:/etc/mail>cat /etc/resolv.conf
search attbi.com
nameserver 63.240.76.19
nameserver 204.127.198.19

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

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

thanks!

--=20
andrew y ng  <ayn@andrewng.com>  http://andrewng.com


--ZPt4rx8FFjLCG7dd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+TEiDvtjogpv8WUwRAsgFAKDq15RjQR1fZGH01LpUcShN+UDa6gCdFu0W
uqt4bMwiodhNdrSjkQczqL0=
=XSOf
-----END PGP SIGNATURE-----

--ZPt4rx8FFjLCG7dd--

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?20030214013811.GA25303>