Changes

Jump to: navigation, search

OPS535-online-L5

437 bytes added, 23:48, 8 March 2021
postfix main configuration file: /etc/postfix/main.cf
comment out the line "inet_interfaces = localhost"
uncomment the line "inet_interfaces = all"
</pre>
:* Save the changes, and run the "diff" command on /etc/postfix/main.cf and /etc/postfix/main.cf.org and make sure you get something similar to the following:
<pre>
---
> #inet_interfaces = localhost
</pre>
:* 132c132 means line 132 in /etc/postfix/main.cf.org has been changed to line 132 in /etc/postfix/main.cf and 135c135 means similarly.
:* Restart "postfix" service on VM2.
...
</pre>
 
== Configure mailing list for postfix ==
:* Backup the file "/etc/aliases" to /etc/aliases.org" and execute the following commands as root:
<pre>
[root@pri-dns ~]# echo "ops535m: adm,ftp" >> /etc/aliases
[root@pri-dns ~]# newaliases
</pre>
:* Switch back to regular user and execute the command in the "Command" column and record the output in the "Response" column. Please replace the IP address place holder [IP-Addr] with the actual IP address of your VM2.
 
 
# start/stop postfix
# mailing list
# manual email delivery - smtp session
1,760
edits

Navigation menu