Changes

Jump to: navigation, search

OPS335 Lab 4

57 bytes added, 10:23, 2 March 2017
Listening on all interfaces
# Launch in editing session for the postfix configuration file called: '''/etc/postfix/main.cf'''
# Change the value of the following parameter to what is displayed below: <br><source lang="bash">inet_interfaces = all <ol/source><br><br></li><li value="3">>We should also set the string that will end up in the '''From:''' header in messages sent by this server. Change the '''mydomain''' option to YOUR domain name (shown below):</li></olsource lang="bash"> mydomain = yoursenecaid.org <ol/source><br><br></li><li value="4">Make certain to set the hostname for this server that will correctly specify the hostname in the '''From:'' head in a sent mail message. Make certain the following parameter is shown with the corresponding value:</lisource lang="bash"></ol> myorigin = $myhostname <ol/source><br><br></li><li value="5">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 copies of these parameters in the file.}}
<li>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>
13,420
edits

Navigation menu