From owner-freebsd-current@FreeBSD.ORG Sat May 7 10:16:42 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1EE6106564A for ; Sat, 7 May 2011 10:16:42 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B9498FC12 for ; Sat, 7 May 2011 10:16:41 +0000 (UTC) Received: by mail-bw0-f54.google.com with SMTP id 12so4454064bwz.13 for ; Sat, 07 May 2011 03:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:x-authentication-warning:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=MBL8Vs3G2IcjZyDyB4G9EzHu8SFhCvmqFUW8zu0eVIM=; b=b5rUrO5jOKAdusxIdhP3KB2Ol1jkrAIno++wemhUINeDAD+rc1RvESpYgP6lAJOeUV a48QzIegikWTHKk8Uiry/7wQc6TjXjIp/DzSHNbtrWrLXm6Ton9PyHl93XC3YOHdP2ch enRhu25F+mNCkkQjKG49lFyP2/yRo70AdIlzo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; b=pPbRf2MtFKqJGyUoe6o+Zqf14503yGKN2Jv0ExWNKtjunOO/cghhoYnq2tGhPO7+xb EnaLRPBiUY3UIv1hQVlNp8DeEYFUaggmDTA6JrtlruyomEi3A05gnrE5s5SlVWZL1HZR XOYEvZldWHU1XNyF7R77Db10ilqjW2FmRfvdc= Received: by 10.204.16.216 with SMTP id p24mr1907701bka.5.1304763401113; Sat, 07 May 2011 03:16:41 -0700 (PDT) Received: from procyon.xvoid.org ([213.132.76.142]) by mx.google.com with ESMTPS id d11sm2495032bka.7.2011.05.07.03.16.39 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 May 2011 03:16:40 -0700 (PDT) Received: from procyon.xvoid.org (yuri@procyon.xvoid.org [IPv6:::1]) by procyon.xvoid.org (8.14.4/8.14.4) with ESMTP id p47AGb6B018301; Sat, 7 May 2011 14:16:37 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) Received: (from yuri@localhost) by procyon.xvoid.org (8.14.4/8.14.4/Submit) id p47AGbMX018300; Sat, 7 May 2011 14:16:37 +0400 (MSD) (envelope-from yuri.pankov@gmail.com) X-Authentication-Warning: procyon.xvoid.org: yuri set sender to yuri.pankov@gmail.com using -f Date: Sat, 7 May 2011 14:16:37 +0400 From: Yuri Pankov To: Jason Hellenthal Message-ID: <20110507101637.GF1222@procyon.xvoid.org> References: <20110507074547.GE1222@procyon.xvoid.org> <20110507101112.GA2734@DataIX.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110507101112.GA2734@DataIX.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org Subject: Re: sendmail tries to resolve IPv6:::1 specified in submit.mc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2011 10:16:42 -0000 On Sat, May 07, 2011 at 06:11:12AM -0400, Jason Hellenthal wrote: > > Yuri, > > > On Sat, May 07, 2011 at 11:45:47AM +0400, Yuri Pankov wrote: > >Hi, > > > >I'm getting weird problem on recent -CURRENT - sendmail is trying to > >resolve 'IPv6:::1' specified in /etc/mail/`hostname`.submit.mc: > > > >FEATURE(`msp', `[IPv6:::1]')dnl > > > >tcpdump: > >3802+ A? ipv6:::1.xvoid.org. (36) > >3802 NXDomain* 0/1/0 (100) > >3803+ A? ipv6:::1.lab.xvoid.org. (40) > >3803 NXDomain* 0/1/0 (108) > >3804+ A? ipv6:::1. (26) > >3804 ServFail 0/0/0 (26) > >3804+ A? ipv6:::1. (26) > >3804 ServFail 0/0/0 (26) > > > >IPv6 is configured and is working except for this problem. Sendmail > >on 8.2-RELEASE is working fine with the same submit.mc contents. > > > >Any hints? > > > > Yuri by default this is set to [127.0.0.1] as denoted by: > http://svn.freebsd.org/base/head/etc/sendmail/freebsd.submit.mc > > I believe it has been this way for a very long time. If for some reason > that you changed the value your self and you would like to revert back to > defaults you can remove `hostname`.mc & `hostname`.submit.mc and re-run > make(1) in the /etc/mail directory to give you a default config. > > The comment in that file reads: > dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1] Err, sure, but that's not what I'm asking. [127.0.0.1] works on both 8.2 and -CURRENT, however [IPv6:::1] doesn't work for me on -CURRENT, while working in 8.2. I can't find any related changes and checked almost everything I could think of in my configuration, so I'm asking for hints *why* sendmail doesn't accept [IPv6:::1] as correct address and tries to resolve it. Yuri