home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / mail / sendmail / 1958 < prev    next >
Encoding:
Text File  |  1992-07-28  |  2.3 KB  |  64 lines

  1. Newsgroups: comp.mail.sendmail
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!mips!darwin.sura.net!Sirius.dfn.de!fauern!LRZnews!k2
  3. From: k2@bl.physik.tu-muenchen.de (Klaus Steinberger)
  4. Subject: Re: Using HIDDENNET
  5. Message-ID: <k2.712394853@woodstock>
  6. Sender: news@news.lrz-muenchen.de (Mr. News)
  7. Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
  8. References: <root.712348401@merlin>
  9. Date: Wed, 29 Jul 1992 07:27:33 GMT
  10. Lines: 52
  11.  
  12. peter@merlin.acadiau.ca (Peter Steele) writes:
  13.  
  14. >     DEFINE(HIDDENNET,fred,barney,pebbles)
  15. Use the Fully Qualified Domain Names here.
  16. If you have more hosts, best would be to write the names into a
  17. file, each on a separate line, and define HIDDENNET like this:
  18.  
  19. DEFINE(HIDDENNET, LIBDIR/yourfilename)
  20.  
  21. >     DEFINE(HIDDENNETHOST,acadiau.ca)
  22. use HIDDENDOMAIN instead.
  23.  
  24. you should also define PSEUDONYMS, and put a MX record for every local
  25. host into your DNS database, which points to your mailhost. You could use
  26. the same file for PSEUDONYMS, as for HIDDENNET.
  27.  
  28. Additionally helpful are GENERICFROM, GENERICENVELOPE and GENERICTO.
  29. You could use the generics database for more advanced rewritings, like
  30. replacing the mailbox name with firstname.lastname or something else.
  31.  
  32. I'm using this to rewrite, even the addresses completly, as our institute
  33. belongs to two universities, and I want to change each users address
  34. to the correct university.
  35. My address for example would be rewritten from
  36. k2@woodstock.bl.physik.tu-muenchen.de to
  37. Klaus.Steinberger@Physik.Uni-Muenchen.DE
  38.  
  39. Here is my IDA .m4 source:
  40.  
  41. # Sendmail configuration file for sally.bl.physik.tu-muenchen.de
  42. define(ALIASES, LIBDIR/aliases)
  43. define(MAILERTABLE,LIBDIR/mailertable)
  44. define(FORCE_NAMED)
  45. define(LOCAL_MAILER_DEF, M4/mailers.riscos)dnl ### MIPS / RISC/os settings
  46. define(POSTMASTERBOUNCE, rg)
  47. define(PSEUDODOMAINS, bitnet uucp hepnet span )
  48. define(GENERICFROM, LIBDIR/generics)
  49. define(GENERICENVELOPE)
  50. define(GENERICTO)
  51. define(HIDDENNET, LIBDIR/hiddenhosts)
  52. define(HIDDENDOMAIN, bl.physik.tu-muenchen.de)
  53. define(PSEUDONYMS, LIBDIR/hiddenhosts)
  54. define(DOMAINTABLE, LIBDIR/domaintable)
  55. include(Sendmail.mc)
  56.  
  57. Sincerely,
  58. Klaus Steinberger
  59. --
  60. Klaus Steinberger               Beschleunigerlabor der TU und LMU Muenchen
  61. Phone: (+49 89)3209 4287        Hochschulgelaende
  62. FAX:   (+49 89)3209 4280        D-8046 Garching, Germany
  63. Internet: Klaus.Steinberger@bl.physik.uni-muenchen.de
  64.