Does 'postconf daemon_directory' simply return info from the main.cf, or does 
it query the running process to get exactly what is being used?

Yes, on MacOSX Server there are 2 entirely independent installations. The 
standard Mac one plus the Server one. I know where they both are, but I cannot 
find out which master has been executed. It's either in:-

        /usr/libexec/postfix/

or

        /Applications/Server.app/Contents/ServerRoot/usr/libexec/postfix/

It IS configured to use the Server version of main.cf 

ps -ax | grep master
  349 ??        10:57.09 master -c /Library/Server/Mail/Config/postfix

and I am running the Server versions of postconf and postmap, but which version 
of master is being run?

I am now thinking it is the Server version of master that is running, but I 
cannot confirm that as I don't know how Server starts its processes. It cannot 
be using the LaunchDaemon I've found as that is set to quit after 60 seconds. 
Since I don't know how it is started, I can't be sure which master is running.

I've determined that the Server version is 2.5.5 and the Mac std. version is 
3.2.2, but that doesn't help me confirm which master is running.

--later--

I've found how Server starts its processes. In the Server's directory tree 
there's a ServerRoot/LaunchDaemons/ with a couple of plists. One is same idea 
as std. Mac install, set to quit after 60s, but the other is set to run 
permanently like for a Server, so I think that is what is actually running and 
that is the Server version of master.

So I don't think anything is mixed. Everything is the Server version of postfix 
- albeit a bit old.

Which still leaves the question of why emails to user@myhostname are rejected. 
☹️ 



Ken  G i l l e t t

_/_/_/_/_/_/_/_/



> On Mon 28 Oct 2024, at 17:07, Wietse Venema via Postfix-users 
> <postfix-users@postfix.org> wrote:
> 
> The command "" will return the directory
> that contains the Postfix master and other deamon programs.
> 
> However, if your system has MORE THAN ONE Postfix installed, then
> you need to run the postconf program that matches the running
> master daemon.

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to