Re: ot: anyone know about mailx differences between solaris and linux?



In article <slrne906g1.4jt.phill@xxxxxxxxxxxxxxxxxxxxxxx>, Phil
Launchbury says...
In article <MPG.1efa20f172a47aa198a20d@xxxxxxxxxxxxxxxxxxx>, Jeremy wrote:

Well if anyone does..

Using on solaris an instruction

$ mailx -t -r replies@xxxxxxxxxxxxxx < inputfile

This option tells mailx to take the details of to:, from: etc from the
inputfile

on linux (Redhat 3.0), the -t option is not recognised

You might want to upgrade that DedRat box to something a little more
current - it's about 6 versions behind current.

Blimey - it's a customer (of considerable size and this is a *new*
environment just being migrated to).

Mailx - the -t must be a Solaris special (or given the uptodateness of
your Redhat box probably SunOS...) because no other implementation I
have ever used does it. There is a facility within mailx to add stuff
using escape codes (by default a tilde character followed by a letter)
so that might work in the input file too..


It's used on Solaris8. Actually looking under the covers now it is a
"special" I think at that particular customer. Elsewhere we have it
running as

$ /usr/lib/sendmail -t -f $returnpath < $file;


On Redhat try adding a ~t <emailto> at the top of the input file where
<emailto> gets replaced by the email address of the person you want to
send the email to.

For more detail look at:

http://www.opengroup.org/pubs/online/7908799/xcu/mailx.html

Thanks for the pointers.

--

jeremy
'01 Triumph Sprint ST in green
_______________________________________
jeremy0505 at gmail.com

.



Relevant Pages

  • Re: ot: anyone know about mailx differences between solaris and linux?
    ... Using on solaris an instruction ... This option tells mailx to take the details of to:, ... on linux (Redhat 3.0), the -t option is not recognised ... On Redhat try adding a ~t <emailto> at the top of the input file where ...
    (uk.rec.motorcycles)
  • Using mailx to send email - differences to solaris
    ... Using on solaris an instruction ... This option tells mailx to take the details of to:, ... Anyone know what the equivalent for linux might be? ...
    (comp.os.linux.setup)
  • Re: RedHat on Sun Equipment
    ... > pick up a Sun Enterprise 450 Workgroup server for very cheap money. ... Will RedHat run on a Sun Enterprise ... While you may be able to get a version of linux to run on SPARC ... Running linux apps on Solaris will be even more of a job and quite simply ...
    (RedHat)
  • Re: Is linux free
    ... Redhat Enterprise WS ... >>is not just the linux distro. ... > But can you get the ISOs, without support. ... My company uses only Solaris. ...
    (comp.os.linux.misc)
  • Rlogin without password from Solaris -> RedHat not functional
    ... we have several machines on local network. ... Solaris, the only problematic thing is communication Solaris -> RedHat. ... Rlogin keeps asking for password, ...
    (comp.unix.solaris)