Operating System - HP-UX
1836367 Members
2029 Online
110100 Solutions
New Discussion

How to change the mailx.rc default setting in a ignite server ?

 
TJ Yang_1
Occasional Advisor

How to change the mailx.rc default setting in a ignite server ?

Hi, there

I like to add "set charset=us-ascii" in the default mailx.rc setting in a build server so the machine being built will carry this setting but the mailx.rc on build server is not in text format.

Anyone know how to do it ? or please give
pointers to the document set I should read.



Thanks

tj

root> ls -l
total 4
dr-xr-xr-x 2 bin bin 1024 Mar 2 1999 elm
-r--r--r-- 1 bin bin 92 May 30 1996 mailx.rc
root> file mailx.rc
mailx.rc: data
root> strings mailx.rc
+N-QH,(H
\Tbkd
root>pwd
/export0/pkgsrc/OS/hp-ux10.20/core/MailUtilities/MAILERS/usr/share/lib
root>
4 REPLIES 4
Chris Wilshaw
Honored Contributor

Re: How to change the mailx.rc default setting in a ignite server ?

TJ Yang_1
Occasional Advisor

Re: How to change the mailx.rc default setting in a ignite server ?

Chris, thanks for the pointer to read another
link about setting "charset=us-ascii". but I like to do it from the source(of the problem).
I like to have every machine built from our
build server has the setting in /usr/lib/share/mailx.rc already.

tj
Chris Wilshaw
Honored Contributor

Re: How to change the mailx.rc default setting in a ignite server ?

Checking on a couple of my servers,

/usr/share/lib/mailx.rc is a basic text file

/usr/share/lib =>cat mailx.rc

set append
set asksub
set dot
set crt=21
set PAGER=/usr/bin/more
set save
set encoding=8bit

Where is the mailxrc file that you'v run strings against?
TJ Yang_1
Occasional Advisor

Re: How to change the mailx.rc default setting in a ignite server ?

Yes, the mailx.rc is a text file on a regular hp server after it got built(either from CD or IGNITE build server).

"swlist -l filet | grep mailx.rc" will show
mailx.rc file is in MailUtilties.MAILERS package and I found this package on my build server at following path

/export/build/CoreOS/MailUtilities/MAILERS/usr/share/lib

root> ls -l
total 4
dr-xr-xr-x 2 bin bin 1024 Mar 3 1999 elm
-r--r--r-- 1 bin bin 92 May 30 1996 mailx.rc
root> strings mailx.rc
+N-QH,(H
\Tbkd
root>

What I am looking for is a way to modify the mail.rc(in binary fomat) on an ignite build server.


tj