Operating System - HP-UX
1831617 Members
2166 Online
110027 Solutions
New Discussion

Problem with "mail" in unix command

 
Teck Sim
Frequent Advisor

Problem with "mail" in unix command

oracle@xxxx> mail 3xxxxxxxx@archwireless.net
Testing

/u01/apps/oracle/local/bin-->(SMP1)
oracle@xxxx> mail
From MAILER-DAEMON Tue Aug 20 10:10:47 EDT 2002
Received: from localhost (localhost) by xxx.sxxxxxtals.com with internal ()
Date: Tue, 20 Aug 2002 10:10:47 -0400 (EDT)
From: Mail Delivery Subsystem
Subject: Returned mail: Service unavailable
Message-Id: <200208201410.KAA07276@xxxx.sxxxxxtals.com>
To: oracle
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="KAA07276.1029852647/xxxx.sxxxxxtals.com"
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--KAA07276.1029852647/xxxx.sxxxxxtals.com

The original message was received at Tue, 20 Aug 2002 10:10:47 -0400 (EDT)
from oracle@localhost

----- The following addresses had permanent fatal errors -----
3xxxxxxxx@archwireless.net

----- Transcript of session follows -----
... while talking to mail.archwireless.net.:
<<< 554 x.x.1 hx-x-xxxtor.sxxxxxxxxtals.com Connection not authorized
... while talking to mail1.archwireless.net.:
>>> QUIT
<<< 554 x.x.1 hx-x-xxxtor.sxxxxxxxxtals.com Connection not authorized
554 3xxxxxxxx@archwireless.net... Service unavailable

--KAA07276.1029852647/xxxx.sxxxxxxxxtals.com
Content-Type: message/delivery-status

Reporting-MTA: dns; xxxx.sxxxxxxxxtals.com
Arrival-Date: Tue, 20 Aug 2002 10:10:47 -0400 (EDT)

Final-Recipient: RFC822; 3xxxxxxxx@archwireless.net
Action: failed
Status: 5.5.0
Remote-MTA: DNS; mail1.archwireless.net
Diagnostic-Code: SMTP; 554 x.x.1 hx-x-xxxtor.sxxxxxxxxtals.com Connection not ad
Last-Attempt-Date: Tue, 20 Aug 2002 10:10:47 -0400 (EDT)

--KAA07276.1029852647/xxxx.sxxxxxxxxtals.com
Content-Type: message/rfc822

Return-Path: oracle
Received: (from oracle@localhost) by xxxx.sxxxxxxxxtals.com (8.9.3 (PHNE_18979)
Date: Tue, 20 Aug 2002 10:10:47 -0400 (EDT)
From: Oracle
Message-Id: <200208201410.KAA07274@xxxx.sxxxxxxxxtals.com>

Testing


--KAA07276.1029852647/xxxx.sxxxxxxxxtals.com--
4 REPLIES 4
Rita C Workman
Honored Contributor

Re: Problem with "mail" in unix command

I am not 100% what the question is...but here goes.

If that first line is your statement...well I might change it to something like this:

elm -s "Testing" 3xxxxx@archwireless.net

Presuming I am user Oracle I am sending a test message to what I guessing is your pager # account. Or you could also:
elm -s "Alert" 3xxxxx@archwireless.net < /dir/alert.file

This would send the subject line of Alert and also send what the alert was as recorded in file /dir/alert.file. At least that's how I send my syslog alerts to my pager..

Just a thought,
Rita

..I use elm,mailx,sendmail commands..
Rita C Workman
Honored Contributor

Re: Problem with "mail" in unix command

One more thought...

If your trying to send to your pager, make sure of the exact address to mail to.
Example for internet paging I go "somecompanypager.com" but in my script I send it to..
telno@pageme.copager.com.

So call your provider and find out what you need...

Rgrds,
Rita
Roger Baptiste
Honored Contributor

Re: Problem with "mail" in unix command

hi,

Are u able to mail to internal users? are you able to to mail to any other external mail ids?? For a test try:

sendmail -vt
Your test message
.

Check the output for errors. That should offer some clue. From the messages you posted, it seems that it is not able to connect to the mail server.

-raj
Take it easy.
Arnold Hausmann
Occasional Advisor

Re: Problem with "mail" in unix command

"Transcript of session follows -----
... while talking to mail.archwireless.net.:
<<< 554 x.x.1 hx-x-xxxtor.sxxxxxxxxtals.com Connection not authorized
... while talking to mail1.archwireless.net.:
>>> QUIT
<<< 554 x.x.1 hx-x-xxxtor.sxxxxxxxxtals.com Connection not authorized
554 3xxxxxxxx@archwireless.net... Service unavailable"

It appears that you are getting through to Arch Wireless, but that address is either not valid, OR, Arch has not set that pager for text pages.

I've been stung by Arch on that issue before. They don't set up a particular pager (with text capability) to accept text; that restricts the pager to dial-in access.

I would test this by sending an email/page to the Arch address via Yahoo or another Web-based email system.
Stuff happens...that's why Jesus saves.