Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-lcc!mordor!sri-spam!ames!ucbcad!ucbvax!SASK.BITNET!MACPHEDR From: MACPHEDR@SASK.BITNET Newsgroups: comp.os.vms Subject: Sending mail from a remote DECnet task (Problems) Message-ID: <8704290155.AA03405@ucbvax.Berkeley.EDU> Date: Mon, 27-Apr-87 19:48:00 EDT Article-I.D.: ucbvax.8704290155.AA03405 Posted: Mon Apr 27 19:48:00 1987 Date-Received: Thu, 30-Apr-87 04:26:48 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 42 This is a question on VMS MAIL & why it doesn't work from a DECnet task. (At least under VMS version 4.4 and 4.5) I have a DECnet task running asynchronously which I would like to monitor indirectly (i.e. not typing NETSERVER.LOG to see if it's done yet, or SHOW PROC, etc.) by having it send me mail. However, the mail message does not come through, nor is an error generated. An example is the following file: $! TESTMAIL.COM $ MAIL NLA0: ONODE::MACPHEDRAN/SUBJ="TEST OF MAIL" $ EXIT It will send me a null message (which I intended) when run as a) a regular command procedure ($ @MAILTEST); b) a subprocess ($ SPAWN/NOWAIT/INPUT=TESTMAIL.COM/OUTPUT=TT:); c) a batch process ($ SUBMIT/NOPRINT TESTMAIL.COM); but does nothing when run as a network task ($ TYPE ONODE::"0=MAILTEST" {I have a proxy across}). The process starts up MAIL, but does not send anything, and appears to `hang'. Does anyone know why this happens, and if there is a way around it, other than spawning off a subprocess, or submitting a batch job from my network task? (I have tried both options, and they do work, but it isn't all that nice to do, especially for some applications I am thinking of doing in the future.) Thanks in advance. Ian. +------------------------------------+--------------------------------+ | Ian MacPhedran | USEnet ihnp4!sask!macphed | | Engineering Applications | BITNET MacPhedran@Sask | | Department of Computing Services | Phone (306) 966-4832 | | 2B13 Engineering Bldg. | Telex 064-2659 | | University of Saskatchewan, Saskatoon, Saskatchewan, Canada S7N 0W0 | +---------------------------------------------------------------------+ (for those on ARPAnet try macphedran%sask.bitnet@wiscvm.edu)