Re: [DNSOP] [dns-operations] dnsop-any-notimp violates the DNS standards

Robert Edmonds <edmonds@mycre.ws> Fri, 13 March 2015 18:16 UTC

Return-Path: <edmonds@mycre.ws>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CB80A1A0377 for <dnsop@ietfa.amsl.com>; Fri, 13 Mar 2015 11:16:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YeyRCtd1S-Sg for <dnsop@ietfa.amsl.com>; Fri, 13 Mar 2015 11:16:27 -0700 (PDT)
Received: from chase.mycre.ws (chase.mycre.ws [70.89.251.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3A25C1A0282 for <dnsop@ietf.org>; Fri, 13 Mar 2015 11:16:27 -0700 (PDT)
Received: by chase.mycre.ws (Postfix, from userid 1000) id 9EE47154177F; Fri, 13 Mar 2015 14:16:26 -0400 (EDT)
Date: Fri, 13 Mar 2015 14:16:26 -0400
From: Robert Edmonds <edmonds@mycre.ws>
To: Paul Wouters <paul@nohats.ca>
Message-ID: <20150313181626.GA13066@mycre.ws>
References: <20150312125913.20188.qmail@cr.yp.to> <3D558422-D5DA-4434-BDED-E752BA353358@flame.org> <m27fulry37.wl%randy@psg.com> <55030A28.8050707@necom830.hpcl.titech.ac.jp> <5503101F.9060205@redbarn.org> <alpine.LFD.2.10.1503131230180.11843@bofh.nohats.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <alpine.LFD.2.10.1503131230180.11843@bofh.nohats.ca>
Archived-At: <http://mailarchive.ietf.org/arch/msg/dnsop/0KZTOHneVTkx7a-wijxwl8LuEEM>
Cc: dnsop <dnsop@ietf.org>
Subject: Re: [DNSOP] [dns-operations] dnsop-any-notimp violates the DNS standards
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Mar 2015 18:16:29 -0000

Paul Wouters wrote:
> I bet most qmail installs run from distributions that have included the
> CNAME patch. I'm not sure if this is going to break more than 1 server.
> 
> All debian qmail packages come with:
> 
> http://ftp.de.debian.org/debian/pool/non-free/q/qmail/qmail_1.03-49.2.diff.gz

This is the "qmail" source package [0] that was shipped in prior Debian
releases.  In the current stable release and newer, the "qmail" binary
package is provided by the "netqmail" source package [1].

[0] https://tracker.debian.org/pkg/qmail

[1] https://tracker.debian.org/pkg/netqmail

> +  * Applied patch to dns.c to allow e-mail to deliver correctly to systems where
> +    their DNS size is greater > 512.  Fixes "CNAME Lookup Failure" error when
> +    delivering mail to aol.com
> +
> + -- Jon Marler <jmarler@debian.org>  Sat,  29 May 1999 12:33:00 +0100

There are at least two DNS-related qmail patches in circulation, an
"ANY-to-CNAME" patch [2], and a "large DNS packet" patch [3].  This
changelog entry for the old Debian "qmail" source package appears to be
referring to only the latter patch, because the ANY-to-CNAME patch does
not appear to be present [4].

The binary package you currently get from "apt-get install qmail" is
built with a dns.c [5] that appears to have identical behavior to the
original qmail 1.03, i.e., neither of the two patches are included.

[2] http://www.memoryhole.net/qmail/any-to-cname.patch

[3] http://www.memoryhole.net/qmail/qmail-103.patch

[4] https://sources.debian.net/src/qmail/1.03-49.2/dns.c/#L214

[5] https://sources.debian.net/src/netqmail/1.06-5/dns.c/

-- 
Robert Edmonds