atom feed22 messages in org.freebsd.freebsd-hackersRe: why does this sendmail connection...
FromSent OnAttachments
Dan LangilleAug 22, 2002 10:42 am 
Dan NelsonAug 22, 2002 11:47 am 
Michael ScheidellAug 22, 2002 3:27 pm 
Terry LambertAug 22, 2002 5:34 pm 
Dan LangilleAug 22, 2002 9:03 pm 
Terry LambertAug 22, 2002 10:29 pm 
Dan LangilleAug 28, 2002 9:57 am 
Jim BrownAug 28, 2002 10:48 am 
Terry LambertAug 28, 2002 4:42 pm 
Dan LangilleAug 29, 2002 5:39 am 
Gregory Neil ShapiroAug 29, 2002 10:31 am 
Dan LangilleAug 29, 2002 10:39 am 
Gregory Neil ShapiroAug 29, 2002 10:57 am 
Dan LangilleAug 29, 2002 11:18 am 
Gregory Neil ShapiroAug 29, 2002 11:26 am 
Dan LangilleAug 29, 2002 11:33 am 
Gregory Neil ShapiroAug 29, 2002 11:50 am 
Dan LangilleAug 29, 2002 11:56 am 
Terry LambertAug 29, 2002 12:52 pm 
David O'BrienSep 1, 2002 5:25 pm 
Eric ParuselSep 1, 2002 10:59 pm 
Gregory Neil ShapiroSep 2, 2002 4:22 pm 
Subject:Re: why does this sendmail connection take so long?
From:Gregory Neil Shapiro (gsha@FreeBSD.ORG)
Date:Aug 29, 2002 10:57:11 am
List:org.freebsd.freebsd-hackers

I see two related problems with your DNS setup:

dan> dns_getcanonname: trying m20.example.org. (A) dan> ;; res_querydomain(m20.example.org, , 1, 1) dan> ;; res_query(m20.example.org., 1, 1) dan> ;; res_mkquery(0, m20.example.org., 1, 1) dan> ;; res_send() dan> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26787 dan> ;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 dan> ;; m20.example.org, type = A, class = IN dan> ;; Querying server (# 1) address = 127.0.0.1 dan> ;; got answer: dan> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26787 dan> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: dan> 1 dan> ;; m20.example.org, type = A, class = IN dan> m20.example.org. 1M IN A 216.187.106.227 dan> example.org. 1M IN NS xeon.example.org.org. ^^^^^^^^^^^^^^^^^^^^^ dan> xeon.example.org.org. 5S IN A 127.0.0.1 ^^^^^^^^^^^^^^^^^^^^^

example.org's DNS zone has a mistake if it has an NS record pointing to a bogus hostname like that (and what's worse the bogus hostname resolves).

dan> dns_getcanonname: trying localhost.example.org (AAAA) dan> ;; res_querydomain(localhost, example.org, 1, 28) ...

dan> da@m20.example.org... Connecting to xeon.example.org. via relay...

localhost.example.org appears to map to xeon.example.org, perhaps via /etc/hosts?

My first suggestion would be to fix your DNS zone as mentioned above. Then, try the test again with more debugging:

echo 'hi there' | /usr/sbin/sendmail -v -d8.8,16.10,61.11 da@m20.example.org

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message