>[оверквотинг удален]
>>> это правило пытается привести имя хоста к каноническому виду (fqdn).
>>> на выходе уже к полному имени хоста еще раз прилепляется домен.
>>> в общем это криво настроенный dns.
>>> sendmail -bt
>>>> /canon apico.msk.ru
>> Спасибо за разбор проблемы. Такой dns зоны у меня нет, это локальное
>> имя машины и даже без локальной dns зоны.
> смотрите:
> /etc/hosts
> /etc/resolv.conf Про hosts я так и подумал, что надо имя машины делать hostname.local.
Вот такую информацию нашел:
//>sendmail -v -d8.32 -qImessage_ID
;; res_nquerydomain(gamma.apico.msk.ru, <Nil>, 1, 28)
;; res_query(gamma.apico.msk.ru, 1, 28)
;; res_nmkquery(QUERY, gamma.apico.msk.ru, IN, AAAA)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17551
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; gamma.apico.msk.ru, type = AAAA, class = IN
;; Querying server (# 1) address = 127.0.0.1
;; new DG socket
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17551
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; gamma.apico.msk.ru, type = AAAA, class = IN
msk.ru. 1H IN SOA ns3-geo.nic.ru. noc-dns.nic.ru. (
3010199601 ; serial
2H ; refresh
15M ; retry
3D ; expiry
1H ) ; minimum
;; rcode = (NXDOMAIN), counts = an:0 ns:1 ar:0
;; res_nquerydomain(gamma.apico.msk.ru, apico.msk.ru, 1, 28)
;; res_query(gamma.apico.msk.ru.apico.msk.ru, 1, 28)
;; res_nmkquery(QUERY, gamma.apico.msk.ru.apico.msk.ru, IN, AAAA)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17552
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; gamma.apico.msk.ru.apico.msk.ru, type = AAAA, class = IN
;; Querying server (# 1) address = 127.0.0.1
;; new DG socket
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17552
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; gamma.apico.msk.ru.apico.msk.ru, type = AAAA, class = IN
msk.ru. 1H IN SOA ns3-geo.nic.ru. noc-dns.nic.ru. (
3010199601 ; serial
2H ; refresh
15M ; retry
3D ; expiry
1H ) ; minimum
;; rcode = (NXDOMAIN), counts = an:0 ns:1 ar:0
;; res_nquerydomain(gamma.apico.msk.ru, msk.ru, 1, 28)
;; res_query(gamma.apico.msk.ru.msk.ru, 1, 28)
;; res_nmkquery(QUERY, gamma.apico.msk.ru.msk.ru, IN, AAAA)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17553
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; gamma.apico.msk.ru.msk.ru, type = AAAA, class = IN
;; Querying server (# 1) address = 127.0.0.1
;; new DG socket
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17553
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; gamma.apico.msk.ru.msk.ru, type = AAAA, class = IN
gamma.apico.msk.ru.msk.ru. 3H IN SOA parking1.nic.ru. parking.nic.ru. (
1161450241 ; serial
12H ; refresh
2H ; retry
1W ; expiry
1D ) ; minimum
;; rcode = (NOERROR), counts = an:0 ns:1 ar:0
res_nsearch failed (-1)
_res.options = 800012c3, HasWildcardMX = 0
;; res_query(162.51.36.92.in-addr.arpa, 1, 12)
;; res_nmkquery(QUERY, 162.51.36.92.in-addr.arpa, IN, PTR)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17554
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; 162.51.36.92.in-addr.arpa, type = PTR, class = IN
;; Querying server (# 1) address = 127.0.0.1
;; new DG socket
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17554
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; 162.51.36.92.in-addr.arpa, type = PTR, class = IN
162.51.36.92.in-addr.arpa. 2H IN PTR cdma-92-36-51-162.msk.skylink.ru.
51.36.92.in-addr.arpa. 2H IN NS looser.cell.ru.
51.36.92.in-addr.arpa. 2H IN NS ns2.cell.ru.
;; res_query(254.2.168.192.in-addr.arpa, 1, 12)
;; res_nmkquery(QUERY, 254.2.168.192.in-addr.arpa, IN, PTR)
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17555
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; 254.2.168.192.in-addr.arpa, type = PTR, class = IN
;; Querying server (# 1) address = 127.0.0.1
;; new DG socket
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17555
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; 254.2.168.192.in-addr.arpa, type = PTR, class = IN
168.192.in-addr.arpa. 3H IN SOA 168.192.in-addr.arpa. nobody.localhost. (
42 ; serial
1D ; refresh
12H ; retry
1W ; expiry
3H ) ; minimum
;; rcode = (NXDOMAIN), counts = an:0 ns:1 ar:0
res_nquery failed (-1)