jenst@cernvax.UUCP (Jens Trier Rasmussen) (02/19/90)
I have found the file /usr/lib/dnet_shared/Mail11v3.fatal, which contains messages and these messages should cause mail11v3 to tell to sendmail that this was a fatal error. 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 ? The reason why we would like to do it is that many system managers has removed the default DECNET account without changing the definitions of the objects. And in order not to retry this for 3 days the mail should be returned immediately. cheers Jens Trier Rasmussen jenst@cernvax.cern.ch
michaud@decvax.dec.com (Jeff Michaud) (02/20/90)
> 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 <standard/disclaimer.h> | \--------------------------------------------------------------/