From owner-freebsd-stable@FreeBSD.ORG Fri Aug 27 17:24:46 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73C88106567A for ; Fri, 27 Aug 2010 17:24:46 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 1A1908FC17 for ; Fri, 27 Aug 2010 17:24:45 +0000 (UTC) Received: (qmail 16413 invoked by uid 399); 27 Aug 2010 17:24:45 -0000 Received: from localhost (HELO ?192.168.0.142?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 27 Aug 2010 17:24:45 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C77F4DC.9070807@FreeBSD.org> Date: Fri, 27 Aug 2010 10:24:44 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: Ronald Klop References: <4C74261A.4000401@icyb.net.ua> In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Andriy Gapon Subject: Re: cname replace in mail address? [off-topic] (Re: Attn Ronald Klop) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2010 17:24:46 -0000 On 08/27/2010 01:03 AM, Ronald Klop wrote: > offtopic, but why do some mailers replace a CNAME in a mail-address? > > root@sheeva2:/var/vmail# host klop.yi.org > klop.yi.org CNAME thuis.klop.ws > thuis.klop.ws A 212.123.145.58 > > It is not the first time that I'm bitten by this, but I never understood > it. You've already received all the right answers but I figured I'd respond too since this is my area. Given that klop.yi.org is a CNAME, and that the target hostname (thuis.klop.ws) has no MX record, the fact that you receive any mail at all is a tribute to the robustness principle. :) If you're going to receive mail at thuis.klop.ws then you should really have an MX record for it. See http://dougbarton.us/DNS/MX.html for more information if you need more information or references to the standards. The simplest way to solve your mail delivery problem is to have the @hostname refer to a canonical host (I.e., with an A and/or AAAA record) which also has an MX record. If you insist on using klop.yi.org the _best_ way to do that would be to duplicate those 2 records from thuis.klop.ws. By adding an MX to thuis you are more likely to get mail if klop.yi.org is a CNAME to it, even though it's still not "right." hth, Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ Computers are useless. They can only give you answers. -- Pablo Picasso