Jump to: navigation, search

OPS335 Lab 4

15 bytes removed, 10:32, 2 March 2017
Listening on all interfaces
# Launch in editing session for the postfix configuration file called: '''/etc/postfix/'''
# Change the value of the following parameter to what is displayed below:<br><source lang="bash">inet_interfaces = all</source>
# We should also set the string that will end up in the '''From:''' header in messages sent by this server.<br>Change the '''mydomain''' option to YOUR domain name (shown below):<source lang="bash">mydomain =</source><br><br></li><li>Make certain to # Also you must set the '''hostname ''' for this server so that will correctly specify the hostname in the '''From:''' head in a sent mail message. <br>Make certain the following parameter is only appears once (shown with the corresponding valuebelow):<source lang="bash">myorigin = $myhostname</source><br><br></li><li>#Ensure that your '''hostname''' and DOMAIN NAME is properly set on your machine, otherwise you will need to set the '''myhostname''' parameter.</li>{{Admon/important|Warning|Make sure there are no other uncommented un-commented copies of these parameters in the file.}}<ol><livalue="6">Restart the postfix service (using the '''ss''' command) to confirm that the your MTA is now listening on <u>all</u> interfaces (not just loopback)</li>
<li>Test by connecting to it (using the '''nc''' command) from your '''vm3''' machine.</li></ol>

Navigation menu