Dnia 10.02.2021 o godz. 15:10:09 Chris Green pisze:
> 
> These systems are all systemd'ed so I can't just run postfix as above.
> However will 'postconf "myhostname = $(dnsdomainname)"' actually
> change/set the myhostname value in main.cf?  If so then simply putting
> the postconf command in /etc/rc.local will do all I need, especially
> after one reboot.

Are these machines moved from domain to domain? Ie. is it possible that
"dnsdomainname" will change, or is it the same all the time? If the latter,
I don't see why do you need to set it at each reboot - it is enough to set
it once. So I would try to set it in a script that deploys/copies Postfix
configuration to the target machine.
-- 
Pozdrowienia,
   Jaroslaw Rafa
   r...@rafa.eu.org
--
"In a million years, when kids go to school, they're gonna know: once there
was a Hushpuppy, and she lived with her daddy in the Bathtub."

Reply via email to