Thank you all of you for your help!
Original message:
>I am trying to setup my OSF/1 systems in a way that Domain-Based Addresses
>can be used for our mail. I already run the /usr/sbin/mailsetup and
>configure it to do that. The name of the host I'm using to do this is
>AXP16.IIE.ORG.MX running OSF/1 V3.0. This host is our domain name server.
>
>After I run the /usr/sbin/mailsetup and define that I want to use domain-based
>address I can send mail using this kind of addresses in AXP16.IIE.ORG.MX,
>but if I try to send mail from another host in another domain using only our
>domain name I get
>
> From delcueto Thu Jun 8 09:36 CST 1995
> Date: Thu, 8 Jun 1995 09:36:28 -0600
> From: Mailer-Daemon (Mail Delivery Subsystem)
> Subject: Returned mail: Host unknown
> To: delcueto
>
> ----- Transcript of session follows -----
> 421 Host iie.org.mx not found for mailer ether.
> 550 ricardo_at_iie.org.mx... Host unknown
>
>
>Is there something else I have to do in order to allow Internet users to
>send mail to us using only our domain name ?
>
>I read in the documentation (NETWORK CONFIGURATION MANUAL) that something has
>to be done with the MX record:
>
> "To use domain-based addresses, you need to set up one
> or more machines in your mail system as a mail hub
> and use BIND MX records to point to these machines."
The summary of the answers:
You need to make sure that axp16 recognizes mail to the host
IIE.ORG.MX as local if you haven't done this already. This is usually
accomplished by adding IIE.ORG.MX to the "w" class in the sendmail.cf
file.
You have to specify one (or more) mailhosts in your DNS server
Here's an example of my database (domain fys.ruu.nl)
$ORIGIN ruu.nl.
fys IN MX 10 ruunfs.fys.ruu.nl.
IN MX 20 tijger.fys.ruu.nl.
IN MX 30 relay.cs.ruu.nl.
IN MX 50 sun4nl.NL.net.
Immediately after the Start of Authority record, create an "MX" record
that just contains the name of the mail hub and the priority number.
Where later MX records for specific hosts need to start with the initial
target host name (and then the above three items), the mail hubs you
list first without initial target hosts will be used as mail hubs for
messages sent to your domain in general.
First you CD to /etc/namedb, then edit hosts.db. The first line starts
the "SOA" record, ending with the close parenthesis several lines later.
First, increment the serial number in the SOA record (the first number).
Immediately after this you enter your mail hub name( ours says IN MX 10
inet1.gseps.com). Then restart inetd (or reboot). When your internet
provider receives the info (after the amount of seconds listed in the
refresh part of the SOA record) you should be online. Our hosts.db follows:
;
; Data file of hostnames in this zone.
;
_at_ IN SOA inet1.gseps.com. postmaster.inet1.gseps.com. (
9506081 ; Serial
7200 ; Refresh - 2 hours
3600 ; Retry - 1 hour
1209600 ; Expire - 2 weeks
43200 ) ; Minimum - 12 hours
; Define the nameservers and mail servers for top domain.
; Will deliver mail addressed to gseps.com
IN NS inet1.gseps.com.
IN NS ns2.psi.net.
IN MX 10 inet1.gseps.com.
IN MX 50 devld3.gseps.com.
IN MX 100 mx.smtp.psi.net.
;
; %HOSTS_START% - entries added by /etc/namedb/bin/make_hosts
;
; *****************************************************************
; * *
; * Copyright (c) Digital Equipment Corporation, 1991, 1994 *
; * *
; * All Rights Reserved. Unpublished rights reserved under *
; * the copyright laws of the United States. *
; * *
; * The software contained on this media is proprietary to *
; * and embodies the confidential technology of Digital *
; * Equipment Corporation. Possession, use, duplication or *
; * dissemination of the software and media is authorized only *
; * pursuant to a valid written license from Digital Equipment *
; * Corporation. *
; * *
; * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
; * by the U.S. Government is subject to restrictions as set *
; * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
; * or in FAR 52.227-19, as applicable. *
; * *
; *****************************************************************
;
;
; Define local host
;
localhost IN A 127.0.0.1
;
; Define Host in this Zone
;
inet1 IN A 204.241.70.1
IN MX 5 inet1.gseps.com.
www IN CNAME inet1.gseps.com.
aloha IN A 204.241.70.2
mse IN A 204.241.70.3
webnt1 IN A 204.241.70.4
msgate IN A 204.241.70.5
IN MX 5 msgate.gseps.com.
devld3 IN A 204.241.70.6
IN MX 5 devld3.gseps.com.
mcclainpc IN A 204.241.70.7
msremote IN A 204.241.70.8
dtacpc IN A 204.241.70.9
pmatvx IN A 204.241.70.60
gypsy IN A 204.241.70.95
s3alph IN A 204.241.70.96
;
; Define Host on pc line
;
bmolpc IN A 204.241.71.1
;
; Define alias for domain news feed
;
news IN CNAME inet1.gseps.com.
;
; Define alias mx for vms mail delivery
;
*.dnet IN MX 1 inet1.gseps.com.
;
; %HOSTS_END%
Received on Wed Jun 14 1995 - 18:18:37 NZST