Heya Folks,

When managing the master.cf file with postconf, specific services requiring
additional options not using "-o" fail.

I want to have an end state of:
policyd-spf  unix  -       n       n       -       0       spawn
    user=policyd-spf argv=/usr/bin/policyd-spf

Currently I can create the service:
$ postconf -M 'policyd-spf/unix=policyd-spf unix - n n - 0 spawn'

But attempting to add additional args not using "-o" fails:
$ postconf -M 'policyd-spf/unix=policyd-spf unix - n n - 0 spawn'
$ postconf -P 'policyd-spf/unix/user=policyd-spf argv=/usr/bin/policyd-spf'
postconf: fatal: -Pe does not accept whitespace in parameter value

My search-foo may be weak today, but I was unable to find much about using
postconf with non "-o" options online.

Expectation:
I expect that running the above command will insert the non "-o" options
for the specified service, without the whitespace errors; enabling the use
of postconf for complete master.cf management. This applies to services
such as policyd-spf as well as a bunch of default defined services (ifmail,
bmstp, maildrop, uucp, scalemail).

This prevents actually managing master.cf solely using the postconf tool.
Is this a bug or am I missing something here?

OS/Version context:
$ postconf mail_version
mail_version = 3.5.6
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";

Reply via email to