13,420
edits
Changes
→Setup Your MTA to Use Correct Domain
The next step is to configure what addrssess the server will receive email for. This is done using postfix by setting the '''mydestination''' parameter (configuration variable) to include '''$mydomain''' (this is assuming you've set up '''mydomain''', '''myorigin''' , and '''inet_interfaces''' properly).
<ool><li value="4">Edit the '''/etc/postfix/main.cf''' file.</li><li>Scroll down to the line containing: '''mydestination''' and change line to the text shown below:</li></ol>
<pre>mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost</pre>