13,420
edits
Changes
→Listening on all interfaces
# 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 = yoursenecaid.org</source>
# 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 only appears once (shown below):<source lang="bash">myorigin = $myhostname</source>
#Ensure that your '''hostname''' and '''DOMAIN NAME ''' name is properly set on your machine, otherwise you will need to set the '''myhostname''' parameter.
{{Admon/important|Warning|Make sure there are no other un-commented copies of these parameters in the file.}}
<ol><li value="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>