[TriLUG] Command line mail

Jeremy Portzer jeremyp at pobox.com
Mon Jun 9 16:35:19 EDT 2003


On Mon, 2003-06-09 at 16:30, Greg Brown wrote:
> Using /bin/mail I don' t think this is possible.
> 
> I used to use mailx in the Solaris world to do just this type of thing 
> but, in the RH world anyway, mailx doesn't seem to have been ported to 
> Linux.  If memory serves, and for what it's worth, the mailx command 
> used to be  'mailx -s 'my subject' -r opennms at myhost.mydomain.com 
> sendingto at address.com <imported.mail.file'.

/bin/mail and mailx *are* the same thing in Red Hat Linux.
bash$ rpm -qf /bin/mail
mailx-8.1.1-22

However, it looks like the version of mailx included in Red Hat doesn't
have a -r option.

--Jeremy

-- 
/=====================================================================\
| Jeremy Portzer       jeremyp at pobox.com       trilug.org/~jeremy     |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
\=====================================================================/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030609/f58922e4/attachment.pgp>


More information about the TriLUG mailing list