{
    "content": [
        {
            "type": "text",
            "text": "# master (man)\n\n## NAME\n\nmaster - Postfix master process\n\n## SYNOPSIS\n\nmaster [-Dditvw] [-c configdir] [-e exittime]\n\n## DESCRIPTION\n\nThe  master(8) daemon is the resident process that runs Postfix daemons on demand: daemons to\nsend or receive messages via the network, daemons to deliver mail locally, etc.   These  dae‐\nmons are created on demand up to a configurable maximum number per service.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (9 subsections)\n- **DIAGNOSTICS**\n- **ENVIRONMENT**\n- **CONFIGURATION PARAMETERS**\n- **RESOURCE AND RATE CONTROLS**\n- **MISCELLANEOUS CONTROLS**\n- **FILES**\n- **SEE ALSO**\n- **LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "master",
        "section": "",
        "mode": "man",
        "summary": "master - Postfix master process",
        "synopsis": "master [-Dditvw] [-c configdir] [-e exittime]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-c",
                "long": null,
                "arg": null,
                "description": "Read the main.cf and master.cf configuration files in the named directory instead of the default configuration directory. This also overrides the configuration files for other Postfix daemon processes."
            },
            {
                "flag": "-D",
                "long": null,
                "arg": null,
                "description": "specified with the debuggercommand in the main.cf global configuration file."
            },
            {
                "flag": "-d",
                "long": null,
                "arg": null,
                "description": "ling terminal. This must be used for debugging only."
            },
            {
                "flag": "-e",
                "long": null,
                "arg": null,
                "description": "Terminate the master process after exittime seconds. Child processes terminate at their convenience."
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "do not redirect stdout to /dev/null, so that \"maillogfile = /dev/stdout\" works. This mode is allowed only if the process ID equals 1. This feature is available in Postfix 3.3 and later."
            },
            {
                "flag": "-s",
                "long": null,
                "arg": null,
                "description": "This feature is available in Postfix 3.4 and later."
            },
            {
                "flag": "-t",
                "long": null,
                "arg": null,
                "description": "when that file is not locked. This is evidence that the master(8) daemon is not run‐ ning."
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": "cesses. Multiple -v options make the software increasingly verbose."
            },
            {
                "flag": "-w",
                "long": null,
                "arg": null,
                "description": "background process. The dummy foreground process returns a zero exit status only if the master daemon initialization is successful, and if it completes in a reasonable amount of time. This feature is available in Postfix 2.10 and later. Signals: SIGHUP Upon receipt of a HUP signal (e.g., after \"postfix reload\"), the master process re-reads its configuration files. If a service has been removed from the master.cf file, its running processes are terminated immediately. Otherwise, running processes are allowed to terminate as soon as is convenient, so that changes in configuration settings affect only new service requests. SIGTERM Upon receipt of a TERM signal (e.g., after \"postfix abort\"), the master process passes the signal on to its child processes and terminates. This is useful for an emergency shutdown. Normally one would terminate only the master (\"postfix stop\") and allow run‐ ning processes to finish what they are doing."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "qmgr",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/qmgr/8/json"
            },
            {
                "name": "verify",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/verify/8/json"
            },
            {
                "name": "postconf",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/postconf/5/json"
            },
            {
                "name": "postlogd",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/postlogd/8/json"
            },
            {
                "name": "syslogd",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/syslogd/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 14,
                "subsections": [
                    {
                        "name": "-c",
                        "lines": 4,
                        "flag": "-c"
                    },
                    {
                        "name": "-D",
                        "lines": 2,
                        "flag": "-D"
                    },
                    {
                        "name": "-d",
                        "lines": 2,
                        "flag": "-d"
                    },
                    {
                        "name": "-e",
                        "lines": 3,
                        "flag": "-e"
                    },
                    {
                        "name": "-i -s",
                        "lines": 5,
                        "flag": "-s"
                    },
                    {
                        "name": "-s",
                        "lines": 2,
                        "flag": "-s"
                    },
                    {
                        "name": "-t",
                        "lines": 3,
                        "flag": "-t"
                    },
                    {
                        "name": "-v",
                        "lines": 2,
                        "flag": "-v"
                    },
                    {
                        "name": "-w",
                        "lines": 20,
                        "flag": "-w"
                    }
                ]
            },
            {
                "name": "DIAGNOSTICS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "CONFIGURATION PARAMETERS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "RESOURCE AND RATE CONTROLS",
                "lines": 21,
                "subsections": []
            },
            {
                "name": "MISCELLANEOUS CONTROLS",
                "lines": 50,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 16,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "master - Postfix master process\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "master [-Dditvw] [-c configdir] [-e exittime]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The  master(8) daemon is the resident process that runs Postfix daemons on demand: daemons to\nsend or receive messages via the network, daemons to deliver mail locally, etc.   These  dae‐\nmons are created on demand up to a configurable maximum number per service.\n\nPostfix  daemons  terminate voluntarily, either after being idle for a configurable amount of\ntime, or after having serviced a configurable number of requests. Exceptions to this rule are\nthe  resident  queue  manager,  address  verification  server,  and the TLS session cache and\npseudo-random number server.\n\nThe behavior of the master(8) daemon is controlled by the master.cf  configuration  file,  as\ndescribed in master(5).\n\nOptions:\n",
                "subsections": [
                    {
                        "name": "-c",
                        "content": "Read  the  main.cf and master.cf configuration files in the named directory instead of\nthe default configuration directory.  This also overrides the configuration files  for\nother Postfix daemon processes.\n",
                        "flag": "-c"
                    },
                    {
                        "name": "-D",
                        "content": "specified with the debuggercommand in the main.cf global configuration file.\n",
                        "flag": "-D"
                    },
                    {
                        "name": "-d",
                        "content": "ling terminal. This must be used for debugging only.\n",
                        "flag": "-d"
                    },
                    {
                        "name": "-e",
                        "content": "Terminate  the  master  process  after exittime seconds. Child processes terminate at\ntheir convenience.\n",
                        "flag": "-e"
                    },
                    {
                        "name": "-i -s",
                        "content": "do not redirect stdout to /dev/null, so that \"maillogfile = /dev/stdout\" works.  This\nmode is allowed only if the process ID equals 1.\n\nThis feature is available in Postfix 3.3 and later.\n",
                        "flag": "-s"
                    },
                    {
                        "name": "-s",
                        "content": "This feature is available in Postfix 3.4 and later.\n",
                        "flag": "-s"
                    },
                    {
                        "name": "-t",
                        "content": "when  that file is not locked.  This is evidence that the master(8) daemon is not run‐\nning.\n",
                        "flag": "-t"
                    },
                    {
                        "name": "-v",
                        "content": "cesses. Multiple -v options make the software increasingly verbose.\n",
                        "flag": "-v"
                    },
                    {
                        "name": "-w",
                        "content": "background process.  The dummy foreground process returns a zero exit status  only  if\nthe  master  daemon  initialization is successful, and if it completes in a reasonable\namount of time.\n\nThis feature is available in Postfix 2.10 and later.\n\nSignals:\n\nSIGHUP Upon receipt of a HUP signal  (e.g.,  after  \"postfix  reload\"),  the  master  process\nre-reads  its  configuration  files.  If a service has been removed from the master.cf\nfile, its running processes are terminated immediately.  Otherwise, running  processes\nare  allowed  to  terminate as soon as is convenient, so that changes in configuration\nsettings affect only new service requests.\n\nSIGTERM\nUpon receipt of a TERM signal (e.g., after \"postfix abort\"), the master process passes\nthe  signal on to its child processes and terminates.  This is useful for an emergency\nshutdown. Normally one would terminate only the master (\"postfix stop\") and allow run‐\nning processes to finish what they are doing.\n",
                        "flag": "-w"
                    }
                ]
            },
            "DIAGNOSTICS": {
                "content": "Problems  are  reported to syslogd(8) or postlogd(8).  The exit status is non-zero in case of\nproblems, including problems while initializing as a master daemon process in the background.\n",
                "subsections": []
            },
            "ENVIRONMENT": {
                "content": "MAILDEBUG\nAfter initialization, start a debugger as specified with the debuggercommand configu‐\nration parameter in the main.cf configuration file.\n\nMAILCONFIG\nDirectory with Postfix configuration files.\n",
                "subsections": []
            },
            "CONFIGURATION PARAMETERS": {
                "content": "Unlike  most  Postfix  daemon  processes, the master(8) server does not automatically pick up\nchanges to main.cf. Changes to master.cf are never picked up automatically.  Use the \"postfix\nreload\" command after a configuration change.\n",
                "subsections": []
            },
            "RESOURCE AND RATE CONTROLS": {
                "content": "defaultprocesslimit (100)\nThe default maximal number of Postfix child processes that provide a given service.\n\nmaxidle (100s)\nThe  maximum  amount of time that an idle Postfix daemon process waits for an incoming\nconnection before terminating voluntarily.\n\nmaxuse (100)\nThe maximal number of incoming connections that a Postfix daemon process will  service\nbefore terminating voluntarily.\n\nservicethrottletime (60s)\nHow  long  the Postfix master(8) waits before forking a server that appears to be mal‐\nfunctioning.\n\nAvailable in Postfix version 2.6 and later:\n\nmasterservicedisable (empty)\nSelectively disable master(8) listener ports by service type or by  service  name  and\ntype.\n",
                "subsections": []
            },
            "MISCELLANEOUS CONTROLS": {
                "content": "configdirectory (see 'postconf -d' output)\nThe default location of the Postfix main.cf and master.cf configuration files.\n\ndaemondirectory (see 'postconf -d' output)\nThe directory with Postfix support programs and daemon programs.\n\ndebuggercommand (empty)\nThe  external  command to execute when a Postfix daemon program is invoked with the -D\noption.\n\ninetinterfaces (all)\nThe network interface addresses that this mail system receives mail on.\n\ninetprotocols (see 'postconf -d output')\nThe Internet protocols Postfix will attempt to use when making  or  accepting  connec‐\ntions.\n\nimportenvironment (see 'postconf -d' output)\nThe  list of environment parameters that a privileged Postfix process will import from\na non-Postfix parent process, or name=value environment overrides.\n\nmailowner (postfix)\nThe UNIX system account that owns the Postfix queue and most Postfix daemon processes.\n\nprocessid (read-only)\nThe process ID of a Postfix command or daemon process.\n\nprocessname (read-only)\nThe process name of a Postfix command or daemon process.\n\nqueuedirectory (see 'postconf -d' output)\nThe location of the Postfix top-level queue directory.\n\nsyslogfacility (mail)\nThe syslog facility of Postfix logging.\n\nsyslogname (see 'postconf -d' output)\nA prefix that is prepended to the process name in syslog records, so that,  for  exam‐\nple, \"smtpd\" becomes \"prefix/smtpd\".\n\nAvailable in Postfix 3.3 and later:\n\nservicename (read-only)\nThe master.cf service name of a Postfix daemon process.\n\nAvailable in Postfix 3.6 and later:\n\nknowntcpports (lmtp=24, smtp=25, smtps=submissions=465, submission=587)\nOptional setting that avoids lookups in the services(5) database.\n",
                "subsections": []
            },
            "FILES": {
                "content": "To  expand the directory names below into their actual values, use the command \"postconf con‐‐\nfigdirectory\" etc.\n\n$configdirectory/main.cf, global configuration file.\n$configdirectory/master.cf, master server configuration file.\n$queuedirectory/pid/master.pid, master lock file.\n$datadirectory/master.lock, master lock file.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "qmgr(8), queue manager\nverify(8), address verification\nmaster(5), master.cf configuration file syntax\npostconf(5), main.cf configuration file syntax\npostlogd(8), Postfix logging\nsyslogd(8), system logging\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "The Secure Mailer license must be distributed with this software.\n\nAUTHOR(S)\nWietse Venema\nIBM T.J. Watson Research\nP.O. Box 704\nYorktown Heights, NY 10598, USA\n\nWietse Venema\nGoogle, Inc.\n111 8th Avenue\nNew York, NY 10011, USA\n\n\n\nMASTER(8postfix)",
                "subsections": []
            }
        }
    }
}