Sysexits from Mail11v3 to Sendmail ?

Jeff Michaud michaud at decvax.dec.com
Tue Feb 20 11:44:13 AEST 1990


> 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 at decwrl.dec.com  michaud at decvax.dec.com|
|DECnet-ULTRIX   #include <standard/disclaimer.h>              |
\--------------------------------------------------------------/



More information about the Comp.unix.ultrix mailing list