From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Configure a local mail server - Linux Tutorial
From the course: Cert Prep LPIC-1 Exam 102 (Version 5.0)
Configure a local mail server
- [Instructor] To configure a local mail server, we'll want to start by editing the etsy Postfix main dot c-f file using VI. On your rhhost1 VM open a terminal and type in sudo, space, v-I, space, slash, e-t-c, slash, Postfix, slash, main dot c-f and hit enter. Enter your password if prompted. The first parameter we'll edit is my host name. Press forward slash and type in myhostname and hit enter. Go into insert mode and change the value to rhhost1.localnet.com. And make sure it's uncommented. And then go down to my domain and change that to localnet.com and also make sure it's uncommented. Now scroll down again until you see my origin. We can change this to rhhost1.localnet.com or we can use dollar sign myhostname which contains the same value. As such, we just need to uncomment the line that includes myhostname. Next, let's double check which network interfaces Postfix will answer on. Scroll down again until you…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.