Sponsored Content
Operating Systems HP-UX NCR Unix MP-RAS - Mail not working Post 302509656 by thenomad on Thursday 31st of March 2011 11:34:50 AM
Old 03-31-2011
Quote:
Originally Posted by DanJSC
Hi I am just wondering if this problem was solved as I have a similar problem

when I try this

# mailx -s "testzzz" "root@sys1"
test testz
EOT
# UX:mail: ERROR: Can't send to !cro_isp1!root (root@sys1)
UX:mail: ERROR: Return to root

the email error returned is this

From postmaster Fri Mar 25 10:16 GMT 2011
To: root@sys2
Date: Fri Mar 25 10:16:12 GMT 2011
Original-Date: Fri Mar 25 10:16 GMT 2011
Original-Subject: testzzz
Not-Delivered-To: due to 11 Transfer Failure
ORIGINAL MESSAGE ATTACHED
(mail: Error # 22 'Surrogate command failed', rc = 11)
En-Route-To: !sys1!root
======= Surrogate command =======
:/usr/bin/uux -aroot - sys1!rmail (root)
==== Start of stdout ===
==== Start of stderr ===
:bad system name: sys1
:uux failed ( 11 )
En-Route-To: !sys1!root
Content-Length: 122

If I do dthe same command from the local system but include the system name

mailx -s "testzzz" "tst@sys2"
tteesstt zz1017
EOT

This works

I am pretty sure mail to other systems has never worked on these boxes but would like to get it workling to set up some mail alerts

There is not etc aliases file on these systems but the remote sytem is in the hosts file
This is the unix system detail if it helps
Welcome to the NCR MP-RAS SVR4 UNIX System
UNIX System V Release 4.0
uname -a
sys2 sys2 4.0 3.0 3487/3488 Pentium III(TM)-ISA/PCI

Thanks in advance for any help

Dan
Since your uname string says NCR unix, I don't believe it is hpux related as this forum is, but it won't hurt checking if the sys1 is on the same network as your sys2 and listening incoming smtp connections on port 25. Otherwise you might need to configure the smart relay server (the line starting with letters DS in sendmail.cf file)
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

xntpd on NCR unix

Hi, I'm having these errors when using xntpd on ncr unix. synchronisation lost Feb 25 09:10:14 in.xntpd: Previous time adjustment didn't complete Can anyone help me on this. Is it an issue with the time delay as the reference time servers are on different sites and the ping response is... (0 Replies)
Discussion started by: bert.n
0 Replies

2. UNIX for Dummies Questions & Answers

NCR MP-RAS 3.02 Root Password

I've just inherited the support of 3 NCR Servers running NCR MP-RAS 3.02 UNIX OS and it looks as though the previous support analyst (who as left the company) has kindly changed all 3 root passwords. Also there are no installation / boot cd's and the etc/passwd directory can only be updated by... (1 Reply)
Discussion started by: Bruv
1 Replies

3. Filesystems, Disks and Memory

Help - NCR Unix 3.02 MP-RAS

Hi, I am new to the UNIX operating system and would realy appreciate some answers to these problems. I have a unix box (Actually several of them throughout the different locations) that have NCR MP-RAS 3.02.x.x (with multiuser and possibly security packages installed.) Originally they had 2gb... (4 Replies)
Discussion started by: ad7_98
4 Replies

4. UNIX for Dummies Questions & Answers

MP-RAS Unix and NFS

Hi, I would like to know if It's possible configure NFS on MP-RAS Unix so mountd uses a static port instead of a dynamic one. Thanks. (1 Reply)
Discussion started by: cuatrodos
1 Replies

5. Infrastructure Monitoring

NCR unix snmp agent

Good Day, I have requirement to monitor a number of NCR unix server for our unix team. As the System Management product that we use in out company does not have an agent for NCR unix I am investigating the SNMP route. I got the unix guys to enable SNMP however, it seems the default MIB that is... (0 Replies)
Discussion started by: priteshj
0 Replies

6. IP Networking

Changing IP address on NCR UNIX

Can someone assist please. I am trying to change IP address on NCR UNIX using tcpconfig but the address wont change!! Using ifconfig -a I still see the old address! This is on an NCR S24 server. (3 Replies)
Discussion started by: Vusi Boutu
3 Replies

7. IP Networking

MP-RAS Unix Networking Setup

I have an MP-RAS unix server from ncr. We are trying to get the network configured so that we may transer files between the unix box and a pc. I have used the included TCPCONFIG command to setup the network, however I can not ping, telnet or ftp to any other pcs on the network. Any help would... (0 Replies)
Discussion started by: Rutgerncas
0 Replies

8. Shell Programming and Scripting

Equivalent of mmin in MP-RAS/NCR Unix

Hi, i created a script to look for the modified files in the last 15 minutes. But later was told that the server that we need to implement this script is an MP-RAS (NCR Unix) server on which i found mmin option of the find command doesnt work.:wall: Can anybody please let me know the... (1 Reply)
Discussion started by: utkarsh
1 Replies

9. UNIX for Advanced & Expert Users

NCR UNIX help

Dear all I'm trying to virtualize NCR on UBUNTU host . I need a help ,I'm new to UNIX world . If any one ca send me step by step guide , I'll appreciate this very much . Thanks (3 Replies)
Discussion started by: semerouk
3 Replies

10. Filesystems, Disks and Memory

Ncr UNIX

let me know to create a new partition on ncr unix with vxfs filesystem (0 Replies)
Discussion started by: venikathir
0 Replies
uux(1)							      General Commands Manual							    uux(1)

NAME
uux - Remote command execution over UUCP SYNOPSIS
uux [ options ] command DESCRIPTION
The uux command is used to execute a command on a remote system, or to execute a command on the local system using files from remote sys- tems. The command is not executed immediately; the request is queued until the uucico (8) daemon calls the system and executes it. The daemon is started automatically unless one of the -r or --nouucico options is given. The actual command execution is done by the uuxqt (8) daemon. File arguments can be gathered from remote systems to the execution system, as can standard input. Standard output may be directed to a file on a remote system. The command name may be preceded by a system name followed by an exclamation point if it is to be executed on a remote system. An empty system name is taken as the local system. Each argument that contains an exclamation point is treated as naming a file. The system which the file is on is before the exclamation point, and the pathname on that system follows it. An empty system name is taken as the local system; this must be used to transfer a file to a command being executed on a remote system. If the path is not absolute, it will be appended to the current working directory on the local system; the result may not be meaningful on the remote system. A pathname may begin with ~/, in which case it is relative to the UUCP public directory (usually /var/spool/uucppublic) on the appropriate system. A pathname may begin with ~name/, in which case it is relative to the home directory of the named user on the appropriate system. Standard input and output may be redirected as usual; the pathnames used may contain exclamation points to indicate that they are on remote systems. Note that the redirection characters must be quoted so that they are passed to uux rather than interpreted by the shell. Append redirection (>>) does not work. All specified files are gathered together into a single directory before execution of the command begins. This means that each file must have a distinct base name. For example, uux 'sys1!diff sys2!~user1/foo sys3!~user2/foo >!foo.diff' will fail because both files will be copied to sys1 and stored under the name foo. Arguments may be quoted by parentheses to avoid interpretation of exclamation points. This is useful when executing the uucp command on a remote system. A request to execute an empty command (e.g., uux sys!) will create a poll file for the specified system. OPTIONS
The following options may be given to uux. -, -p, --stdin Read standard input and use it as the standard input for the command to be executed. -c, --nocopy Do not copy local files to the spool directory. This is the default. If they are removed before being processed by the uucico (8) daemon, the copy will fail. The files must be readable by the uucico (8) daemon, as well as the by the invoker of uux. -C, --copy Copy local files to the spool directory. -l, --link Link local files into the spool directory. If a file can not be linked because it is on a different device, it will be copied unless one of the -c or --nocopy options also appears (in other words, use of --link switches the default from --nocopy to --copy). If the files are changed before being processed by the uucico (8) daemon, the changed versions will be used. The files must be readable by the uucico (8) daemon, as well as by the invoker of uux. -g grade, --grade grade Set the grade of the file transfer command. Jobs of a higher grade are executed first. Grades run 0 ... 9 A ... Z a ... z from high to low. -n, --notification=no Do not send mail about the status of the job, even if it fails. -z, --notification=error Send mail about the status of the job if an error occurs. For many uuxqt daemons, including the Taylor UUCP uuxqt, this is the default action; for those, --notification=error will have no effect. However, some uuxqt daemons will send mail if the job succeeds unless the --notification=error option is used, and some other uuxqt daemons will not send mail if the job fails unless the --notifi- cation=error option is used. -r, --nouucico Do not start the uucico (8) daemon immediately; merely queue up the execution request for later processing. -j, --jobid Print jobids on standard output. A jobid will be generated for each file copy operation required to perform the operation. These file copies may be cancelled by passing the jobid to the --kill switch of uustat (1), which will make the execution impossible to com- plete. -a address, --requestor address Report job status to the specified e-mail address. -x type, --debug type Turn on particular debugging types. The following types are recognized: abnormal, chat, handshake, uucp-proto, proto, port, config, spooldir, execute, incoming, outgoing. Only abnormal, config, spooldir and execute are meaningful for uux. Multiple types may be given, separated by commas, and the --debug option may appear multiple times. A number may also be given, which will turn on that many types from the foregoing list; for example, --debug 2 is equivalent to --debug abnormal,chat. -I file, --config file Set configuration file to use. This option may not be available, depending upon how uux was compiled. -v, --version Report version information and exit. --help Print a help message and exit. EXAMPLES
uux -z - sys1!rmail user1 Execute the command ``rmail user1'' on the system sys1, giving it as standard input whatever is given to uux as standard input. If a fail- ure occurs, send a message using mail (1). uux 'diff -c sys1!~user1/file1 sys2!~user2/file2 >!file.diff' Fetch the two named files from system sys1 and system sys2 and execute diff putting the result in file.diff in the current directory. The current directory must be writable by the uuxqt (8) daemon for this to work. uux 'sys1!uucp ~user1/file1 (sys2!~user2/file2)' Execute uucp on the system sys1 copying file1 (on system sys1) to sys2. This illustrates the use of parentheses for quoting. RESTRICTIONS
The remote system may not permit you to execute certain commands. Many remote systems only permit the execution of rmail and rnews. Some of the options are dependent on the capabilities of the uuxqt (8) daemon on the remote system. FILES
The file names may be changed at compilation time or by the configuration file, so these are only approximations. /etc/uucp/config - Configuration file. /etc/uucp/oldconfig/ - Alternative configuration (HDB or V2 format) /var/spool/uucp - UUCP spool directory. /var/log/uucp/Log - UUCP log file. /var/spool/uucppublic - Default UUCP public directory. SEE ALSO
mail(1), uustat(1), uucp(1), uucico(8), uuxqt(8) BUGS
Files can not be referenced across multiple systems. Too many jobids are output by --jobid, and there is no good way to cancel a local execution requiring remote files. AUTHOR
Ian Lance Taylor (ian@airs.com) Taylor UUCP 1.06 uux(1)
All times are GMT -4. The time now is 01:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy