On Sun, Dec 06, 2020 at 05:24:39PM +0100, Jeff Abrahamson wrote: > On 06/12/2020 16:44, Chris Green wrote: > > On Sun, Dec 06, 2020 at 04:18:13PM +0100, Julian Kippels wrote: > >> Am Sun, 6 Dec 2020 15:10:12 +0000 > >> schrieb Chris Green <c...@isbd.net>: [snip] > >> Might be a bit overkill for your use case, but I'd have a look at > >> keeping your configuration(s) in sync using Ansible or something > >> similar. > >> > > Yes, but I still need to know which bits are the same on all systems > > and which bits are different don't I? > > Seconded on using a config management package. Saltstack is a good > choice, too. (Your case is simple enough, though, that shell scripts > that copy from a private git repo is also reasonable. That avoids the > learning curve of something like salt/ansible/puppet/etc.) > OP here, I use mercurial rather than git but the point stands.
> You have one config (on your desktop) that receives and passes to an MDA > and that also sends to a smarthost. > You have one config (maybe on multiple machines) that sends to a > smarthost but doesn't receive, not even if you cc yourself. > Exactly! :-) > So I'd start by copying your config to your laptop, then just ask > yourself what you need to change so that mail to "local" users is sent > to the smarthost. Once mail to yourself goes to smarthost, you're > probably almost there. > Yes, and then I guess the laptop's configuration should work for the others without any change. Thanks. -- Chris Green