Issuing customized e-mail reports with Mutt
In this recipe we will investigate the need to issue customized e-mail reports with Mutt from the command line. We will then use this introduction to build on a previous recipe discussing cron and illustrate how a simple bash script can be used to automate a scheduled e-mail.
Mutt is a full-featured text-based Mail User Agent that supports the typical mail formats and protocols while providing comprehensive support for MIME, GPG, and PGP. By its very nature Mutt is a very useful package, and because it is a tool that all server administrators should become familiar with, it is the purpose of this recipe to show you how Mutt can be used to deliver customized reports and messages to a destination of your choice.
Getting ready
To complete this recipe you will require a working installation of the CentOS 6 operating system with root privileges, a console-based text editor of your choice, and a connection to the Internet in order to facilitate the download...