Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2013 14:40:43 +0400
From:      Pavel Timofeev <timp87@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Strange sendmail behaviour after upgrade to 9.1-BETA2
Message-ID:  <CAAoTqfsdq%2B31RixZ7BHMt7JyG2W9cXifMp_QSUjEcTAmU3Q1uQ@mail.gmail.com>
In-Reply-To: <CAAoTqfuBxCpbXON-aa98BgVQz6mZyG-yTkO7630p74eV%2BQvTmQ@mail.gmail.com>
References:  <CAAoTqfvmsYc=fE9AZyzf9GKBtbazdu%2B3jmD5TjhMqQHDnrtrkw@mail.gmail.com> <CAAoTqfsftjLQMLZpnwtPJYV2gKEn3kumYVycKroi5%2BaEbjEoJQ@mail.gmail.com> <CAAoTqftbCS_g45e6m9tXhR0wc3Q5-9kWmUDCANX597h8DRQakg@mail.gmail.com> <CAAoTqfuqYkgHg9--wev8Qji7fVvDVB-BVdP1hO=KD4SfuP-RXw@mail.gmail.com> <CAAoTqftW2KJtQnZpk=DV6snXyu21agdaX_8ku0%2B623FDVW71gw@mail.gmail.com> <CAAoTqfv_XAwCUkBh4WFhdNTEe7wZ4_Sbpis3OCacUrwoT-p4NA@mail.gmail.com> <CABXB=RQdycdQKGbOh2tNvzyTpOGSyq6hCAFj=5BAHPMtg90YKQ@mail.gmail.com> <CAAoTqfu%2BYt5cd%2BOwXqesNcJqatLiZgOssYgLB0CD6ot%2BEp6-KQ@mail.gmail.com> <CAAoTqfuBxCpbXON-aa98BgVQz6mZyG-yTkO7630p74eV%2BQvTmQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok, I understand. Thanks a lot for excelent explanation. Maybe
sendmail ignores additional section?

I use _default_ fresh system, so resolver is _default_ bind.
For investigation I've just installed fresh 9.1-RELEASE amd64, email
delivery works and picture looks different than on 9.2:

14:30:45.061950 IP 10.0.2.15.30979 > hercules.xxx.ru.domain: 62684+
MX? xxx.ru. (24)
14:30:45.063064 IP hercules.xxx.ru.domain > 10.0.2.15.30979: 62684*
1/0/1 MX kalmar.xxx.ru. 10 (63)
14:30:45.063624 IP 10.0.2.15.39212 > hercules.xxx.ru.domain: 62685+
AAAA? kalmar.xxx.ru. (31)
14:30:45.064460 IP hercules.xxx.ru.domain > 10.0.2.15.39212: 62685* 0/1/0 (82)
14:30:45.064766 IP 10.0.2.15.44381 > hercules.xxx.ru.domain: 62686+ A?
kalmar.xxx.ru. (31)
14:30:45.065530 IP hercules.xxx.ru.domain > 10.0.2.15.44381: 62686*
1/0/0 A 192.168.31.190 (47)
14:30:45.066014 IP 10.0.2.15.42197 > hercules.xxx.ru.domain: 62687+ A?
kalmar.xxx.ru. (31)
14:30:45.066810 IP hercules.xxx.ru.domain > 10.0.2.15.42197: 62687*
1/0/0 A 192.168.31.190 (47)
14:30:45.071833 IP 10.0.2.15.23534 > hercules.xxx.ru.domain: 62688+
PTR? 15.2.0.10.in-addr.arpa. (40)

Now it asks AAAA _and_ A record of mx server and email works.
I'm confused =(


2013/8/1 Pavel Timofeev <timp87@gmail.com>:
> to Matthew Seaman
> No luck
>
> root@test:/etc/mail # grep ip /etc/rc.conf
> #ipv6_activate_all_interfaces="NO"
> #ipv6_network_interfaces="none"
> ip6addrctl_enable="YES"
> ip6addrctl_policy="ipv4_prefer"
>
> root@test:/etc/mail # ip6addrctl
> Prefix                          Prec Label      Use
> ::1/128                           50     0        0
> ::/0                              40     1        0
> ::ffff:0.0.0.0/96                100     4        0
> 2002::/16                         30     2        0
> 2001::/32                          5     5        0
> fc00::/7                           3    13        0
> ::/96                              1     3        0
> fec0::/10                          1    11        0
> 3ffe::/16                          1    12        0
>
> I stress, this is fresh system which was installed from official BETA2
> img and I didn't configure anything else. It's default system.
>
> 2013/8/1 Pavel Timofeev <timp87@gmail.com>:
>> I tried, but it didn't work.
>> # grep ip /etc/rc.conf
>> ipv6_activate_all_interfaces="NO"
>> ipv6_network_interfaces="none"
>> ip6addrctl_enable="NO"
>> ip6addrctl_policy="ipv4_prefer"
>> # ip6addrctl show
>> no source-address-selection policy is installed
>>
>> Or I did it wrong?
>>
>> 2013/7/31 J David <j.david.lists@gmail.com>:
>>> On Wed, Jul 31, 2013 at 8:54 AM, Pavel Timofeev <timp87@gmail.com> wrote:
>>>> I've just installed new fresh 9.2-BETA2 amd64 on another machine.
>>>> Same behavior - Sendmail asks DNS only for AAAA record of mx server.
>>>
>>> We also noticed one of our machines suddenly started using IPv6 to
>>> send outbound email (from Postfix rather than Sendmail) after it was
>>> upgraded from 8.4 to 9-STABLE a bit ago.
>>>
>>> I think there's been a change in the default IPv6 behavior between 8
>>> and 9.  Probably one of the many important things in UPDATING that
>>> always seems to slip past me.
>>>
>>> We use IPv6 extensively, so we were pleased after the initial
>>> surprise, but if you don't then ip6addrctl is probably the right
>>> temporary answer until you do.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAoTqfsdq%2B31RixZ7BHMt7JyG2W9cXifMp_QSUjEcTAmU3Q1uQ>