Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!shlump.nac.dec.com!michaud From: michaud@decvax.dec.com (Jeff Michaud) Newsgroups: comp.unix.ultrix Subject: Re: Sysexits from Mail11v3 to Sendmail ? Keywords: ultrix,mail11v3,sendmail Message-ID: <8497@shlump.nac.dec.com> Date: 20 Feb 90 00:44:13 GMT References: <1241@cernvax.UUCP> Sender: news@shlump.nac.dec.com Organization: DEC Lines: 31 > I would like to include the error message you gets when you try to > activate object 27 (mail) on a DECnet-VAX node, where the object can't > login, that is login information invalid at remote node. > > Can this be done ? I have the fealing that it can't, because that error > is returned by the dnet_conn routine and not by the remote mail object. > Is that correct ? You are correct in that what you want can't be done via the mail11v3.fatal message file. Which errno's are fatal upon return from dnet_conn() is hardcoded into mail11v3. The errno corresponding to "login info invalid", along with "unknown object", and "connection refused" were put into the catagory of non-fatal because in most cases they are only temporary conditions (such as the remote VMS system is still in the process of booting or being shutdown). The only connect time error considered fatal is "no such node". Not that I recommend this, but if you have a binary file editor/path utility, you can patch the /usr/bin/mail11v3 image and change the string "400 Non-fatal error text ..." to the appropriate "5XX Non-fatal error text ..." (ie. replace 400 with the fatal SMTP error code of your choice). /--------------------------------------------------------------\ |Jeff Michaud michaud@decwrl.dec.com michaud@decvax.dec.com| |DECnet-ULTRIX #include | \--------------------------------------------------------------/