home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / mail / sendmail / 2803 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  2.7 KB

  1. Path: sparky!uunet!news.mentorg.com!sdl!plts!not-for-mail
  2. From: tal@plts.uucp (Tom Limoncelli)
  3. Newsgroups: comp.mail.sendmail
  4. Subject: sendmail+IDA host hiding question
  5. Date: 17 Nov 1992 01:08:59 -0500
  6. Organization: P.L.T.S., North Plainfield, New Jersey, USA
  7. Lines: 68
  8. Message-ID: <1ea29rINN7ll@plts.uucp>
  9. NNTP-Posting-Host: plts.uucp
  10.  
  11. I have the latest sendmail + IDA (1.4.4.1) and I'm having a horrible
  12. time using it's "domain hiding" feature.
  13.  
  14. I just want to hide the names of all my hosts.  I think I'm setting up
  15. reverse name-hiding correctly, but it's not working.  I want all mail
  16. to come from my.do.main no matter what machine it was actually sent to,
  17. and be delieved at my.do.main nomatter when in *.my.do.main it was
  18. addressed to.  I want mail sent to {any node}.my.do.main to be routed
  19. to mailhub.my.do.main and delivered on that machine.  I assume that
  20. most every large NFS site does this kind of thing.
  21.  
  22. Here's what I'm doing:
  23.  
  24. Hosts are:
  25.  
  26. mailhub.my.do.main
  27. node1.my.do.main
  28. node2.my.do.main
  29. node3.my.do.main
  30. node4.my.do.main
  31. [ actually, there are about 125 hosts, but you get the point.  There
  32. is only one mailhub. ]
  33.  
  34. All of the machines have an "MX" record pointing to "mailhub.my.do.main".
  35.  
  36. my.do.main has the usual SOA, etc. and a MX to machine mailhub.my.do.main
  37.  
  38. To summarize so far, everything in my world is MX'ed to mailhub.my.do.main,
  39. even mailhub!
  40.  
  41. The relevent entires in my mailhub.m4 file are:
  42.  
  43. define(FORCE_NAMED)
  44. define(ISOLATED_DOMAINS, do.main other.do.main)
  45. define(RELAY_HOST, firewall.do.main)
  46. define(RELAY_MAILER, TCP)
  47. define(HIDDENDOMAIN, my.do.main)
  48. define(HIDDENDOMAINHOST, my.do.main)
  49.  
  50. We're behind a firewall, but we can get directly to anything in do.main
  51. (which includes my.do.main corportate.do.main research.do.main, etc.)
  52. and "other.do.main".
  53.  
  54. So, when I put sendmail into test mode "-bt" and give it:
  55. "3,0 foo@node1.my.do.main"
  56. it tells me that it's going to send it to foo @ node1 . my . do . main
  57.  
  58. At first I thought that sendmail was ignoring the MX records.  Then I
  59. realized that what's happening is even worse than ignoring them.
  60.  
  61. The MX record isn't saying "deliver to mailhub", it is saying, "mailhub
  62. knows how to get the message to node1".  So, sendmail figures, "yes I
  63. do know how to get to node1, I send it via TCP!" and doing just that.
  64.  
  65. What I need is for sendmail to notice that it can treat mail for node1
  66. as if it is for mailhub.
  67.  
  68. How do I do this?
  69.  
  70. Who ever explains this to me gets a free lock of hair.  I've been
  71. pulling so much out of my head over this I have tons to give away!
  72.  
  73. Thanks in advance!
  74.  
  75. Tom
  76. -- 
  77. Tom Limoncelli -- tal@plts.uucp (home) -- tal@warren.mentorg.com (work)
  78. "Higgy higgy forward, higgy forward, higgy forward, higgy shake.  Yeeaaah!"
  79.