Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 May 2011 14:16:37 +0400
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        Jason Hellenthal <jhell@DataIX.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: sendmail tries to resolve IPv6:::1 specified in submit.mc
Message-ID:  <20110507101637.GF1222@procyon.xvoid.org>
In-Reply-To: <20110507101112.GA2734@DataIX.net>
References:  <20110507074547.GE1222@procyon.xvoid.org> <20110507101112.GA2734@DataIX.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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