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