> On 2019-11-12 13:08, Wietse Venema wrote:
>
> Fourhundred Thecat:
>> If I am using simplest possible setup (single instance, no chroot), and
>> I don't delete queue directories, can I simply skip postfix-script and
>> post-install and start master directly from /etc/init.d/postfix, ie ?
>>
>>   /usr/lib/postfix/sbin/master &
>>
>> What exactly will I miss ?
>
> This is not supported. Only the postfix+postfix-script start/stop/etc
> sequence is supported.

fair enough.

I am not so much looking for support with non-standard solutions. I am
just trying to understand the logic behind the startup process.

Such as, why post-install needs to be run at each start to "create
missing queue directories", and check if permissions correspond to those
defined in /etc/postfix/postfix-files

Why should these be missing in the first place ? Unless somebody deleted
them deliberately, are there other situations where queue directories
might go missing ?

I can read the scripts themselves, and try to understand what they are
doing. But the scripts don't explain the logic behind those decisions,
and the motivation.

Also, why use this complicated cascade to star master?

/etc/init.d/postfix
  -> /usr/sbin/postfix
    -> postfix-script
      -> post-install
        -> /usr/lib/postfix/sbin/master

surely, somebody has thought about these design decisions, and chose
this approach over other alternatives.

Reply via email to