Solved

Usage of /usr/bin/rmail

Posted on 1997-06-21
6
639 Views
Last Modified: 2013-12-26
This is almost certainly a trivial question, but unfortunately my system doesn't have the manual pages for rmail. When I try the following command:

echo "localhost myname" | rmail myname

I expected mail to be posted back to myself. Instead, I got the message: "missing or empty From line". What format changes do I need to make?
0
Comment
Question by:ventnor
  • 3
  • 3
6 Comments
 

Accepted Solution

by:
gracie earned 50 total points
ID: 1293631
rmail is for recieving mail

echo "localhost myname" | mail myname

should do it.  you can add a "-s" to put a subject on it.

echo "localhost myname" | mail myname -s "It worked!"

Take Care,
Tracy Bryson

0
 

Author Comment

by:ventnor
ID: 1293632
Thanks for answering my question, but I won't grade it as yet. For a start, I'd be interested to know what the machine is expecting when it says "missing or empty From line". What would I have to add to the line I gave so that that message did not come up?

My second comment is that my system doesn't like the -s flag. It says "illegal option".

Thanks,

ventnor
0
 

Expert Comment

by:gracie
ID: 1293633
what system are you on?
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:ventnor
ID: 1293634
Gracie,

I'm on Linux 2.0.0, Slakware distribution.

Thanks,


ventnor.
0
 

Expert Comment

by:gracie
ID: 1293635
All of the research I have done on mail agree that -s is real.  Possibly, your sysadmin has tweaked things a bit.

As far as rmail, I'm not quit sure why you would want to use it.  Most of the URL's I found talked about using it with emacs (as a wrapper?).  Here are 2 good sites that I found:
http://mmg2.im.med.umich.edu/~kcheek/texi-docs/xemacs/rmail_2.html
http://sunland.gsfc.nasa.gov/info/emacs/Rmail_Reply.html

note that both have "emacs" in the path.

Have fun, and good luck!

~Tracy
0
 

Author Comment

by:ventnor
ID: 1293636
The Linux system is my own, so it hasn't been tweaked at all. I shan't grade this question, as it still hasn't really been answered.


0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question