Hi all,

We are hardening our services and would like to run postfix as a
non-root user. All our primary services, including postfix run as
docker containers. We use postfix as a forwarding agent only: mail is
delivered from the other services to postfix and then forwarded to
another MTA. Because postfix runs inside a docker container, we are
not bound by the default smtp port. It is very easy to map port for
example 8025 to port 25 via docker. Still, postfix refuses to start as
non-root. It seems the postfix command has an explicit check to refuse
to start when not root.

My question is: is there any way to start the forwarding agent as
non-root? If not, are there any plans to support this in a future
release?

Best regards,
Emond Papegaaij

Reply via email to