home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.mentorg.com!sdl!plts!not-for-mail
- From: tal@plts.uucp (Tom Limoncelli)
- Newsgroups: comp.mail.sendmail
- Subject: sendmail+IDA host hiding question
- Date: 17 Nov 1992 01:08:59 -0500
- Organization: P.L.T.S., North Plainfield, New Jersey, USA
- Lines: 68
- Message-ID: <1ea29rINN7ll@plts.uucp>
- NNTP-Posting-Host: plts.uucp
-
- I have the latest sendmail + IDA (1.4.4.1) and I'm having a horrible
- time using it's "domain hiding" feature.
-
- I just want to hide the names of all my hosts. I think I'm setting up
- reverse name-hiding correctly, but it's not working. I want all mail
- to come from my.do.main no matter what machine it was actually sent to,
- and be delieved at my.do.main nomatter when in *.my.do.main it was
- addressed to. I want mail sent to {any node}.my.do.main to be routed
- to mailhub.my.do.main and delivered on that machine. I assume that
- most every large NFS site does this kind of thing.
-
- Here's what I'm doing:
-
- Hosts are:
-
- mailhub.my.do.main
- node1.my.do.main
- node2.my.do.main
- node3.my.do.main
- node4.my.do.main
- [ actually, there are about 125 hosts, but you get the point. There
- is only one mailhub. ]
-
- All of the machines have an "MX" record pointing to "mailhub.my.do.main".
-
- my.do.main has the usual SOA, etc. and a MX to machine mailhub.my.do.main
-
- To summarize so far, everything in my world is MX'ed to mailhub.my.do.main,
- even mailhub!
-
- The relevent entires in my mailhub.m4 file are:
-
- define(FORCE_NAMED)
- define(ISOLATED_DOMAINS, do.main other.do.main)
- define(RELAY_HOST, firewall.do.main)
- define(RELAY_MAILER, TCP)
- define(HIDDENDOMAIN, my.do.main)
- define(HIDDENDOMAINHOST, my.do.main)
-
- We're behind a firewall, but we can get directly to anything in do.main
- (which includes my.do.main corportate.do.main research.do.main, etc.)
- and "other.do.main".
-
- So, when I put sendmail into test mode "-bt" and give it:
- "3,0 foo@node1.my.do.main"
- it tells me that it's going to send it to foo @ node1 . my . do . main
-
- At first I thought that sendmail was ignoring the MX records. Then I
- realized that what's happening is even worse than ignoring them.
-
- The MX record isn't saying "deliver to mailhub", it is saying, "mailhub
- knows how to get the message to node1". So, sendmail figures, "yes I
- do know how to get to node1, I send it via TCP!" and doing just that.
-
- What I need is for sendmail to notice that it can treat mail for node1
- as if it is for mailhub.
-
- How do I do this?
-
- Who ever explains this to me gets a free lock of hair. I've been
- pulling so much out of my head over this I have tons to give away!
-
- Thanks in advance!
-
- Tom
- --
- Tom Limoncelli -- tal@plts.uucp (home) -- tal@warren.mentorg.com (work)
- "Higgy higgy forward, higgy forward, higgy forward, higgy shake. Yeeaaah!"
-