<div dir="ltr">What is the value of the "mydestination" parameter in <a href="http://main.cf">main.cf</a>? That should define all of the different domain combinations that the daemon will accept mail for instead of relaying it. <div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>--</div>Wyatt Zacharias<div><br></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jun 28, 2018 at 1:55 PM, Adam Thompson <span dir="ltr"><<a href="mailto:athompso@athompso.net" target="_blank">athompso@athompso.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>AFAIK, you want "dpkg-reconfigure --priority low postfix" and select a more appropriate configuration.</p>
<p>I don't have an Ubuntu system to test this with currently, sorry, so I'm going from memory.</p>
<p>-Adam</p><div><div class="h5">
<p><br></p>
<p>On 2018-06-28 11:46, Kevin McGregor wrote:</p>
</div></div><blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0"><div><div class="h5">
<div dir="ltr">I'm trying to configure Postfix on Ubuntu 18.04LTS. It's working, in the basic sense, but not doing everything I want. I've read some of the config help and examples, but I'm still not clear on what to do.
<div> </div>
<div>For each Ubuntu server I manage, I'd like these to work:</div>
<div> </div>
<div>
<div style="text-decoration-style:initial;text-decoration-color:initial">user1@ubuntu:~$ mail -s "Test" user2 <message-body</div>
<br class="m_1234150998258944591gmail-Apple-interchange-newline">
<div style="text-decoration-style:initial;text-decoration-color:initial">user1@ubuntu:~$ mail -s "Test" user2@ubuntu <message-body</div>
<br class="m_1234150998258944591gmail-Apple-interchange-newline">
<div style="text-decoration-style:initial;text-decoration-color:initial">user1@ubuntu:~$ mail -s "Test" user2@ubuntu.mydomainname <message-body</div>
<br class="m_1234150998258944591gmail-Apple-interchange-newline">
<div style="text-decoration-style:initial;text-decoration-color:initial">user1@ubuntu:~$ mail -s "Test" user3@myotherdomainname <message-body</div>
<br class="m_1234150998258944591gmail-Apple-interchange-newline"> I hope that's clear. Or</div>
<div>mail -s "Test" jdoe</div>
<div>mail -s "Test" jdoe@server678</div>
<div>mail -s "Test" <a href="mailto:jdoe@server678.domain1.org" target="_blank">jdoe@server678.domain1.org</a></div>
<div>...which would all deliver email locally to this server (server678) and the last one would be for mail which is destined for any other user NOT on this server but in domain2 (domain1 and domain2 are both internal workplace domains), and which will have to go through a relay host to get anywhere:</div>
<div>mail -s "Test" <a href="mailto:santa394@domain2.org" target="_blank">santa394@domain2.org</a></div>
<div> </div>
<div>I don't know if I've made myself clear. Ask questions and I'll try to clarify what I want.</div>
<div> </div>
<div>Kevin</div>
</div>
<br>
</div></div><div class="m_1234150998258944591pre" style="margin:0;padding:0;font-family:monospace">______________________________<wbr>_________________<br> Roundtable mailing list<br> <a href="mailto:Roundtable@muug.ca" target="_blank">Roundtable@muug.ca</a><br> <a href="https://muug.ca/mailman/listinfo/roundtable" rel="noopener noreferrer" target="_blank">https://muug.ca/mailman/<wbr>listinfo/roundtable</a></div>
</blockquote>
<p><br></p>
</div>
<br>______________________________<wbr>_________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.ca">Roundtable@muug.ca</a><br>
<a href="https://muug.ca/mailman/listinfo/roundtable" rel="noreferrer" target="_blank">https://muug.ca/mailman/<wbr>listinfo/roundtable</a><br>
<br></blockquote></div><br></div>