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>

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

[-- Attachment #1 --]
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=ayn,
> > > ctladdr=ayn (1001/1001), delay=00:00:00, xdelay=00:00:00,
> > > mailer=relay, pri=30023, relay=localhost.my.domain., dsn=4.0.0,
> > > stat=Deferred: Connection refused by localhost.my.domain.
> > 
> > - What sendmail_xxx_enable options have you turned on in /etc/rc.conf?
> 
> ayn@NGBERT:/etc>grep sendmail rc.conf
> sendmail_enable="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!
> 
> -- 
> andrew y ng  <ayn@andrewng.com>  http://andrewng.com
> 



-- 
andrew y ng  <ayn@andrewng.com>  http://andrewng.com
independent computer consultants http://aynassociates.com


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+TEmhvtjogpv8WUwRApX6AKCAS4CtTuhpyqab8Gx0t7IfMKrxfQCfXblu
DU5vd6kHZs1hV+six6VWtKE=
=3Fve
-----END PGP SIGNATURE-----
help

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