rapidscaleclusters.com

Mail in a hurry

I just created a Centos 5 virtual machine in VMware Server with absolutely no optional packages. I only had the first CD... So when I wanted to send an email from the command line, it had no mail server to help its way. The error was: -bash: mail: command not found 

The fastest way I could find was:
yum -y install sendmail mailx

About 60 seconds later I was sending outgoing mail like so:
echo test | mail -s "email subject" This e-mail address is being protected from spambots. You need JavaScript enabled to view it  
 

Add your comment

Your name:
Subject:
Comment:

Subscribe to the Linux Admins Blog and get new posts delivered by email!
Enter your email address:

Delivered by FeedBurner


Tell the developers:

The type of clustering you are most likely to deploy is:
 
What Linux distro do you use for clusters?
 

Copyright 2010    RapidScale Clusters, LLC