From the course: Linux System Engineer: Mail Systems Using Postfix

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create a null-client mail relay

Create a null-client mail relay

From the course: Linux System Engineer: Mail Systems Using Postfix

Start my 1-month free trial

Create a null-client mail relay

- [Instructor] For this exercise, we'll need two virtual machines running. Rhhost1 will be our mail server just as it is now, and we will not change the configuration from past lessons. It's important to note that it needs to be in a working state from previous lessons in this chapter. Rhhost2 will be our null client mail relay. We will configure the Postfix service to relay all local mail in rhhost2 to the mail server. Then we'll send an email in rhhost 2, which we get relayed to our central mail server on rhhost1. Log into rhhost2 and open a terminal. Now install Postfix using yum. Type in sudo space yum space install space dash Y space Postfix and hit Enter. Type in your password if prompted. This will install Postfix if it is not already installed. As soon as it's installed, edit the Etsy Postfix main.cf file in VI. Type in clear and then type in sudo space vi space slash etc slash Postfix slash main.cf and hit Enter. We're going to edit this file pretty quickly. Use forward…

Contents