Newsgroups: comp.mail.sendmail
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!netfs.dnd.ca!ncs.dnd.ca!ncs.dnd.ca!jstewart
From: jstewart@ncs.dnd.ca (John Stewart)
Subject: Mailing to a domain.
Message-ID: <1991May16.012532.1698@ncs.dnd.ca>
Sender: jstewart@ncs.dnd.ca (John Stewart)
Organization: Dept of National Defence
Date: Thu, 16 May 91 01:25:32 GMT

I thought that I had this sendmail.cf stuff mostly figured out. I
didn't.
Help!

I'd like to have mail addressed to "dnd.ca" go to the machine
"ncs.dnd.ca". I have an MX record in the dnd.ca domain to point to
ncs.dnd.ca, and it works.

I rewrote the sendmail.cf on ncs.dnd.ca, such that if rule 3 matched
user@my-domain it was rewritten to user@me.my-domain. When testing with
sendmail -bt, both user@ncs.dnd.ca and user@dnd.ca get parsed to the 
same answer. 

I can send mail from ncs.dnd.ca to both the domain (dnd.ca) and to the
host (ncs.dnd.ca). Both addresses work.

My problem is that If I send from another node (with a correct MX
implementation, and current data) the address user@dnd.ca does not get
parsed correctly on ncs.dnd.ca

My questions:

1) what have I done wrong?
2) how can I get sendmail to dump a lot of debugging information on
   incoming network mail?
3) I am using sendmail manuals from Sun to debug my Ultrix 3.0 system.
   Is this ok, or had I better try to locate sendmail configuration
   manuals for the Ultrix system? (sendmail is usually sendmail, right?)

Thanks for any insights that may help.

John Stewart
jstewart@ncs.dnd.ca


