Solved

Usage of /usr/bin/rmail

Posted on 1997-06-21
6
630 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
Comment Utility
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
Comment Utility
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
Comment Utility
what system are you on?
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:ventnor
Comment Utility
Gracie,

I'm on Linux 2.0.0, Slakware distribution.

Thanks,


ventnor.
0
 

Expert Comment

by:gracie
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 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

12 Experts available now in Live!

Get 1:1 Help Now