Install mail Command Linux

Post on 14-Aug-2015

1.138 views 5 download

Transcript of Install mail Command Linux

Install Mail Command – CentOS 7

Overview

Minimal install on most Linux operating system, mail command doesn’t work, it is necessary to install mail packages.

Applies To

CentOS 7, RHEL 7.x

Install package

yum install -y mailx

Install Mail Command – CentOS 7

Test Sending Email

echo "Test E-Mail" | mail -s "Test Mail" vcp.muthukrishna@f1tech.com

Verify Email Sent

tail /var/log/maillog