From owner-freebsd-questions Sun Apr 29 11:26: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id CEBA937B424 for ; Sun, 29 Apr 2001 11:26:03 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Sun, 29 Apr 2001 19:25:23 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 14tvrL-0003F9-00; Sun, 29 Apr 2001 19:23:51 +0100 Date: Sun, 29 Apr 2001 19:23:51 +0100 (BST) From: Jan Grant To: trini0 Cc: questions Subject: Re: email@domain..... In-Reply-To: <3AEC48BD.8090407@optonline.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 29 Apr 2001, trini0 wrote: > hey all. Im currently setting up qmail/qpopper & I have dns configured. > Im trying to send mail to user@lan.trini (fake), but thats a no go. I > have to use the full hostname (user@box1.lan.trini) in order for mail to > get sent anywhere in the lan. I would like to set it up to where > user@lan.trini sends to one box that handles all incoming internal mail. > I think is a dns thing but Im not sure. > Thanks > trini0 (Excused wrapped lines, I have an awful MUA) If you have an appropriate ORIGIN you can do away with the absolute names. lan.trini. IN SOA hivemind.lan.trini. master.hivemind.lan.trini ( ^^^ You're missing something here. ; Aliases ; gatekeeper. IN CNAME gatekeeper.lan.trini. I'd be very surprised if BIND didn't ignore this line (if it lives in the same zone file). A better way to do this is to stick a domain into /etc/resolv.conf (or tell the windows clients about it in the network settings). ; MX Records ; lan.trini. IN MX 1 hivemind.lan.trini. This looks like it ought to do what you're after. Is qmail configured to accept email for the whole domain too? If: dig lan.trini. mx works then I'd look at qmail next. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287163 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk "My army boots contain everything not in them." - Russell's pair o' Docs. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message