postfix-add-policy(8)

postfix-add-policy8

Add policy service to postfix master.cf

Usage

postfix-add-policy [policy name ...] [username ...] [argv ...]

Overview

The postfix-add-policy(8) 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 policy 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 requirements.

The original file is copied prior to modification and left in /etc/postfix to make it possible 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) 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

Author(s)

Scott Kitterman
<[email protected]>

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0–10
  2. 11–13

License


    

    
        

This software is licensed under the MIT open source license.

From postfix 3.10.13-0+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.