From: Todd Wipke [wipke@nospam.chemistry.ucsc.edu] Sent: Thursday, August 03, 2000 5:14 PM To: Info-VAX@Mvb.Saic.Com Subject: Re: No Relay patch for MX 4.2 on Vax VMS 5.5-2 ? For any vax users out there that need the no relay patch for MX 4.2, here are the things I had to change from the install instructions So here are some of the problems I found that you might want to fix in the install instructions, etc. 1. One has to Bliss compile netlibsrcdef.r32 to get .l32 and the mms file doesn't do it in [netlib] 2. netlibdef.h has to be in sys$library 3. XSMTP_OUT gives file not found Sys$library:PSILIB 4. The SERVER.OPT file in [smtp] must include SYS$SHARE:VAXCRTL.EXE/share 5. The CC/VAXC must be changed to CC, that switch is not recognized by my C compiler and the default is VAXC. 6. ALIAS must be removed from LOAD_RELAY.C everywhere, not recognized by Bliss 4.7 on vax. 7. NETLIB symbols in call in LOAD_RELAY.C must be put in variables as unsigned ints and use &variable in the call instead of the symbol. There are two such symbols in the call to netlib_socket: int af_inet = NETLIB_K_AF_INET; .... netlib_socket(...., &af_inet,....) 8. I think the smtp_server machine must in RELAY.DAT enable itself or localhost, because when I enabled one other machine and disable 0.0.0.0 with mask 0.0.0.0, nothing was accepted whatsoever, even mail directed to the very machine itself. This is not clear from the brief instructions in the readme file. When I enabled the subnet I am on, then all good mail came through. It would be nice to know just what the minimum RELAY.DAT file is to receive good honest non-relayed mail. My system: Vax VMS 5.5-1, Bliss 4.7, Netlib 2.0I, MX 4.2, Vax C 3.1 Multinet 3.1 Rev A, Vax 4000-500. Many thanks to Hunter Goatley for his help in solving some of the problems. Incidentally, the patch does work as advertised. -Todd Wipke Location of patch ftp.wku.edu, and Bliss-32 + PAK there also. Vance Haemmerle wrote: > > Todd Wipke wrote: > > > > Please let me know if you have gotten the subject patch running > > on vax VMS, esp. if on 5.5-2. I am getting an access violation > > when Load_relay calls netlib_socket. > > -Todd Wipke > > remove "nospam" from my email address please > > TIA > > I got this running on VMS 7.1. I had the same access violation. > Since the C program is compiled with VAXC, when I added the line > > SYS$SHARE:VAXCRTL.EXE/SHARE > > to the SERVER.OPT file the access violation went away. > > -- > Vance Haemmerle Internet vance@toyvax.Tucson.AZ.US > Tucson, AZ > http://condor.lpl.arizona.edu/~vance/ NSI-SPAN/HEPNET 47540::TOYVAX::VANCE