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 <[EMAIL PROTECTED]> wrote: > On 0, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > > On 2003-02-13 15:21, Andrew Y Ng <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> http://andrewng.com > -- andrew y ng <[EMAIL PROTECTED]> http://andrewng.com independent computer consultants http://aynassociates.com
msg19439/pgp00000.pgp
Description: PGP signature