# phpman > man > postfix-add-policy(8)

[POSTFIX-ADD-POLICY(8)](https://www.chedong.com/phpMan.php/man/POSTFIX-ADD-POLICY/8/markdown)                  System Manager's Manual                 [POSTFIX-ADD-POLICY(8)](https://www.chedong.com/phpMan.php/man/POSTFIX-ADD-POLICY/8/markdown)



## NAME
       postfix-add-policy - add policy service to Postfix master.cf

## SYNOPSIS
       **postfix-add-policy** [_policy_ _name_...] [_username_...] [_argv_...]

## DESCRIPTION
       The  [**postfix-add-policy**(8)](https://www.chedong.com/phpMan.php/man/postfix-add-policy/8/markdown) command adds an smtp policy server named _policy_ _name_ running using
       _username_ and called as _argv_ to /etc/postfix/master.cf to facilitate integration of SMTP  pol‐
       icy  servers such as postgrey or postfix-policyd-spf-perl.  The configuration is based on the
       Postfix SMTPD_POLICY_README.  Administrators should verify it is appropriate  for  their  re‐
       quirements.

       The  original file is copied prior to modification and left in /etc/postfix to make it possi‐
       ble to revert changes easily.

       Available in the Debian package for Postfix version 2.5.3 and later.


## DIAGNOSTICS
       If the given _policy_ _name_  already appears in the master.cf, a  message  will  be  printed  to
       standard out and master.cf will not be modified.


## ENVIRONMENT
       **MAIL**___**CONFIG**
              Directory with Postfix configuration files.

              The  [**postfix-add-policy**(8)](https://www.chedong.com/phpMan.php/man/postfix-add-policy/8/markdown)  command  should use this, but it currently doesn't.  It is
              hard coded to /etc/postfix.  This should be changed.

## CONFIGURATION PARAMETERS
       None

## FILES
       /etc/postfix/master.cf

## SEE ALSO
       [postconf(5)](https://www.chedong.com/phpMan.php/man/postconf/5/markdown), Postfix configuration

## LICENSE
       This software is licensed under the MIT open source license.

**AUTHOR(S)**
       Scott Kitterman
       <<scott@kitterman.com>>



                                                                               [POSTFIX-ADD-POLICY(8)](https://www.chedong.com/phpMan.php/man/POSTFIX-ADD-POLICY/8/markdown)
