In fact the solution was much easier than I thought.
I had to fully disable the "System" starting of the 2 postfix related daemons:
launchctl disable system/com.apple.postfix.master
launchctl disable system/com.apple.postfix.newaliases
And check it is correctly registered as disabled:
launchctl print-disabled system
And finally create my own one inside:
/Library/LaunchDaemons
which is:
org.postfix.master.plist
containing:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.postfix.master</string>
<key>Program</key>
<string>/usr/libexec/postfix/master</string>
<key>ProgramArguments</key>
<array>
<string>master</string>
</array>
<key>QueueDirectories</key>
<array>
<string>/Library/Server/Mail/Data/spool/maildrop</string>
</array>
<key>AbandonProcessGroup</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Topic:
App & System Services
SubTopic:
Core OS
Tags: