Solved

Usage of /usr/bin/rmail

Posted on 1997-06-21
6
635 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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 …
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.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now