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> 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
> 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

Reply via email to