[comp.mail.sendmail] Mailing to a domain.

jstewart@ncs.dnd.ca (John Stewart) (05/16/91)

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