home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / softsys / andrew / 1220 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  2.2 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!ANDREW.CMU.EDU!gk5g+
  2. From: gk5g+@ANDREW.CMU.EDU (Gary Keim)
  3. Newsgroups: comp.soft-sys.andrew
  4. Subject: Re: DECnet mail
  5. Message-ID: <8edZZhG00WohBD=RZL@andrew.cmu.edu>
  6. Date: 3 Sep 92 18:29:01 GMT
  7. References: <1992Sep3.155407.3709@engage.pko.dec.com>
  8. Sender: daemon@ucbvax.BERKELEY.EDU
  9. Distribution: world
  10. Organization: The Internet
  11. Lines: 46
  12.  
  13. Excerpts from netnews.comp.soft-sys.andrew: 3-Sep-92 DECnet mail Eric
  14. James Ewanco@irenae (825)
  15.  
  16. > Is there any way to convinced CUI/messages to send DECnet style mail
  17. > (HOST::USER)? I am using Ultrix sendmail so it will work as long as AMS does
  18. > attempt to send it.  I thought I had turned off all address validation but
  19. apparently not.
  20.  
  21. Exactly how did you disable address validation?  I image you looked in
  22. the setup help file and saw this little ditty:
  23.  
  24. AMS_LocalDatabaseValidation: integer
  25.     Default: 0
  26.     A value greater than 0 specifies that there is a local mechanism for
  27.     local name validation being used.  0 specifies that there is no
  28.     other local mechanism for local name validation being used. 
  29.     Note:  If you want to use this option you must change the procedure
  30.     LookupInLocalDatabase in "andrew/ams/libs/ms/mswp.c" to implement
  31.     your local mechanism.
  32.  
  33. That is actually incorrect.  The LookupInLocalDatabase routine is in
  34. site.c in that same directory.  Here is a comment from that file:
  35.  
  36. /* This routine, LookupInLocalDatabase, is a site-dependent routine for
  37. performing non-standard name validation. */
  38. /* A trivial change to this would validate all local names as OK.  The
  39. body would have 3 lines:
  40.  
  41.   *Answered = 1;
  42.   *MswpCodeP = (CheckAMSFmtOK(Domain) <= 0 ? MSWP_GOODNETMAIL : MSWP_GOODUSER);
  43.   return(0):
  44.  
  45. (Sigh.  MSWP_GOODUSER is a user who is ready to receive ATK-formatted
  46. mail; MSWP_GOODNETMAIL is a user who is not necessarily ready for that. 
  47. To say that a local name is NOT valid, set *Answered to 1 and set
  48. *MswpCodeP to MSWP_CRAP.)
  49.  
  50. Of course, the AMS_LocalDatabaseValidation variable would also have to
  51. be turned on in mailconf.c, also, either statically or via an
  52. AndrewSetup or AMS-Server file.
  53. */
  54.  
  55. So, you can do it if you don't mind building from source ;^)
  56.  
  57. Gary Keim
  58. Andrew Consortium
  59.