1,760
edits
Changes
→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.
# manual email delivery - smtp session