December 2018
Beginner
826 pages
22h 54m
English
Mostly, you'll find that Postfix is already installed and configured, so let's trawl through what we've got out of the box and look at some common utilities.
First, let's check which MTA your system is configured to use by using the alternatives command:
$ alternatives --list | grep mtamta auto /usr/sbin/sendmail.postfix
This tells us that the system is utilizing Postfix to send mail.
Try sending some mail to an example address. For this, we first need to install a small command line, that is, mailx:
$ sudo yum install mailx -y
You can now run the following mail command, writing whatever you want into the newlines (and ending the email with a single . on the last line):
$ mail -s "Example Subject" packt@example.coThis is an ...
Read now
Unlock full access