HP OpenVMS Systems

ask the wizard
Content starts here

sending SMTP mail using telnet?

» close window

The Question is:

I'd like to send mail using telnet to another mail-server on AlphaServer 2100
It is OK when I run the TELNET command in DCL COMMAND MOD, but when I write the
 TELNET command to the file and then
 $ZC(%SPAWN,"@"_commandfilename,,resultfilename) to run the file, It is not
 excuted successfully, the result in the resultfile,"%SYSTEM-F-NO
PRIV, insufficient privilege or object protection violation" is written.
also when I wanna run the FTP or PONIX command in this way, although these can
 be excuted, but the srceen is in the mod of FTP or PONIX, ignoring the next
 command which is written after the FTP or PONIX command.
I hope you can help me.
It will also be appreciated if you give me the answer to my mailaccount.
Best Regards,

The Answer is :

  Please use the available SMTP mail capabilities directly.
  Consider setting OpenVMS to use the remote node for mx-based
  routing operations and/or for SMTP relay operations.
  If you wish to execute commands on remote notes, rsh and rexec
  are the more common choices.
  If you wish to connect to a remote telnet server, well, write a
  simple program or find an existing open-source program that fits
  your needs.
  If you wish to troubleshoot the NOPRIV error message -- assuming
  that message is being directly produced by OpenVMS system services
  and is not being synthesized by software -- please enable and use
  the available OpenVMS security auditing and security alarms.  The
  use of privileges -- and privilege failures -- can be audited.
  If you require direct assistance or email feedback, please contact
  the support center directly; as stated in the prolog to asking a
  question of the OpenVMS Wizard, the OpenVMS Wizard is not in a
  position to provide such support services, nor timely feedback.

answer written or last revised on ( 2-APR-2003 )

» close window