{
    "mode": "man",
    "parameter": "postfix-add-policy",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/postfix-add-policy/8/json",
    "generated": "2026-06-15T14:27:10Z",
    "synopsis": "postfix-add-policy [policy name...] [username...] [argv...]",
    "sections": {
        "NAME": {
            "content": "postfix-add-policy - add policy service to Postfix master.cf\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "postfix-add-policy [policy name...] [username...] [argv...]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The  postfix-add-policy(8) command adds an smtp policy server named policy name running using\nusername and called as argv to /etc/postfix/master.cf to facilitate integration of SMTP  pol‐\nicy  servers such as postgrey or postfix-policyd-spf-perl.  The configuration is based on the\nPostfix SMTPDPOLICYREADME.  Administrators should verify it is appropriate  for  their  re‐\nquirements.\n\nThe  original file is copied prior to modification and left in /etc/postfix to make it possi‐\nble to revert changes easily.\n\nAvailable in the Debian package for Postfix version 2.5.3 and later.\n\n",
            "subsections": []
        },
        "DIAGNOSTICS": {
            "content": "If the given policy name  already appears in the master.cf, a  message  will  be  printed  to\nstandard out and master.cf will not be modified.\n\n",
            "subsections": []
        },
        "ENVIRONMENT": {
            "content": "MAILCONFIG\nDirectory with Postfix configuration files.\n\nThe  postfix-add-policy(8)  command  should use this, but it currently doesn't.  It is\nhard coded to /etc/postfix.  This should be changed.\n",
            "subsections": []
        },
        "CONFIGURATION PARAMETERS": {
            "content": "None\n",
            "subsections": []
        },
        "FILES": {
            "content": "/etc/postfix/master.cf\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "postconf(5), Postfix configuration\n",
            "subsections": []
        },
        "LICENSE": {
            "content": "This software is licensed under the MIT open source license.\n\nAUTHOR(S)\nScott Kitterman\n<scott@kitterman.com>\n\n\n\nPOSTFIX-ADD-POLICY(8)",
            "subsections": []
        }
    },
    "summary": "postfix-add-policy - add policy service to Postfix master.cf",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "postconf",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/postconf/5/json"
        }
    ]
}