Changes

Jump to: navigation, search

OPS335 Lab 4

1 byte added, 10:28, 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>
# 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,008
edits

Navigation menu