13,420
edits
Changes
→Relaying Email Through Another Server
'''Perform the following steps:'''
# First, direct your '''vm2 ''' machine to relay mail through '''vm3''', by making the following editing change for the '''/etc/postfix/main.cf''' file:<br><source>relayhost = vm3.<yourdomain>.org</source>
# Restart the '''postfix''' service.
# Next, you must instruct your '''vm3''' machine to allow your vm2 machine to pass email through it by making the following editing chnage to the '''/etc/postfix/main.cf''' file:<br><source>mynetworks = 192.168.X.0/24</source><br>NOTE: Substitute in your '''own network''' for X<br><br>