Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:network_services_overview_smtp [2016/10/04 22:28] billdozor [Network Services Overview SMTP] |
linux_wiki:network_services_overview_smtp [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 12: | Line 12: | ||
* Configure the service for basic operation | * Configure the service for basic operation | ||
* Configure host-based and user-based security for the service | * Configure host-based and user-based security for the service | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Lab Setup ====== | ||
+ | |||
+ | The following virtual machines will be used: | ||
+ | * server1.example.com (192.168.1.150) -> Configure SMTP null client (**on the exam**) | ||
+ | * server2.example.com (192.168.1.151) -> Configure central mail server for client testing (**NOT on the exam**) | ||
---- | ---- | ||
Line 19: | Line 27: | ||
Install the service | Install the service | ||
<code bash> | <code bash> | ||
- | yum install | + | yum install |
</ | </ | ||
Line 42: | Line 50: | ||
Check Current Service Status | Check Current Service Status | ||
<code bash> | <code bash> | ||
- | systemctl status | + | systemctl status |
</ | </ | ||
* Also displays if the service is enabled or disabled | * Also displays if the service is enabled or disabled | ||
Line 49: | Line 57: | ||
Enabling a service to start on boot | Enabling a service to start on boot | ||
<code bash> | <code bash> | ||
- | systemctl enable | + | systemctl enable |
</ | </ | ||
Line 58: | Line 66: | ||
Enable and Start the service | Enable and Start the service | ||
<code bash> | <code bash> | ||
- | systemctl enable | + | systemctl enable |
- | systemctl start < | + | systemctl start postfix |
</ | </ | ||
Line 70: | Line 78: | ||
Allow access through the firewall | Allow access through the firewall | ||
<code bash> | <code bash> | ||
- | firewall-cmd --permanent --add-service=< | + | firewall-cmd --permanent --add-service=smtp |
firewall-cmd --reload | firewall-cmd --reload | ||
</ | </ |