Thanks for the ideas David, Joel, Myles, Zoran!
One thing I eventually figured out is that it's not so easy to just send an
email from the command line. The normal solutions 'mail', 'mutt' etc. all
presuppose that you have a full-house MTA running on the server. I don't
want sendmail running o
On Monday 04 February 2002 06:25 pm, David A. Bandel wrote:
> Look around for something called "dailyscript". I still have it (and
> have customized it heavily, so it probably won't work for you). I just
> mash it around a bit for each distro/release. Wouldn't be without it.
Thanks. I'll check
On Feb 4 David A. Bandel was heard saying:
->On Mon, 04 Feb 2002 17:51:45 -0600
->begin Michael Hipp <[EMAIL PROTECTED]> spewed forth:
->
->> What is the easiest way to send a simple text email from the command
->> line?
*** Is this related to geting information from your server that's behi
On Mon, 4 Feb 2002 19:25:07 -0500
"David A. Bandel" <[EMAIL PROTECTED]> wrote:
> Look around for something called "dailyscript". I still have it (and
> have customized it heavily, so it probably won't work for you). I
> just mash it around a bit for each distro/release. Wouldn't be
> without i
I use mutt for email attachments. I haven't found the option to attach
things with "mail."
so:
echo This is your message in the letter body sent `date` | mutt -s Update -a
FileToAttach YourAddress
> What is the easiest way to send a simple text email from the command line?
>
__
On Mon, 04 Feb 2002 17:51:45 -0600
begin Michael Hipp <[EMAIL PROTECTED]> spewed forth:
> I'm setting up a simple lan server for a client. It's behind a NAT
> router so I can't actually do any remote admin. But I can at least keep
> track of "how goes it" on the server with a simple script file
I'm setting up a simple lan server for a client. It's behind a NAT router
so I can't actually do any remote admin. But I can at least keep track of
"how goes it" on the server with a simple script file that runs 1-2 times
per day and emails me the output of, say:
df
ps -aux
free
tail -