Apart from /usr/sbin/postconf, I also found:- /Applications/Server.app/Contents/ServerRoot/usr/sbin/postconf
Running the latter gives entirely different output from the former and according to that, the changes to the main.cf I've made have been incorporated. So I need to check the result of that, however I am still perplexed by this. From where is postconf getting its information? Does it have a config directory hard coded? Certainly it does not seem to follow the directory as applied to the running master process. How can 2 different postconf executables produce different results and which is correct? I guess the postconf that states the config_directory to be the same as that supplied by -c to the running master process could be considered to be the correct one, but the whole relationship between postconf, master and config_directory seems somewhat tenuous for something that is supposed to be supplying the exact config information being used. A symlink in the appropriate place should ensure I get the correct info from now on. Ken G i l l e t t _/_/_/_/_/_/_/_/ > On Mon 10 Jul 2023, at 16:56, Ken Gillett via Postfix-users > <postfix-users@postfix.org> wrote: > > Ok, so logged in on Mac and used the Server admin tool to change a setting > (added a relay host). The main.cf in /Library/Server/Mail/Config/postfix was > updated. So that's what MacOS thinks is the config dir as well as the actual > running 'master' process. > > However, postconf -n does not list the relayhost parameter and postconf -p > shows it as still being unset. > > So there is some disconnect between what is apparently the main.cf being used > and the information being produced by postconf. > > I'll keep looking, but any suggestions? > > > Ken G i l l e t t > > _/_/_/_/_/_/_/_/ > > > >> On Mon 10 Jul 2023, at 16:28, Ken Gillett via Postfix-users >> <postfix-users@postfix.org <mailto:postfix-users@postfix.org>> wrote: >> >> Aha. Had not tried that (hadn't seen that as a config. parameter). >> >> postconf -d config_directory => config_directory = /etc/postfix >> >> So, despite the process itself saying it's using one directory, postconf >> reports a different one, the default. >> >> How would different postconf files account for that? Surely, they would both >> talk to the same running process to get the required info? >> >> >> >> Ken G i l l e t t >> >> _/_/_/_/_/_/_/_/ >> >> >> >>> On Mon 10 Jul 2023, at 14:02, Wietse Venema via Postfix-users >>> <postfix-users@postfix.org <mailto:postfix-users@postfix.org>> wrote: >>> >>> "postconf -d config_directory" shows where the postconf command looks for >>> main.cf (and master.cf). >> >> _______________________________________________ >> Postfix-users mailing list -- postfix-users@postfix.org >> <mailto:postfix-users@postfix.org> >> To unsubscribe send an email to postfix-users-le...@postfix.org >> <mailto:postfix-users-le...@postfix.org> > > _______________________________________________ > Postfix-users mailing list -- postfix-users@postfix.org > To unsubscribe send an email to postfix-users-le...@postfix.org
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org