{
    "mode": "man",
    "parameter": "postfix-add-filter",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/postfix-add-filter/8/json",
    "generated": "2026-06-03T01:36:41Z",
    "synopsis": "postfix-add-filter [smtp service name...] [smtpd port...]",
    "sections": {
        "NAME": {
            "content": "postfix-add-filter - add filter service to Postfix master.cf\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "postfix-add-filter [smtp service name...] [smtpd port...]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The  postfix-add-filter(8)  command adds an smtp service named smtp service name and an smtpd\nserver listening on smtpd port to /etc/postfix/master.cf to facilitate  integration  of  SMTP\nfilters  such  as amavisd-new or clamsmtp.  The configuration is based on the upstream recom‐\nmendations for amavisd-new 2.6.0.  Administrators should verify it is appropriate  for  their\nrequirements.\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 smtp service name or smtpd port already appear in the master.cf, a message  will\nbe printed to standard out and master.cf will not be modified.\n\n",
            "subsections": []
        },
        "ENVIRONMENT": {
            "content": "MAILCONFIG\nDirectory with Postfix configuration files.\n\nThe  postfix-add-filter(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-FILTER(8)",
            "subsections": []
        }
    },
    "summary": "postfix-add-filter - add filter service to Postfix master.cf",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "postconf",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/postconf/5/json"
        }
    ]
}