Configuring command line mail ...
I'd like the ability to send quick e-mails, particularly from dinky little scripts
(say perl), or from the command line of the form (syntax notwithstanding):
[joe@joesMachine joe]# mailto [email protected] -s "Hi joe"
I appreciate there are numerous programs to choose from, I'm looking for the simplest to configure, and am only really interested in the outgoing mail.
Suggestions?
- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 3 lines · Chris
$ mail [email protected] < filename
Whose reponse I appreciate, and please believe I've tried that: as well as many other variant programs.
*How do I configure it?*
Like most of my troubles with this RH installation, everything _promises_ to work, and when they don't I'm clueless where to turn. I'm approaching the moment where I'll decide to start with a "clean/minimalist" installation and install each component as I need them, so that I learn what's going on in the process.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 9 lines · Jamie Risk
Quoted 3 lines · Chris
$ mail [email protected] < filenameWhose reponse I appreciate, and please believe I've tried that: as well as many other variant programs.
*How do I configure it?*
In the example Chris offered, there should be NOTHING to configure (beyond verifying that the app "mail" is installed and available to the userid ... "which mail" will serve that purpose ... though this is not a trivial step, since I see that my Debian workstation does not have "mail" installed) about the mail client.
If you need to configure OTHER things than your mail client (for example, sendmail or some other MTA, or DNS, or I-don't-know-what) you will need to ask a more detailed question then you have.
As a general matter, you get further on a troubleshooting list like this one when you describe the trouble you are having in more detail than you've done. Your original message posed a vague question in pseudocode form. It got an appropriately vague answer back.
If what really happened was: "I tried $ mail [email protected] < filename and it failed with this error:", try telling us that (quoting the EXACT command and the EXACT error) and you'll almost surely find us more helpful.
Quoted 5 lines
Like most of my troubles with this RH installation, everything _promises_ to work, and when they don't I'm clueless where to turn. I'm approaching the moment where I'll decide to start with a "clean/minimalist" installation and install each component as I need them, so that I learn what's going on in the process.
As a non-Red Hat user (I use Debian), I am hardly in a position to critique the quality of default RH installs. Complaints at that level are, I suppose, best directed to Red Hat, not a bunch of volunteers on a distribution-agnostic help list. Really, all we can do is try our best to help with problems that get described in enough detail that we can understand them.
--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
try ls .mailrc. If you don't find it your mail program has no configuration other than default. You may have an entry in the man pages for .mailrc man .mailrc if it's there will show you acceptable file format and will also show you what your options are. Understand that's good for mail and I think mailx but not the other mail handlers.
Jude <dashielljt(at)gmpexpress-dot-net>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs