postfix-add-policy --version (return code: 0)
To add a new policy service to your master.cf:
% sudo postfix-policy-add {policy service name} {user} {file (full path)}
Example:
% sudo postfix-policy-add policyd noboby /usr/bin/policyd
Adds the following to master.cf:
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
# Added using postfix-add-policy script:
policyd unix - n n - 0 spawn
user=nobody argv=/usr/bin/policyd
To output this usage message:
% postfix-add-policy
postfix-add-policy --help (return code: 0)
To add a new policy service to your master.cf:
% sudo postfix-policy-add {policy service name} {user} {file (full path)}
Example:
% sudo postfix-policy-add policyd noboby /usr/bin/policyd
Adds the following to master.cf:
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
# Added using postfix-add-policy script:
policyd unix - n n - 0 spawn
user=nobody argv=/usr/bin/policyd
To output this usage message:
% postfix-add-policy