home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / bit / listserv / pmdfl / 2011 < prev    next >
Encoding:
Text File  |  1992-09-15  |  3.7 KB  |  79 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!gatech!paladin.american.edu!auvm!SIGURD.INNOSOFT.COM!NED
  3. Errors-to: epmdf@YMIR.BITNET
  4. X-Envelope-to: PMDF-L@IRLEARN.BITNET
  5. X-VMS-To: IN%"C.SANTANA@CGNET.COM"
  6. X-VMS-Cc: IN%"sross@cgnet.com",IPMDF
  7. MIME-version: 1.0
  8. Content-type: TEXT/PLAIN; CHARSET=US-ASCII
  9. Content-transfer-encoding: 7BIT
  10. Message-ID: <01GOSKG2NNFM984XOW@YMIR.CLAREMONT.EDU>
  11. Date:         Tue, 15 Sep 92 09:02:18 GMT
  12. Sender:       PMDF Distribution List <PMDF-L@IRLEARN>
  13. From:         Ned Freed <NED@SIGURD.INNOSOFT.COM>
  14. Subject:      RE: default host name as foreign host
  15. Newsgroups: bit.listserv.pmdf-l
  16. Lines: 61
  17.  
  18. > I have been attempting to do the following:
  19.  
  20. >       In VMSmail, addressing a message To: in%username
  21. >                                            (no quotes or host/domain)
  22.  
  23. > Instead of this being translated to:  username@localhost.localdomain,
  24. > I would like it to always translate to a particular foreign host.domain.
  25.  
  26. You can do this sort of thing only if you resort to the VMSMAIL-TO-PMDF mapping
  27. in the mapping file. It is possible to do this there but doing so is incredibly
  28. dangerous. There are many portions of PMDF as well as other software that
  29. assume IN%username will translate to IN%"username@localhost". If you change
  30. this assumption you will probably break all sorts of things, and I cannot
  31. answer for the consequences.
  32.  
  33. What you can do is assign a separate foreign protocol name to this function.
  34. This will work and should not disturb existing PMDF functionality. All you need
  35. to do is assign another MAIL$PROTOCOL_xxx logical to point at PMDF_MAILSHR. The
  36. mapping file will then let you handle this separate foreign protocol in a
  37. completely different ways. Please see the documentation (5.1) for details on
  38. how the mapping works.
  39.  
  40. You can even reverse the effects of this mapping using the PMDF-TO-VMSMAIL
  41. mapping.
  42.  
  43. All this means going to a lot of trouble to just to eliminate the need to type
  44. in a host name. This may appear at first glance to be a nice friendly thing to
  45. do for your users, but it usually ends up as a disasterous choice.
  46.  
  47. Users really need to become familiar with the realities of addressing since
  48. they may not always be faced with a nice friendly system with all sorts of
  49. hacks like this around. (Or the next set of hacks will be totally different.)
  50. You're not doing anyone a favor when you hide reality from them -- you are
  51. simply making it much harder for them when they inevitably come face to face
  52. with real addresses.
  53.  
  54. It might be worth it if we were talking about really ugly addresses here.
  55. However, Internet addresses are relatively clean and simple, and if the
  56. addresses you're using aren't nice and simple there are probably better ways to
  57. clean them up.
  58.  
  59. So my best advice is that while you can do this sort of thing with PMDF do
  60. everyone a favor and don't even try to set it up.
  61.  
  62. > I have tried setting the official-host-name of my local channel to
  63. > the foreign host, and then adding the local host name as the
  64. > local-host-alias for EVERY channel in the channel/host table.
  65. > This did not work (the FROM address of a local message was always
  66. > assigned to the foreign host/domain) and also seems a bit unelegant,
  67. > if not downright dangerous.
  68.  
  69. The per-channel local-host-alias affects only messages being queued to the
  70. channel. It has no effect or meaning aside from this, and certainly will have
  71. no effect on the default host associated with mailbox-only addresses. It will
  72. affect outgoing mail and probably render it totally unrepliable.
  73.  
  74. The official local host name is what's used for this purpose, but it is
  75. also the fundamental definition of your host's identity. You cannot change
  76. it without completely changing your host's identity as well.
  77.  
  78.                                 Ned
  79.