public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] netqmail fails to do CNAME lookup for lists.gentoo.org
@ 2013-03-23 12:17 Sascha Cunz
  2013-03-23 15:59 ` staticsafe
  0 siblings, 1 reply; 7+ messages in thread
From: Sascha Cunz @ 2013-03-23 12:17 UTC (permalink / raw
  To: gentoo-user

Hi list,

I'm glad to see that my mail from yesterday did finally leave the queue
of my netqmail install. 

I'm recently having trouble to send mail to lists.gentoo.org via my
netqmail. It says that it is _temporarily_ unable to do a CNAME lookup.
But mails stay in queue until they eventually bounce. I have now configured
a static smtp route to pigeon.gentoo.org and mails seem to go through.

I'm currently using google's DNS in /etc/resolv.conf (But the results from
the DNS server of my ISP are the same):

I think that the real problem is, that $(dig @8.8.8.8 lists.gentoo.org any) [1]
doesn't give me a MX-Record at all. Also, directly asking for a MX-Record
doesn't seem to report one[2].

I'm not too deep into DNS, so I'm asking for any clues on how to really
solve this issue?

Sascha

[1]
$ dig @8.8.8.8 list.gentoo.org any                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                               
; <<>> DiG 9.9.2 <<>> @8.8.8.8 list.gentoo.org any                                                                                                                                                                                                                             
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 4294
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 6, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;list.gentoo.org.               IN      ANY

;; AUTHORITY SECTION:
gentoo.org.             1389    IN      SOA     ns1.gentoo.org. hostmaster.gentoo.org. 1363715159 3600 3602 604800 3600
gentoo.org.             1389    IN      RRSIG   SOA 5 2 86400 20130915164614 20130319164614 52980 gentoo.org. jWJE78zdR5x+B/N7H21C76vAW7RptfAaxb5fcXayB5Vx2zwhdCKWpcNa oGwF0lNrJz+7d48FsY3YQpg6+HwEHVLUa+wSe3jZZeQr6qTWwskL4BsY 7xQIvo6CcbXr+q+Rdpjuae6Gi9BZ1wrj2r1VQCijYjKwX32qq+kiqyK+ ibevmHpI1tFydk5DYlYtDMoLD7dPyW46TH/Wtj4yEGHAyQ==
gentoo.org.             3189    IN      NSEC    _include.gentoo.org. A NS SOA MX TXT RRSIG NSEC DNSKEY
gentoo.org.             3189    IN      RRSIG   NSEC 5 2 3600 20130915164614 20130319164614 52980 gentoo.org. OlIMzTIsTuwQqg2Jh/i7kCPCBl72gDz2zb33DLloua7LMJU9zs+3Fy52 AFIJ2BouWg0cIKouBXaVPX7DInly61KZ7WE8BBe1eXdq5ExCsyybE3F9 nYzM/3oPEdQ1sQoMyefsIG/JB8+9kbvKbhfpLercMVpSjLTSOWztvEBA HHZee0E4mH/EcviPCkjR/4BWAvlYWTeiVb6xT2CXA5WmxA==
ldap5.gentoo.org.       3189    IN      NSEC    lists.gentoo.org. CNAME RRSIG NSEC
ldap5.gentoo.org.       3189    IN      RRSIG   NSEC 5 3 3600 20130915164614 20130319164614 52980 gentoo.org. cIzfv2GF4UTkZaTkkvadlLNyG6oZ4IRb30AXZGfmMeA+PoohDJtHF23q m8NOGjxa1z2y0ytb83PZFb6SCckpj9xE5C0oSIeMRsg51Vhb6pR0u2We IyWRfHBArkCVHEVbuys1IdDnQrPjODhW5epdEjpjKUn6+Zzao82uBCfv LyA/0sAqs0+qYrw+mVdZIAeuJKdywehKnnXVN05ndkuuRA==

;; Query time: 64 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sat Mar 23 12:56:33 2013
;; MSG SIZE  rcvd: 787

[2]
$ dig @8.8.8.8 list.gentoo.org mx

; <<>> DiG 9.9.2 <<>> @8.8.8.8 list.gentoo.org mx
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 54012
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;list.gentoo.org.               IN      MX

;; AUTHORITY SECTION:
gentoo.org.             959     IN      SOA     ns1.gentoo.org. hostmaster.gentoo.org. 1363715159 3600 3602 604800 3600

;; Query time: 60 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sat Mar 23 13:12:34 2013
;; MSG SIZE  rcvd: 95




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] netqmail fails to do CNAME lookup for lists.gentoo.org
  2013-03-23 12:17 [gentoo-user] netqmail fails to do CNAME lookup for lists.gentoo.org Sascha Cunz
@ 2013-03-23 15:59 ` staticsafe
  2013-03-23 23:46   ` Sascha Cunz
  0 siblings, 1 reply; 7+ messages in thread
From: staticsafe @ 2013-03-23 15:59 UTC (permalink / raw
  To: gentoo-user

On 3/23/2013 8:17, Sascha Cunz wrote:
> Hi list,
> 
> I'm glad to see that my mail from yesterday did finally leave the queue
> of my netqmail install. 
> 
> I'm recently having trouble to send mail to lists.gentoo.org via my
> netqmail. It says that it is _temporarily_ unable to do a CNAME lookup.
> But mails stay in queue until they eventually bounce. I have now configured
> a static smtp route to pigeon.gentoo.org and mails seem to go through.
> 
> I'm currently using google's DNS in /etc/resolv.conf (But the results from
> the DNS server of my ISP are the same):
> 
> I think that the real problem is, that $(dig @8.8.8.8 lists.gentoo.org any) [1]
> doesn't give me a MX-Record at all. Also, directly asking for a MX-Record
> doesn't seem to report one[2].
> 
> I'm not too deep into DNS, so I'm asking for any clues on how to really
> solve this issue?
> 
> Sascha
> 
> [1]
> $ dig @8.8.8.8 list.gentoo.org any                                                                                                                                                                                                                       
>                                                                                                                                                                                                                                                                                
> ; <<>> DiG 9.9.2 <<>> @8.8.8.8 list.gentoo.org any                                                                                                                                                                                                                             
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 4294
> ;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 6, ADDITIONAL: 1
> 
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags:; udp: 512
> ;; QUESTION SECTION:
> ;list.gentoo.org.               IN      ANY
> 
> ;; AUTHORITY SECTION:
> gentoo.org.             1389    IN      SOA     ns1.gentoo.org. hostmaster.gentoo.org. 1363715159 3600 3602 604800 3600
> gentoo.org.             1389    IN      RRSIG   SOA 5 2 86400 20130915164614 20130319164614 52980 gentoo.org. jWJE78zdR5x+B/N7H21C76vAW7RptfAaxb5fcXayB5Vx2zwhdCKWpcNa oGwF0lNrJz+7d48FsY3YQpg6+HwEHVLUa+wSe3jZZeQr6qTWwskL4BsY 7xQIvo6CcbXr+q+Rdpjuae6Gi9BZ1wrj2r1VQCijYjKwX32qq+kiqyK+ ibevmHpI1tFydk5DYlYtDMoLD7dPyW46TH/Wtj4yEGHAyQ==
> gentoo.org.             3189    IN      NSEC    _include.gentoo.org. A NS SOA MX TXT RRSIG NSEC DNSKEY
> gentoo.org.             3189    IN      RRSIG   NSEC 5 2 3600 20130915164614 20130319164614 52980 gentoo.org. OlIMzTIsTuwQqg2Jh/i7kCPCBl72gDz2zb33DLloua7LMJU9zs+3Fy52 AFIJ2BouWg0cIKouBXaVPX7DInly61KZ7WE8BBe1eXdq5ExCsyybE3F9 nYzM/3oPEdQ1sQoMyefsIG/JB8+9kbvKbhfpLercMVpSjLTSOWztvEBA HHZee0E4mH/EcviPCkjR/4BWAvlYWTeiVb6xT2CXA5WmxA==
> ldap5.gentoo.org.       3189    IN      NSEC    lists.gentoo.org. CNAME RRSIG NSEC
> ldap5.gentoo.org.       3189    IN      RRSIG   NSEC 5 3 3600 20130915164614 20130319164614 52980 gentoo.org. cIzfv2GF4UTkZaTkkvadlLNyG6oZ4IRb30AXZGfmMeA+PoohDJtHF23q m8NOGjxa1z2y0ytb83PZFb6SCckpj9xE5C0oSIeMRsg51Vhb6pR0u2We IyWRfHBArkCVHEVbuys1IdDnQrPjODhW5epdEjpjKUn6+Zzao82uBCfv LyA/0sAqs0+qYrw+mVdZIAeuJKdywehKnnXVN05ndkuuRA==
> 
> ;; Query time: 64 msec
> ;; SERVER: 8.8.8.8#53(8.8.8.8)
> ;; WHEN: Sat Mar 23 12:56:33 2013
> ;; MSG SIZE  rcvd: 787
> 
> [2]
> $ dig @8.8.8.8 list.gentoo.org mx
> 
> ; <<>> DiG 9.9.2 <<>> @8.8.8.8 list.gentoo.org mx
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 54012
> ;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
> 
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags:; udp: 512
> ;; QUESTION SECTION:
> ;list.gentoo.org.               IN      MX
> 
> ;; AUTHORITY SECTION:
> gentoo.org.             959     IN      SOA     ns1.gentoo.org. hostmaster.gentoo.org. 1363715159 3600 3602 604800 3600
> 
> ;; Query time: 60 msec
> ;; SERVER: 8.8.8.8#53(8.8.8.8)
> ;; WHEN: Sat Mar 23 13:12:34 2013
> ;; MSG SIZE  rcvd: 95
> 
> 
> 
In your DNS queries you did "list.gentoo.org", the actual FQDN is
"lists.gentoo.org"

root@hellhound ~ # dig MX lists.gentoo.org

; <<>> DiG 9.7.3 <<>> MX lists.gentoo.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53706
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 6

;; QUESTION SECTION:
;lists.gentoo.org.              IN      MX

;; ANSWER SECTION:
lists.gentoo.org.       43200   IN      MX      10 lists.gentoo.org.

-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] netqmail fails to do CNAME lookup for lists.gentoo.org
  2013-03-23 15:59 ` staticsafe
@ 2013-03-23 23:46   ` Sascha Cunz
  2013-03-24  0:39     ` Sascha Cunz
  0 siblings, 1 reply; 7+ messages in thread
From: Sascha Cunz @ 2013-03-23 23:46 UTC (permalink / raw
  To: gentoo-user

Am Samstag, 23. März 2013, 11:59:57 schrieb staticsafe:
> On 3/23/2013 8:17, Sascha Cunz wrote:
> > Hi list,
> > 
> > I'm glad to see that my mail from yesterday did finally leave the queue
> > of my netqmail install.
> > 
> > I'm recently having trouble to send mail to lists.gentoo.org via my
> > netqmail. It says that it is _temporarily_ unable to do a CNAME lookup.
> > But mails stay in queue until they eventually bounce. I have now
> > configured
> > a static smtp route to pigeon.gentoo.org and mails seem to go through.
> > 
> > I'm currently using google's DNS in /etc/resolv.conf (But the results from
> > the DNS server of my ISP are the same):
> > 
> > I think that the real problem is, that $(dig @8.8.8.8 lists.gentoo.org
> > any) [1] doesn't give me a MX-Record at all. Also, directly asking for a
> > MX-Record doesn't seem to report one[2].
> > 
> > I'm not too deep into DNS, so I'm asking for any clues on how to really
> > solve this issue?
> > 
> > Sascha
[...]

> In your DNS queries you did "list.gentoo.org", the actual FQDN is
> "lists.gentoo.org"
> 
> root@hellhound ~ # dig MX lists.gentoo.org
> 
> ; <<>> DiG 9.7.3 <<>> MX lists.gentoo.org
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53706
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 6
> 
> ;; QUESTION SECTION:
> ;lists.gentoo.org.              IN      MX
> 
> ;; ANSWER SECTION:
> lists.gentoo.org.       43200   IN      MX      10 lists.gentoo.org.

Oh, I see, you're right of course that was a typo in my testing - and indeed 
with the typo fixed I get correct looking MX-Records via dig from both google 
and my ISP. However, that makes me just a bit more curious on what's going 
wrong here.

I'll remove my smtproute before sending this mail. Just in case it was really 
some "temporary" thing for approximately the last two weeks.

Sascha


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] netqmail fails to do CNAME lookup for lists.gentoo.org
  2013-03-23 23:46   ` Sascha Cunz
@ 2013-03-24  0:39     ` Sascha Cunz
  2013-03-24 10:30       ` Sascha Cunz
  0 siblings, 1 reply; 7+ messages in thread
From: Sascha Cunz @ 2013-03-24  0:39 UTC (permalink / raw
  To: gentoo-user

Am Sonntag, 24. März 2013, 00:46:56 schrieb Sascha Cunz:
[...]
> Oh, I see, you're right of course that was a typo in my testing - and indeed
> with the typo fixed I get correct looking MX-Records via dig from both
> google and my ISP. However, that makes me just a bit more curious on what's
> going wrong here.
> 
> I'll remove my smtproute before sending this mail. Just in case it was
> really some "temporary" thing for approximately the last two weeks.
> 
> Sascha
2013-03-24 00:48:31.812873500 info msg 2581202: bytes 2730 from <sascha-ml@babbelbox.org> qp 31645 uid 201
2013-03-24 00:48:31.815451500 starting delivery 532: msg 2581202 to remote gentoo-user@lists.gentoo.org
2013-03-24 00:48:31.815453500 status: local 0/10 remote 1/20
2013-03-24 00:48:32.378490500 delivery 532: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/
2013-03-24 00:48:32.378492500 status: local 0/10 remote 0/20

Doesn't look so... :-[

I've meanwhile found out that it might be related to a DNS lookup bug inside qmail and
found an old patch that should addresses this issue. The patch is short and looking
innocent to me, so I've now setup a local overlay and am trying to send this out
without the smtproute, once again.

Sascha




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] netqmail fails to do CNAME lookup for lists.gentoo.org
  2013-03-24  0:39     ` Sascha Cunz
@ 2013-03-24 10:30       ` Sascha Cunz
  2013-03-24 11:32         ` Pandu Poluan
  0 siblings, 1 reply; 7+ messages in thread
From: Sascha Cunz @ 2013-03-24 10:30 UTC (permalink / raw
  To: gentoo-user

Am Sonntag, 24. März 2013, 01:39:17 schrieb Sascha Cunz:
> Am Sonntag, 24. März 2013, 00:46:56 schrieb Sascha Cunz:
> [...]
>
> I've meanwhile found out that it might be related to a DNS lookup bug inside
> qmail and found an old patch that should addresses this issue. The patch is
> short and looking innocent to me, so I've now setup a local overlay and am
> trying to send this out without the smtproute, once again.
> 
> Sascha

Okay, this last mail went through smoothly and without any trouble in log 
files.

Since I got private mails from others having the same problem, here's exactly 
what I did to solve this:

- Create a local overlay

- copy the mail-mta/netmail directory from portage tree

- wget http://www.ckdhr.com/ckd/qmail-103.patch
  to the files directory.

- copy netmail-1.06.ebuild to netmail-1.06-r1.ebuild

- insert "epatch "${FILESDIR}"/qmail-103.patch" before the first epatch in
  src_unpack()

- rebuild manifest, add the overlay and rebuild netmail

- restart svscan.

This patch from Christopher Davis is actually dated back to 1998; I'm not sure 
about copyright issues on the patch, but it seems trivially simple.

Though, I'm wondering why such a simple fix isn't already part of the netmail 
ebuild.

Sascha


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] netqmail fails to do CNAME lookup for lists.gentoo.org
  2013-03-24 10:30       ` Sascha Cunz
@ 2013-03-24 11:32         ` Pandu Poluan
  2013-03-24 15:20           ` Sascha Cunz
  0 siblings, 1 reply; 7+ messages in thread
From: Pandu Poluan @ 2013-03-24 11:32 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1523 bytes --]

On Mar 24, 2013 5:30 PM, "Sascha Cunz" <sascha-ml@babbelbox.org> wrote:
>
> Am Sonntag, 24. März 2013, 01:39:17 schrieb Sascha Cunz:
> > Am Sonntag, 24. März 2013, 00:46:56 schrieb Sascha Cunz:
> > [...]
> >
> > I've meanwhile found out that it might be related to a DNS lookup bug
inside
> > qmail and found an old patch that should addresses this issue. The
patch is
> > short and looking innocent to me, so I've now setup a local overlay and
am
> > trying to send this out without the smtproute, once again.
> >
> > Sascha
>
> Okay, this last mail went through smoothly and without any trouble in log
> files.
>
> Since I got private mails from others having the same problem, here's
exactly
> what I did to solve this:
>
> - Create a local overlay
>
> - copy the mail-mta/netmail directory from portage tree
>
> - wget http://www.ckdhr.com/ckd/qmail-103.patch
>   to the files directory.
>
> - copy netmail-1.06.ebuild to netmail-1.06-r1.ebuild
>
> - insert "epatch "${FILESDIR}"/qmail-103.patch" before the first epatch in
>   src_unpack()
>
> - rebuild manifest, add the overlay and rebuild netmail
>
> - restart svscan.
>
> This patch from Christopher Davis is actually dated back to 1998; I'm not
sure
> about copyright issues on the patch, but it seems trivially simple.
>
> Though, I'm wondering why such a simple fix isn't already part of the
netmail
> ebuild.
>
> Sascha
>

Thanks for posting the fix! :-)

Now, how about filling a bug... ;-)

Rgds,
--

[-- Attachment #2: Type: text/html, Size: 2038 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] netqmail fails to do CNAME lookup for lists.gentoo.org
  2013-03-24 11:32         ` Pandu Poluan
@ 2013-03-24 15:20           ` Sascha Cunz
  0 siblings, 0 replies; 7+ messages in thread
From: Sascha Cunz @ 2013-03-24 15:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

Am Sonntag, 24. März 2013, 18:32:12 schrieb Pandu Poluan:[...]
>
> Thanks for posting the fix! 
>
> Now, how about filling a bug...

Now, that I know what was going wrong, I did also find reasonable bug 
report on it:

https://bugs.gentoo.org/show_bug.cgi?id=323517

Sascha


[-- Attachment #2: Type: text/html, Size: 2377 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-24 15:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-23 12:17 [gentoo-user] netqmail fails to do CNAME lookup for lists.gentoo.org Sascha Cunz
2013-03-23 15:59 ` staticsafe
2013-03-23 23:46   ` Sascha Cunz
2013-03-24  0:39     ` Sascha Cunz
2013-03-24 10:30       ` Sascha Cunz
2013-03-24 11:32         ` Pandu Poluan
2013-03-24 15:20           ` Sascha Cunz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox