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

Unlock the full course today

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

Send email from a remote client

Send email from a remote client

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

Start my 1-month free trial

Send email from a remote client

- [Instructor] For this exercise, we're going to send an email remotely to a user on the mail server, and then log into the mail server and check it. You will need both rhhost1 and rhhost3 VMs running for this exercise. You will want to start this exercise logged into your rhhost3 VM. We're going to reserve our rhhost2 VM for our relay host exercise later in this chapter. We'll start by installing Postfix. To do so, make sure you're logged in as user1 and have a terminal open. To install Postfix, type in sudo space yum space install space dash Y space Postfix and hit Enter. Enter your password if prompted. Postfix may be installed, and if not, this should install it without issues. Now let's edit the main.cf file using vi. Type in clear, then type in sudo space vi space slash etc slash Postfix slash main.cf and hit Enter. We're going to disable DNS lookups. Since this line doesn't exist, we'll add it to the end. Go to the end of the file by pressing Escape, capital G, capital A, and…

Contents