[RndTbl] Mail server config on Ubuntu (Postfix?)

Wyatt Zacharias wyatt at magitech.ca
Thu Jun 28 14:16:42 CDT 2018


What is the value of the "mydestination" parameter in main.cf? That should
define all of the different domain combinations that the daemon will accept
mail for instead of relaying it.



--
Wyatt Zacharias


On Thu, Jun 28, 2018 at 1:55 PM, Adam Thompson <athompso at athompso.net>
wrote:

> AFAIK, you want "dpkg-reconfigure --priority low postfix" and select a
> more appropriate configuration.
>
> I don't have an Ubuntu system to test this with currently, sorry, so I'm
> going from memory.
>
> -Adam
>
>
> On 2018-06-28 11:46, Kevin McGregor wrote:
>
> 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.
>
> For each Ubuntu server I manage, I'd like these to work:
>
> user1 at ubuntu:~$ mail -s "Test" user2 <message-body
>
> user1 at ubuntu:~$ mail -s "Test" user2 at ubuntu <message-body
>
> user1 at ubuntu:~$ mail -s "Test" user2 at ubuntu.mydomainname <message-body
>
> user1 at ubuntu:~$ mail -s "Test" user3 at myotherdomainname <message-body
>
> I hope that's clear. Or
> mail -s "Test" jdoe
> mail -s "Test" jdoe at server678
> mail -s "Test" jdoe at server678.domain1.org
> ...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:
> mail -s "Test" santa394 at domain2.org
>
> I don't know if I've made myself clear. Ask questions and I'll try to
> clarify what I want.
>
> Kevin
>
> _______________________________________________
> Roundtable mailing list
> Roundtable at muug.ca
> https://muug.ca/mailman/listinfo/roundtable
>
>
>
> _______________________________________________
> Roundtable mailing list
> Roundtable at muug.ca
> https://muug.ca/mailman/listinfo/roundtable
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://muug.ca/pipermail/roundtable/attachments/20180628/853d9a71/attachment.html>


More information about the Roundtable mailing list