HP3000-L Archives

November 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Emerson, Tom # El Monte" <[log in to unmask]>
Reply To:
Emerson, Tom # El Monte
Date:
Wed, 3 Nov 1999 21:07:21 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (111 lines)
I've followed this thread all day long, and it reminded me I've been wanting
to do this...

So, at the end of the day I took yet another shot at it and I got it to work
BUT only if the "sending" user has SM capability!

As usual, "you local site conditions may vary", and ours is quite varied,
but it boils down to the internet connection we have is via a Unix box of
some sort at the "headquarters" office [insert .sig of "you are in a maze of
twisty passages" here... :) ]

After getting it to work "online", I created the following job:

!job SENDMSG,tom.emerson,work
!
!run MAILX.HPBIN.SYS;stdin=MESSAGE;info=&
!"-s 'test subject' [log in to unmask]"
!
!eoj

The file "MESSAGE" contains the text I want e-mailed, and this obviously
runs WITHOUT the benefit of "the shell"  Streaming it as myself results in:

:COMMENT   STREAM FILE SENDMSG.JCL.EMERSON
:COMMENT     STREAMED BY TOM.EMERSON,WORK ON LDEV 47
:COMMENT     ON SAT, JAN 01, 2000,  5:40 PM
:
:RUN MAILX.HPBIN.SYS;stdin=MESSAGE;info=&
:"-s 'test subject' [log in to unmask]"

/etc/sendmail.cf: line 0: cannot open: Permission denied
"dead.letter" 17/408

END OF PROGRAM
:
:EOJ
CPU sec. = 7.  elapsed min. = 1.  SAT, JAN  1, 2000,  5:40 PM. [heh heh heh
-- I'm on the y2k machine...]

If I run GOD within the job [essentially picking up SM capability], MAILX
runs fine.

Here are the "permissions" of the file:

EAGLE: %listf /etc/sendmail.cf,posix
                     MPEX %LISTF /etc/sendmail.cf   PAGE 1

         SYSTEM EAGLE   TOM.EMERSON,WORK   SAT, JAN  1, 2000,  5:52 PM

PATH= /etc/
File       Type   UID Owner               GID Group ID     ACD
State
---------- ---- ----- ----------------- ----- -------- -- ---- ---
------------
sendmail.cf
           BA     338!SERVER.SENDMAIL     177!SENDMAIL    Must      Today
17:31

EAGLE: %sh -L
               MPE/iX Shell and Utilities (A.50.02)
shell/iX> ls -al /etc/sendmail.cf
-rw-rw----   1 SERVER.SENDMAIL   SENDMAIL   28118 Jan  1 17:31
/etc/sendmail.cf
shell/iX>

Which leads me to believe I still don't have this "properly" configured
[but, at least, "sufficiently" configured to send messages at some level]  I
suspect that MAILX.HPBIN is attempting to send the file directly RATHER than
connect to "localhost:25" and utilize the services of the sendmail "daemon"
[jdaemon is running /SENDMAIL/PUB/DAEMON]; if I understand things correctly,
the "daemon" should be the only process that has access to the
/etc/sendmail.cf file anyway, thus the need to chown the file to
SERVER.SENDMAIL.

/etc/mailx.rc:
set sendmail=/SENDMAIL/PUB/SENDMAIL
# was: set sendmail=/bin/tsmail
set sendwait


Tom Emerson
Sr. Systems Analyst
NDC | e COMMERCE
[log in to unmask]
626-258-4309
626-350-3832 FAX



> -----Original Message-----
> From: Mark Bixby [mailto:[log in to unmask]]
> Sent: Wednesday, November 03, 1999 11:00 AM
> To: [log in to unmask]
> Subject: Re: email from MPEiX
>
>
> Dave Knispel wrote:
> >
> > Anyone had experience emailing from a HP3000? From batch?
> I've looked at
> > JTMAIL and NETMAIL on the contributed library tapes, but
> neither one works
> > in batch.
>
> Freeware Sendmail/iX works in batch:
>
>         http://www.bixby.org/mark/sendmailix.html
>
> - Mark B.
>

ATOM RSS1 RSS2