1748166 Members
4006 Online
108758 Solutions
New Discussion юеВ

Re: Sending Mail Error

 
mkayhan
Occasional Advisor

Sending Mail Error

Hello,

When I want to send mail to an another user ( for example I am online(my username) and I want to send mail to myself.

Mail> send
To: online
Subj: hello
Enter your message below. Press CTRL/Z when complete, or CTRL/C to quit:
Hello!
CTRL+Z

then I got this message ;

%MAIL-E-SENDERR, error sending to user ONLINE
-MAIL-E-OPENOUT, error opening USER$DISK:[ERDEMIR_VMS]MAIL.MAI as output
-SYSTEM-F-IVDEVNAM, invalid device name

And when I searh there is no queue which name is sys$print. Do you think is it a problem? and what do u think? How Can I solve this.

Thanks.

16 REPLIES 16
Craig A
Valued Contributor

Re: Sending Mail Error

Is USER$DISK: a valid device (or logical name)

What does the UAF record for ONLINE look like?

Craig
mkayhan
Occasional Advisor

Re: Sending Mail Error

"USER$DISK" = "USER_DISK:[USER.]"
"USER_DISK" = "$1$DGA1:"

it is logical name and ONLINE is an administrator.it has all privileges.
Joseph Huber_1
Honored Contributor

Re: Sending Mail Error

>>
"USER$DISK" = "USER_DISK:[USER.]"
"USER_DISK" = "$1$DGA1:"
<<

User disk is a concealed logical name consisting of another logical name.
This works indeed if the concealed logical is not TERMINAL.
And also the mode (/EXEC ?) of the l;ogical may be important for MAIL, while a DIR USER$DISK:[ERDEMIR_VMS] may succeed.

Show the the result of show logical/full of the two USER* logicals.
http://www.mpp.mpg.de/~huber
Joseph Huber_1
Honored Contributor

Re: Sending Mail Error

And the existance of a queue sys$print is irrelevant for mail, it just means You have to add the /QUEUE to every PRINT command, or set the default queue via SET QUEUE in MAIL>

And also in VMS general there is no requirement for a sys$print queue: it is just the default queue for commands like PRINT, SUBMIT/PRINT etc.
For locations with many distributed printers it may even be better not to have sys$print, so every user has to explicitly specify a queue.
http://www.mpp.mpg.de/~huber
mkayhan
Occasional Advisor

Re: Sending Mail Error

$ SHOW LOGICAL/FULL USER*

(LNM$PROCESS_TABLE) [kernel]
[no protection information]

(LNM$JOB_820D1200) [kernel] [shareable] [Quota=(3520,4096)]
[Protection=(RWCD,RWCD,,)] [Owner=[ERDEMIR_VMS]]

(LNM$GROUP_000100) [kernel] [shareable,group]
[Protection=(RWCD,R,R,)] [Owner=[100,*]]

(LNM$SYSTEM_TABLE) [kernel] [shareable,system]
[Protection=(RWC,RWC,R,R)] [Owner=[SYSTEM]]

"USER$DISK" [exec] = "USER_DISK:[USER.]" [concealed]
"USER_DISK" [super] = "$1$DGA1:"

(LNM$SYSCLUSTER_TABLE) [kernel] [shareable,system]
[Protection=(RWC,RWC,R,R)] [Owner=[SYSTEM]]

(DECW$LOGICAL_NAMES) [exec] [shareable]
[Protection=(RWCD,RWCD,R,R)] [Owner=[SYSTEM]]



i am starter at vms...I would be grateful if you tell me what I should do elaborately..
The Brit
Honored Contributor

Re: Sending Mail Error

Could you show the output from

$ dir USER$DISK:[ERDEMIR_VMS]

Dave
The Brit
Honored Contributor

Re: Sending Mail Error

Sorry, Ignore!!

Dave.
Joseph Huber_1
Honored Contributor

Re: Sending Mail Error

>>
"USER$DISK" [exec] = "USER_DISK:[USER.]" [concealed]
"USER_DISK" [super] = "$1$DGA1:"
<<

USER_DISK must as well be an /EXEC logical !
http://www.mpp.mpg.de/~huber
The Brit
Honored Contributor

Re: Sending Mail Error

Can you post the output from

MAIL> show all


and, is USER$DISK:[ERDEMIR_VMS] the login directory for user ONLINE?

Dave.