From owner-freebsd-questions Thu Jun 26 22:28:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA04817 for questions-outgoing; Thu, 26 Jun 1997 22:28:08 -0700 (PDT) Received: from obie.softweyr.ml.org ([199.104.124.49]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA04812 for ; Thu, 26 Jun 1997 22:28:05 -0700 (PDT) Received: (from wes@localhost) by obie.softweyr.ml.org (8.7.5/8.6.12) id XAA02002; Thu, 26 Jun 1997 23:32:13 -0600 (MDT) From: Barnacle Wes Message-Id: <199706270532.XAA02002@obie.softweyr.ml.org> Subject: Re: Mail Host, POP & DNS Config To: ljohnston@cyberworld.demon.co.uk (Lee Johnston) Date: Thu, 26 Jun 1997 23:32:12 -0600 (MDT) Cc: questions@freebsd.org In-Reply-To: <33B2BD13.EE398FDA@cyberworld.demon.co.uk> from "Lee Johnston" at Jun 26, 97 08:03:47 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Lee Johnston queried: > [setup local tcp/ip network, got mail working, now sees:] > > I added these lines to my DNS Zone file: > > new2.whickhamcomp.ac.uk. A 192.168.1.2 > MX 10 ser.whickhamcomp.ac.uk. > new3.whickhamcomp.ac.uk A 192.168.1.3 > MX 10 ser.whickhamcomp.ac.uk. > > This worked fine, users could collect mail using POP, and send using > SMTP. The only problem was that to send mail to a user on the network I > needed to use the following format for email address: > > [user]@ser.whickhamcomp.ac.uk > > I wanted the email address to be in this format: > > [user]@whickhamcomp.ac.uk > > To do this I added this line to my DNS Zone file: > > whickhamcomp.ac.uk. IN A 192.168.1.1 > > Is this the correct way of doing this? Close. You need to enter an MX record for your domain as well: whickhamcomp.ac.uk. MX 5 ser.whickhamcomp.ac.uk. This tells the rest of DNS-world to send mail @whickhamcomp.ac.uk to the mail exchanger ser.whickhamcomp.ac.uk.