Usually it's a mistake to test if the user is root. POSIX does not even require a root user.
source: <https://stackoverflow.com/questions/4159910/check-if-user-is-root-in-c>
On 30-09-18 19:36, Viktor Dukhovni wrote:
Postfix documentation is not the POSIX specification. On systems that deviate from longstanding standard practice, the administrator can expect some friction due to violated assumptions.