Re: ot: anyone know about mailx differences between solaris and linux?
- From: Jeremy <jeremy0505@xxxxxxxxx>
- Date: Wed, 14 Jun 2006 15:42:06 +0100
In article <slrne906g1.4jt.phill@xxxxxxxxxxxxxxxxxxxxxxx>, Phil
Launchbury says...
In article <MPG.1efa20f172a47aa198a20d@xxxxxxxxxxxxxxxxxxx>, Jeremy wrote:Blimey - it's a customer (of considerable size and this is a *new*
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.
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
.
- References:
- ot: anyone know about mailx differences between solaris and linux?
- From: Jeremy
- Re: ot: anyone know about mailx differences between solaris and linux?
- From: Phil Launchbury
- ot: anyone know about mailx differences between solaris and linux?
- Prev by Date: Re: A triangle question
- Next by Date: Re: OT: Cheap internet holidays
- Previous by thread: Re: ot: anyone know about mailx differences between solaris and linux?
- Next by thread: Re: ot: anyone know about mailx differences between solaris and linux?
- Index(es):
Relevant Pages
|