Ahh, thanks.
BT
NNNN
Tracy Johnson
MSI Schaevitz Sensors
> -----Original Message-----
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
> Behalf Of Tracy Pierce
> Sent: Monday, June 20, 2005 3:12 PM
> To: [log in to unmask]
> Subject: Re: [HP3000-L] sendmail [was:] grep from mpe/ix ci
>
>
> yes, no problems.
>
> !setvar mailfrom "[log in to unmask]"
> !setvar mailsubject "!hpsysname !hpjobname !hpyyyymmdd"
> !setvar mailto "-t [log in to unmask] "
> !setvar mailto mailto + "-t [log in to unmask] "
> !showvar mail@
> ...
> ! IF CHKTAPE_RESULT <> 0
> ! comment notify system mangler via pager & cellphone...
> ! ECHO dev !BUPDEV status !CHKTAPE_RESULT > MAILTEXT
> ! PRINT CTRESULT >> MAILTEXT
> ! echo that was try !MYTRIES of 5... >> MAILTEXT
> ! CONTINUE
> ! mail "!mailto -m MAILTEXT"
> ...
>
> YODA:MANAGER.SYS,PUB:help mail
> PROGRAM FILE: MAIL.PUB.SYS
> YODA:MANAGER.SYS,PUB:listf mail.pub.sys,2
> ACCOUNT= SYS GROUP= PUB
>
> FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
> SIZE TYP EOF LIMIT R/B SECTORS #X MX
>
> MAIL PROG 128W FB 96 96 1 96 1 1
>
>
> YODA:MANAGER.SYS,PUB:
>
>
> BToback lives on...
>
> Tracy Pierce
> > -----Original Message-----
> > From: Johnson, Tracy [mailto:[log in to unmask]]
> > Sent: Monday, June 20, 2005 9:24 AM
> > To: [log in to unmask]
> > Subject: sendmail [was:] grep from mpe/ix ci
> > Importance: Low
> >
> > Anyone try to use sendmail or mailx without going into the shell?
> >
> > You can't have strings withing strings within strings, I
> > think the INFO parameter on SH.HPBIN.SYS gets confused.
> >
> > run sh.hpbin.sys;info="-c 'uuencode X x.txt > myfile'"
> >
> > run sh.hpbin.sys;info="-c 'cat myfile | mailx -s mytest
> > [log in to unmask]"
> > Null message body; hope that's OK.
> >
> > run sh.hpbin.sys;info="-c 'rm myfile'"
> >
> > So for some reason, probably because I don't understand how
> > it works, it won't send the piped file from cat.
> >
> > As long as my subject line doesn't have any spaces, I can
> > send myself a null message with at least a subject.
> >
> > BT
> >
> >
> >
> >
> >
> >
> >
> >
> > NNNN
> > Tracy Johnson
> > MSI Schaevitz Sensors
> >
> >
> > * To join/leave the list, search archives, change list settings, *
> > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
> >
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|