O'Reilly logo

CentOS 7 Linux Server Cookbook - Second Edition by Jonathan Hobson, Oliver Pelz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with Postfix

In a previous recipe, we learned how to install and configure Postfix as our domain-wide e-mail server. When it comes to working with e-mails, there are lots of different tools and programs available for Linux and we already showed you how to send e-mails through the sendmail program as well as the swaks utility. Here in this recipe, we will show you how to work with one of the most commonly used mail utilities in Unix and Linux, called mailx, which has some useful features missing in the sendmail package for sending mails or reading your mailbox.

How to do it...

We will begin this recipe by installing the mailx package on our server running our domain-wide Postfix service, as it is not available on CentOS 7 by default.

  1. Begin ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required