From owner-freebsd-questions Tue Mar 20 15:33:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from oracle.clara.net (oracle.clara.net [195.8.69.94]) by hub.freebsd.org (Postfix) with ESMTP id 15D5D37B72F for ; Tue, 20 Mar 2001 15:33:37 -0800 (PST) (envelope-from alex@clara.co.uk) Received: from [213.253.39.32] (helo=myname.my.domain) by oracle.clara.net with esmtp (Exim 3.11 #5) id 14fVd2-0007OV-00; Tue, 20 Mar 2001 23:33:28 +0000 Received: (from alex@localhost) by myname.my.domain (8.11.3/8.11.3) id f2KNYFB00929; Tue, 20 Mar 2001 23:34:15 GMT (envelope-from alex) Date: Tue, 20 Mar 2001 23:34:15 +0000 From: "Aleksandar Simic'" To: FreeBSD Questions Cc: Tony Landells Subject: Re: Local mail sending problem Message-ID: <20010320233415.A810@frustum.clara.co.uk> Mail-Followup-To: Aleksandar Simic' , FreeBSD Questions , Tony Landells References: <200103202250.JAA18493@tungsten.austclear.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103202250.JAA18493@tungsten.austclear.com.au>; from ahl@austclear.com.au on Wed, Mar 21, 2001 at 09:50:10AM +1100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 21, 2001 at 09:50:10AM +1100, Tony Landells wrote: > I'm assuming you're running a fairly new version of FreeBSD (and > sendmail). FreeBSD 4.3-BETA with Sendmail 8.11.3. > alex@frustum.clara.co.uk said: > > Thanks but that didn't solve the problem completely. Now instead > > of local mail hanging in the queue forever it "disappears". This > > is the message in /var/log/maillog: > > > 8@myname.my.domain>, relay=alex@localhost Mar 20 14:47:03 myname > > sendmail[1768]: f2KEl3J01768: to=root, delay=00:00:00, mailer=local, > > pri=37472, stat=queued Mar 20 14:47:04 myname sendmail[1769]: > > gethostbyaddr(192.168.0.2) failed: 1 > > > And then it finally gets sent somewhere, because I don't receive it in > > my mailbox or root's. This is the message: > > > > Mar 20 14:47:49 myname sendmail[1801]: f2KEl3J01768: to=root, > > ctladdr=alex (1001/1001), delay=00:00:46, xdelay=00:00:00, mail > > er=local, pri=127472, dsn=2.0.0, stat=Sent Mar 20 14:47:56 myname > > sendmail[1803]: gethostbyaddr(192.168.0.2) failed: 1 > > Cool--how broken is this??? > > The fundamental problem looks like name resolution--do you have > anything that would tell sendmail what 192.168.0.2 is? Even > /etc/hosts should work, if you've got it enabled on > /etc/host.conf... If I were to enable it would I do it by inserting(I guess I'm really displaying my ignorance here): 192.168.0.2 localhost localhost.my.domain myname.my.domain into /etc/hosts ? I've tried that(if that is the correct place/syntax since my host name is "myname.my.domain"), but the mail to root disappears. I know it is DNS that is messing with me, because on the old Sendmail configurations I've used: FEATURE(`nodns')dnl. With latest Sendmail that rule has been surpassed. I've been wrecking my brain trying to find an appropriate replacement that would make this work. In /usr/src/contrib/sendmail/cf/README: ___________________________________________________ nodns If you aren't running DNS at your site (for example, you are UUCP-only connected). It's hard to consider this a "feature", but hey, it had to go somewhere. Actually, as of 8.7 this is a no-op -- remove "dns" from the hosts service switch entry instead. ---------------------------------------------------- How do I replace this feature that worked with sendmail prior to the release of the 8.11 ? > Well, the message with "stat=Sent" is confirmation that sendmail > believes it has delivered the mail. Since your original message > said you had set up procmail, you might find more information > there... I can't, I've searched my procmail log file and there is nothing in mine about root, and root's is completely empty. --Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message