* Question about mailx
@ 2002-07-08 15:49 Stan Horwitz
2002-07-10 5:06 ` SUMMARY: " Stan Horwitz
0 siblings, 1 reply; 2+ messages in thread
From: Stan Horwitz @ 2002-07-08 15:49 UTC (permalink / raw)
I am trying to use the mailx utility to send out savegroup completion
reports from NetWorker Power Edition 6.1.2 on an AlphaServer DS20 running
Tru64 Unix 4.0g, however, there's one little annoyance which I am trying
to rectify.
If I start up the NetWorker daemons manually by first logging in via my
regular account on the server, gaining root access via sudo, then issuing
the "NSRstartstop start" command, all the notifications come out with my
userid on our server as the originating address.
What I want to do is have the savegroup notifications identify the "root"
address for the system as the "from" address. This can be done via the -r
option on mailx, but when I use -r, the -s option is ignored and thus, the
subject of the message never makes it into the header. It looks as if the
-r and -s parameters are mutually exclusive.
Can this problem be fixed? If so, how?
^ permalink raw reply [flat|nested] 2+ messages in thread
* SUMMARY: Question about mailx
2002-07-08 15:49 Question about mailx Stan Horwitz
@ 2002-07-10 5:06 ` Stan Horwitz
0 siblings, 0 replies; 2+ messages in thread
From: Stan Horwitz @ 2002-07-10 5:06 UTC (permalink / raw)
I originally asked on this discussion list about how to get mailx to
respect the -r and -s options because it seems that if the -r parameter is
used, the -s parameter is completely ignored under Tru64 4.0f.
Pat O'brien suggested that this is a bug that's fixed in patch kit 4 or 5.
Since I plan to be on vacation the rest of this week, I am not going to
apply any patch kits to my server prior to leaving town. I will look into
this option upon my return. Thus far though, Pat's suggestion makes the
most sense.
Mandell Degerness responded by saying that after becoming root, you need
to set all of your environment appropriately. Specifically, you need to
set the NAME environment variable and, possibly, the USER environment
variable.
I tried this, but it did not have quite the full effect I need. I am going
to look into this more upon my return from vacation, however, the idea to
patch the system is probably the best path to follow because the system is
not patched and its probably time to change that situation.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-10 5:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-08 15:49 Question about mailx Stan Horwitz
2002-07-10 5:06 ` SUMMARY: " Stan Horwitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox