From owner-freebsd-questions Sat Jan 18 10:43:22 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 EE1A437B401 for ; Sat, 18 Jan 2003 10:43:20 -0800 (PST) Received: from mail.adelphia.net (pa-plum1b-166.pit.adelphia.net [24.53.161.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42BD843F43 for ; Sat, 18 Jan 2003 10:43:19 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com ([172.16.0.95]) by mail.adelphia.net (8.12.3/8.12.3) with ESMTP id h0IIiXSY000353; Sat, 18 Jan 2003 13:44:33 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E29A002.1060304@potentialtech.com> Date: Sat, 18 Jan 2003 13:42:10 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Cowz Rule Cc: FreeBSD-Questions@FreeBSD.ORG Subject: Re: Internal mail not working References: <1042884066.401.2.camel@bathory> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 [Looks like the time is set wrong on your mailer] Cowz Rule wrote: > #uname -a > FreeBSD bathory.aria 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 > 06:14:12 GMT 2002 > murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 > > I'm having problems getting my internal mail working. What I'm trying to > do is email another internal user. > #mail cowz > Subject: Test > Testing... > . > EOT > # > It never makes it to the user. After some investigation i found > /var/log/maillog: > Jan 18 01:34:53 bathory sm-mta[90]: starting daemon (8.12.3): > SMTP+queueing@00:30:00 > Jan 18 01:34:53 bathory sm-msp-queue[93]: starting daemon (8.12.3): > queueing@00:30:00 > Jan 18 01:35:32 bathory sendmail[155]: h0I9ZW0D000155: from=root, > size=33, class=0, nrcpts=1, > msgid=<200301180935.h0I9ZW0D000155@bathory.aria>, relay=root@localhost > Jan 18 01:35:32 bathory sendmail[155]: h0I9ZW0D000155: to=cowz, > ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, > pri=30025, relay=[localhost], dsn=4.0.0, stat=Deferred: Name server: > [localhost]: host name lookup failure > Jan 18 01:35:33 bathory sm-msp-queue[95]: h0I9U923000154: to=cowz, > ctladdr=root (0/0), delay=00:05:24, xdelay=00:00:00, mailer=relay, > pri=120027, relay=[localhost], dsn=4.0.0, stat=Deferred: Name server: > [localhost]: host name lookup failure > > I assume the localhost is the problem but i cant figure out where to > change that setting. My /etc/hosts looks: > 127.0.0.1 bathory bathory.aria Try changing this line to 127.0.0.1 bathory bathory.aria localhost localhost.aria > ::1 bathory bathory.aria If you actually use IPv6, you'll want to change this as well. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message