From owner-freebsd-questions@FreeBSD.ORG Wed May 26 09:25:24 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E64316A4E7 for ; Wed, 26 May 2004 09:25:24 -0700 (PDT) Received: from ws1.cnweb.com (ws1.cnweb.com [207.91.1.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CD4743D45 for ; Wed, 26 May 2004 09:25:13 -0700 (PDT) (envelope-from darryl@osborne-ind.com) Received: (qmail 3028 invoked from network); 26 May 2004 16:20:14 -0000 Received: from p245n23.ruraltel.net (HELO darryl) (24.225.23.245) by spkg.com with SMTP; 26 May 2004 16:20:14 -0000 From: "Darryl Hoar" To: Date: Wed, 26 May 2004 11:18:36 -0500 Message-ID: <002801c4433d$19ab2890$0701a8c0@darryl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4939.300 Subject: tinydns +MX X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: darryl@osborne-ind.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 16:25:25 -0000 Greetings, I have djbdns installed and working. I have been using DNS on my LAN and having it resolve the names for my local machines. It forwards any unresolved to my ISP's dns server. Recently, I have installed qmail on my LAN for internal email. I used the ./add-mx to add a mx record for my machine which is running qmail. the mx record in the data file looks like: @osborneindustries.com:192.168.1.89:a::86400 If I send test mail to darryl@osborneindustries.com, it gets forwarded to my ISP's email server. If I send email to darryl@mail.osborneindustries.com (name of my qmail server), it gets delivered just fine. How do I get my mx record setup so that user@osborneindustries.com gets delivered to mail.osborneindustries.com ? here are a couple of tests that I ran: mail# host -t mx osborneindustries.com 192.168.1.1 Using domain server 192.168.1.1: osborneindustries.com mail is handled (pri=0) by a.mx.osborneindustries.com mail# host a.mx.osborneindustries.com 192.168.1.1 Using domain server 192.168.1.1: a.mx.osborneindustries.com has address 192.168.1.89 thanks in advance, Darryl