Changes

Jump to: navigation, search

OPS335 Lab 4

9 bytes removed, 10:24, 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</source><br><br></li><li>>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):<source lang="bash">mydomain = yoursenecaid.org</source><br><br></li><li>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:<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 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