{
    "content": [
        {
            "type": "text",
            "text": "# local (man)\n\n## NAME\n\nlocal - Postfix local mail delivery\n\n## SYNOPSIS\n\nlocal [generic Postfix daemon options]\n\n## DESCRIPTION\n\nThe  local(8)  daemon  processes  delivery requests from the Postfix queue manager to deliver\nmail to local recipients.  Each delivery request specifies a queue file, a sender address,  a\ndomain  or  host  to  deliver to, and one or more recipients.  This program expects to be run\nfrom the master(8) process manager.\n\n## TLDR\n\n> Declare local variables and give them attributes.\n\n- Declare a string variable with the specified value:\n  `local {{variable}}=\"{{value}}\"`\n- Declare an integer variable with the specified value:\n  `local -i {{variable}}=\"{{value}}\"`\n- Declare an array variable with the specified value:\n  `local {{variable}}=({{item_a item_b item_c}})`\n- Declare an associative array variable with the specified value:\n  `local -A {{variable}}=({{key_a]=item_a [key_b]=item_b [key_c]=item_c}})`\n- Declare a readonly variable with the specified value:\n  `local -r {{variable}}=\"{{value}}\"`\n- Display help:\n  `local --help`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **CASE FOLDING**\n- **SYSTEM-WIDE AND USER-LEVEL ALIASING**\n- **MAIL FORWARDING**\n- **MAILBOX DELIVERY**\n- **EXTERNAL COMMAND DELIVERY**\n- **EXTERNAL FILE DELIVERY**\n- **ADDRESS EXTENSION**\n- **DELIVERY RIGHTS**\n- **STANDARDS**\n- **DIAGNOSTICS**\n- **SECURITY**\n- **BUGS**\n- **CONFIGURATION PARAMETERS**\n- **COMPATIBILITY CONTROLS** (1 subsections)\n- **DELIVERY METHOD CONTROLS**\n- **MAILBOX LOCKING CONTROLS**\n- **RESOURCE AND RATE CONTROLS**\n- **SECURITY CONTROLS**\n- **MISCELLANEOUS CONTROLS**\n- **FILES**\n- **SEE ALSO**\n- **LICENSE**\n- **HISTORY**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "local",
        "section": "",
        "mode": "man",
        "summary": "local - Postfix local mail delivery",
        "synopsis": "local [generic Postfix daemon options]",
        "tldr_summary": "Declare local variables and give them attributes.",
        "tldr_examples": [
            {
                "description": "Declare a string variable with the specified value",
                "command": "local {{variable}}=\"{{value}}\""
            },
            {
                "description": "Declare an integer variable with the specified value",
                "command": "local -i {{variable}}=\"{{value}}\""
            },
            {
                "description": "Declare an array variable with the specified value",
                "command": "local {{variable}}=({{item_a item_b item_c}})"
            },
            {
                "description": "Declare an associative array variable with the specified value",
                "command": "local -A {{variable}}=({{key_a]=item_a [key_b]=item_b [key_c]=item_c}})"
            },
            {
                "description": "Declare a readonly variable with the specified value",
                "command": "local -r {{variable}}=\"{{value}}\""
            },
            {
                "description": "Display help",
                "command": "local --help"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "qmgr",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/qmgr/8/json"
            },
            {
                "name": "bounce",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/bounce/8/json"
            },
            {
                "name": "newaliases",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/newaliases/1/json"
            },
            {
                "name": "postalias",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/postalias/1/json"
            },
            {
                "name": "aliases",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/aliases/5/json"
            },
            {
                "name": "postconf",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/postconf/5/json"
            },
            {
                "name": "master",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/master/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": 9,
                "subsections": []
            },
            {
                "name": "CASE FOLDING",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYSTEM-WIDE AND USER-LEVEL ALIASING",
                "lines": 38,
                "subsections": []
            },
            {
                "name": "MAIL FORWARDING",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "MAILBOX DELIVERY",
                "lines": 33,
                "subsections": []
            },
            {
                "name": "EXTERNAL COMMAND DELIVERY",
                "lines": 97,
                "subsections": []
            },
            {
                "name": "EXTERNAL FILE DELIVERY",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "ADDRESS EXTENSION",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DELIVERY RIGHTS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "STANDARDS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DIAGNOSTICS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SECURITY",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "CONFIGURATION PARAMETERS",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "COMPATIBILITY CONTROLS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "biff (yes)",
                        "lines": 36
                    }
                ]
            },
            {
                "name": "DELIVERY METHOD CONTROLS",
                "lines": 52,
                "subsections": []
            },
            {
                "name": "MAILBOX LOCKING CONTROLS",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "RESOURCE AND RATE CONTROLS",
                "lines": 23,
                "subsections": []
            },
            {
                "name": "SECURITY CONTROLS",
                "lines": 29,
                "subsections": []
            },
            {
                "name": "MISCELLANEOUS CONTROLS",
                "lines": 76,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "HISTORY",
                "lines": 18,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "local - Postfix local mail delivery\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "local [generic Postfix daemon options]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The  local(8)  daemon  processes  delivery requests from the Postfix queue manager to deliver\nmail to local recipients.  Each delivery request specifies a queue file, a sender address,  a\ndomain  or  host  to  deliver to, and one or more recipients.  This program expects to be run\nfrom the master(8) process manager.\n\nThe local(8) daemon updates queue files and marks recipients as finished, or it  informs  the\nqueue  manager  that  delivery should be tried again at a later time. Delivery status reports\nare sent to the bounce(8), defer(8) or trace(8) daemon as appropriate.\n",
                "subsections": []
            },
            "CASE FOLDING": {
                "content": "All delivery decisions are made using the bare recipient name (i.e. the  address  localpart),\nfolded to lower case.  See also under ADDRESS EXTENSION below for a few exceptions.\n",
                "subsections": []
            },
            "SYSTEM-WIDE AND USER-LEVEL ALIASING": {
                "content": "The  system  administrator can set up one or more system-wide sendmail-style alias databases.\nUsers can have sendmail-style ~/.forward files.  Mail for name  is  delivered  to  the  alias\nname, to destinations in ~name/.forward, to the mailbox owned by the user name, or it is sent\nback as undeliverable.\n\nThe system administrator can specify a comma/space separated list of  ~/.forward  like  files\nthrough  the  forwardpath  configuration  parameter. Upon delivery, the local delivery agent\ntries each pathname in the list until a file is found.\n\nDelivery via ~/.forward files is done with the privileges of the recipient.  Thus, ~/.forward\nlike  files must be readable by the recipient, and their parent directory needs to have \"exe‐\ncute\" permission for the recipient.\n\nThe forwardpath parameter is subject to interpolation of $user (recipient  username),  $home\n(recipient  home  directory),  $shell  (recipient  shell), $recipient (complete recipient ad‐\ndress), $extension (recipient address extension), $domain (recipient domain), $local  (entire\nrecipient   address   localpart)   and  $recipientdelimiter.  The  forms  ${name?value}  and\n${name:value} expand conditionally to value when $name is (is not) defined.  Characters  that\nmay  have  special meaning to the shell or file system are replaced by underscores.  The list\nof acceptable characters is specified with the forwardexpansionfilter configuration parame‐\nter.\n\nAn  alias  or ~/.forward file may list any combination of external commands, destination file\nnames, :include: directives, or mail addresses.  See aliases(5) for  a  precise  description.\nEach line in a user's .forward file has the same syntax as the right-hand part of an alias.\n\nWhen  an  address  is found in its own alias expansion, delivery is made to the user instead.\nWhen a user is listed in the user's own ~/.forward file, delivery is made to the user's mail‐\nbox instead.  An empty ~/.forward file means do not forward mail.\n\nIn  order  to  prevent  the  mail  system from using up unreasonable amounts of memory, input\nrecords read from :include: or from ~/.forward files are broken  up  into  chunks  of  length\nlinelengthlimit.\n\nWhile expanding aliases, ~/.forward files, and so on, the program attempts to avoid duplicate\ndeliveries. The duplicatefilterlimit configuration parameter limits the  number  of  remem‐\nbered recipients.\n",
                "subsections": []
            },
            "MAIL FORWARDING": {
                "content": "For  the  sake  of reliability, forwarded mail is re-submitted as a new message, so that each\nrecipient has a separate on-file delivery status record.\n\nIn order to stop mail forwarding loops early, the software  adds  an  optional  Delivered-To:\nheader with the final envelope recipient address. If mail arrives for a recipient that is al‐\nready listed in a Delivered-To: header, the message is bounced.\n",
                "subsections": []
            },
            "MAILBOX DELIVERY": {
                "content": "The default per-user mailbox is a file in the UNIX mail spool  directory  (/var/mail/user  or\n/var/spool/mail/user); the location can be specified with the mailspooldirectory configura‐\ntion parameter. Specify a name ending in / for qmail-compatible maildir delivery.\n\nAlternatively, the per-user mailbox can be a file in the user's home directory  with  a  name\nspecified via the homemailbox configuration parameter. Specify a relative path name. Specify\na name ending in / for qmail-compatible maildir delivery.\n\nMailbox delivery can be delegated to an external  command  specified  with  the  mailboxcom‐‐\nmandmaps  and mailboxcommand configuration parameters. The command executes with the privi‐\nleges of the recipient user (exceptions: secondary groups are not enabled; in case of  deliv‐\nery as root, the command executes with the privileges of defaultprivs).\n\nMailbox  delivery  can  be  delegated to alternative message transports specified in the mas‐‐\nter.cf file.  The mailboxtransportmaps and mailboxtransport configuration parameters spec‐\nify  an optional message transport that is to be used for all local recipients, regardless of\nwhether they are found in the UNIX passwd database.  The  fallbacktransportmaps  and  fall‐‐\nbacktransport  parameters  specify an optional message transport for recipients that are not\nfound in the aliases(5) or UNIX passwd database.\n\nIn the case of UNIX-style mailbox delivery, the  local(8)  daemon  prepends  a  \"From  sender\ntimestamp\"  envelope  header to each message, prepends an X-Original-To: header with the re‐\ncipient address as given to Postfix, prepends an optional Delivered-To: header with the final\nenvelope  recipient address, prepends a Return-Path: header with the envelope sender address,\nprepends a > character to lines beginning with \"From \", and appends an empty line.  The mail‐\nbox is locked for exclusive access while delivery is in progress. In case of problems, an at‐\ntempt is made to truncate the mailbox to its original length.\n\nIn the case of maildir delivery, the local daemon prepends an optional  Delivered-To:  header\nwith the final envelope recipient address, prepends an X-Original-To: header with the recipi‐\nent address as given to Postfix, and prepends a Return-Path: header with the envelope  sender\naddress.\n",
                "subsections": []
            },
            "EXTERNAL COMMAND DELIVERY": {
                "content": "The  allowmailtocommands  configuration parameter restricts delivery to external commands.\nThe default setting (alias, forward) forbids command destinations in :include: files.\n\nOptionally, the process working directory is changed to the path specified with  commandexe‐‐\ncutiondirectory  (Postfix  2.2 and later). Failure to change directory causes mail to be de‐\nferred.\n\nThe commandexecutiondirectory parameter value is subject to interpolation of $user (recipi‐\nent  username),  $home (recipient home directory), $shell (recipient shell), $recipient (com‐\nplete recipient address), $extension (recipient address extension),  $domain  (recipient  do‐\nmain),  $local  (entire  recipient  address  localpart)  and $recipientdelimiter.  The forms\n${name?value} and ${name:value} expand conditionally to value when $name is (is not) defined.\nCharacters  that  may have special meaning to the shell or file system are replaced by under‐\nscores.  The list of acceptable characters is specified with  the  executiondirectoryexpan‐‐\nsionfilter configuration parameter.\n\nThe  command  is  executed  directly where possible. Assistance by the shell (/bin/sh on UNIX\nsystems) is used only when the command contains shell magic characters, or when  the  command\ninvokes a shell built-in command.\n\nA  limited  amount of command output (standard output and standard error) is captured for in‐\nclusion with non-delivery status reports.  A command is forcibly terminated if  it  does  not\ncomplete within commandtimelimit seconds.  Command exit status codes are expected to follow\nthe conventions defined in <sysexits.h>.  Exit status 0 means normal successful completion.\n\nPostfix version 2.3 and later support RFC 3463-style enhanced status  codes.   If  a  command\nterminates with a non-zero exit status, and the command output begins with an enhanced status\ncode, this status code takes precedence over the non-zero exit status.\n\nA limited amount of message context is exported via environment  variables.  Characters  that\nmay  have  special  meaning to the shell are replaced by underscores.  The list of acceptable\ncharacters is specified with the commandexpansionfilter configuration parameter.\n\nSHELL  The recipient user's login shell.\n\nHOME   The recipient user's home directory.\n\nUSER   The bare recipient name.\n\nEXTENSION\nThe optional recipient address extension.\n\nDOMAIN The recipient address domain part.\n\nLOGNAME\nThe bare recipient name.\n\nLOCAL  The entire recipient address localpart (text to the left of the  rightmost  @  charac‐\nter).\n\nORIGINALRECIPIENT\nThe  entire  recipient  address, before any address rewriting or aliasing (Postfix 2.5\nand later).\n\nRECIPIENT\nThe entire recipient address.\n\nSENDER The entire sender address.\n\nAdditional remote client information is made available via the  following  environment  vari‐\nables:\n\nCLIENTADDRESS\nRemote client network address. Available as of Postfix 2.2.\n\nCLIENTHELO\nRemote client EHLO command parameter. Available as of Postfix 2.2.\n\nCLIENTHOSTNAME\nRemote client hostname. Available as of Postfix 2.2.\n\nCLIENTPROTOCOL\nRemote client protocol. Available as of Postfix 2.2.\n\nSASLMETHOD\nSASL  authentication  method specified in the remote client AUTH command. Available as\nof Postfix 2.2.\n\nSASLSENDER\nSASL sender address specified in the remote client MAIL FROM command. Available as  of\nPostfix 2.2.\n\nSASLUSERNAME\nSASL  username  specified  in the remote client AUTH command.  Available as of Postfix\n2.2.\n\nThe PATH environment variable is always reset to a system-dependent default path,  and  envi‐\nronment  variables  whose names are blessed by the exportenvironment configuration parameter\nare exported unchanged.\n\nThe current working directory is the mail queue directory.\n\nThe local(8) daemon prepends a \"From sender timestamp\"  envelope  header  to  each  message,\nprepends an X-Original-To: header with the recipient address as given to Postfix, prepends an\noptional Delivered-To: header with the final  recipient  envelope  address,  prepends  a  Re‐‐\nturn-Path: header with the sender envelope address, and appends no empty line.\n",
                "subsections": []
            },
            "EXTERNAL FILE DELIVERY": {
                "content": "The  delivery  format  depends  on  the  destination  filename syntax.  The default is to use\nUNIX-style mailbox format.  Specify a name ending in / for qmail-compatible maildir delivery.\n\nThe allowmailtofiles configuration parameter restricts delivery to external files. The de‐\nfault setting (alias, forward) forbids file destinations in :include: files.\n\nIn  the  case  of  UNIX-style  mailbox  delivery, the local(8) daemon prepends a \"From sender\ntimestamp\" envelope header to each message, prepends an X-Original-To: header with  the  re‐\ncipient address as given to Postfix, prepends an optional Delivered-To: header with the final\nrecipient envelope address, prepends a > character to lines beginning with \"From \",  and  ap‐\npends  an  empty  line.  The envelope sender address is available in the Return-Path: header.\nWhen the destination is a regular file, it is locked for exclusive access while  delivery  is\nin progress. In case of problems, an attempt is made to truncate a regular file to its origi‐\nnal length.\n\nIn the case of maildir delivery, the local daemon prepends an optional  Delivered-To:  header\nwith the final envelope recipient address, and prepends an X-Original-To: header with the re‐\ncipient address as given to Postfix.  The envelope sender address is  available  in  the  Re‐‐\nturn-Path: header.\n",
                "subsections": []
            },
            "ADDRESS EXTENSION": {
                "content": "The  optional  recipientdelimiter  configuration parameter specifies how to separate address\nextensions from local recipient names.\n\nFor example, with \"recipientdelimiter = +\", mail for name+foo  is  delivered  to  the  alias\nname+foo  or  to  the  alias  name,  to  the  destinations listed in ~name/.forward+foo or in\n~name/.forward, to the mailbox owned by the user name, or it is sent back as undeliverable.\n",
                "subsections": []
            },
            "DELIVERY RIGHTS": {
                "content": "Deliveries to external files and external commands are made with the rights of the  receiving\nuser  on  whose  behalf the delivery is made.  In the absence of a user context, the local(8)\ndaemon uses the owner rights of the :include: file or alias database.  When those  files  are\nowned  by  the  superuser,  delivery is made with the rights specified with the defaultprivs\nconfiguration parameter.\n",
                "subsections": []
            },
            "STANDARDS": {
                "content": "RFC 822 (ARPA Internet Text Messages)\nRFC 3463 (Enhanced status codes)\n",
                "subsections": []
            },
            "DIAGNOSTICS": {
                "content": "Problems and transactions are logged to syslogd(8) or postlogd(8).  Corrupted  message  files\nare marked so that the queue manager can move them to the corrupt queue afterwards.\n\nDepending  on  the  setting  of  the  notifyclasses parameter, the postmaster is notified of\nbounces and of other trouble.\n",
                "subsections": []
            },
            "SECURITY": {
                "content": "The local(8) delivery agent needs a dual personality 1) to access the private  Postfix  queue\nand  IPC mechanisms, 2) to impersonate the recipient and deliver to recipient-specified files\nor commands. It is therefore security sensitive.\n\nThe local(8)  delivery  agent  disallows  regular  expression  substitution  of  $1  etc.  in\naliasmaps, because that would open a security hole.\n\nThe  local(8)  delivery  agent  will  silently  ignore requests to use the proxymap(8) server\nwithin aliasmaps. Instead it will open the table directly.  Before Postfix version 2.2,  the\nlocal(8) delivery agent will terminate with a fatal error.\n",
                "subsections": []
            },
            "BUGS": {
                "content": "For  security  reasons, the message delivery status of external commands or of external files\nis never checkpointed to file. As a result, the program may occasionally  deliver  more  than\nonce to a command or external file. Better safe than sorry.\n\nMutually-recursive  aliases  or  ~/.forward files are not detected early.  The resulting mail\nforwarding loop is broken by the use of the Delivered-To: message header.\n",
                "subsections": []
            },
            "CONFIGURATION PARAMETERS": {
                "content": "Changes to main.cf are picked up automatically, as local(8) processes run for only a  limited\namount of time. Use the command \"postfix reload\" to speed up a change.\n\nThe  text below provides only a parameter summary. See postconf(5) for more details including\nexamples.\n",
                "subsections": []
            },
            "COMPATIBILITY CONTROLS": {
                "content": "",
                "subsections": [
                    {
                        "name": "biff (yes)",
                        "content": "Whether or not to use the local biff service.\n\nexpandowneralias (no)\nWhen delivering to an alias \"aliasname\" that has an \"owner-aliasname\" companion alias,\nset the envelope sender address to the expansion of the \"owner-aliasname\" alias.\n\nownerrequestspecial (yes)\nEnable  special treatment for owner-listname entries in the aliases(5) file, and don't\nsplit owner-listname and listname-request address localparts when the recipientdelim‐\niter is set to \"-\".\n\nsunmailtoolcompatibility (no)\nObsolete SUN mailtool compatibility feature.\n\nAvailable in Postfix version 2.3 and later:\n\nfrozendeliveredto (yes)\nUpdate   the  local(8)  delivery  agent's  idea  of  the  Delivered-To:  address  (see\nprependdeliveredheader) only once, at the start of a delivery attempt; do not update\nthe Delivered-To: address while expanding aliases or .forward files.\n\nAvailable in Postfix version 2.5.3 and later:\n\nstrictmailboxownership (yes)\nDefer delivery when a mailbox file is not owned by its recipient.\n\nresetowneralias (no)\nReset the local(8) delivery agent's idea of the owner-alias attribute, when delivering\nmail to a child alias that does not have its own owner alias.\n\nAvailable in Postfix version 3.0 and later:\n\nlocaldeliverystatusfilter ($defaultdeliverystatusfilter)\nOptional filter for the local(8) delivery agent to change the status code or  explana‐\ntory text of successful or unsuccessful deliveries.\n"
                    }
                ]
            },
            "DELIVERY METHOD CONTROLS": {
                "content": "The  precedence  of  local(8)  delivery methods from high to low is: aliases, .forward files,\nmailboxtransportmaps, mailboxtransport, mailboxcommandmaps, mailboxcommand,  homemail‐\nbox, mailspooldirectory, fallbacktransportmaps, fallbacktransport, and luserrelay.\n\naliasmaps (see 'postconf -d' output)\nThe alias databases that are used for local(8) delivery.\n\nforwardpath (see 'postconf -d' output)\nThe  local(8)  delivery agent search list for finding a .forward file with user-speci‐\nfied delivery methods.\n\nmailboxtransportmaps (empty)\nOptional lookup tables with per-recipient message delivery transports to use  for  lo‐‐\ncal(8)  mailbox  delivery,  whether or not the recipients are found in the UNIX passwd\ndatabase.\n\nmailboxtransport (empty)\nOptional message delivery transport that the local(8) delivery agent  should  use  for\nmailbox  delivery  to  all local recipients, whether or not they are found in the UNIX\npasswd database.\n\nmailboxcommandmaps (empty)\nOptional lookup tables with per-recipient external commands to use for local(8)  mail‐\nbox delivery.\n\nmailboxcommand (empty)\nOptional  external command that the local(8) delivery agent should use for mailbox de‐\nlivery.\n\nhomemailbox (empty)\nOptional pathname of a mailbox file relative to a local(8) user's home directory.\n\nmailspooldirectory (see 'postconf -d' output)\nThe directory where local(8) UNIX-style mailboxes are kept.\n\nfallbacktransportmaps (empty)\nOptional lookup tables with per-recipient message delivery transports  for  recipients\nthat  the  local(8)  delivery  agent could not find in the aliases(5) or UNIX password\ndatabase.\n\nfallbacktransport (empty)\nOptional message delivery transport that the local(8) delivery agent  should  use  for\nnames that are not found in the aliases(5) or UNIX password database.\n\nluserrelay (empty)\nOptional catch-all destination for unknown local(8) recipients.\n\nAvailable in Postfix version 2.2 and later:\n\ncommandexecutiondirectory (empty)\nThe local(8) delivery agent working directory for delivery to external command.\n",
                "subsections": []
            },
            "MAILBOX LOCKING CONTROLS": {
                "content": "deliverlockattempts (20)\nThe  maximal  number  of  attempts  to  acquire an exclusive lock on a mailbox file or\nbounce(8) logfile.\n\ndeliverlockdelay (1s)\nThe time between attempts to acquire an exclusive lock on a mailbox file or  bounce(8)\nlogfile.\n\nstalelocktime (500s)\nThe time after which a stale exclusive mailbox lockfile is removed.\n\nmailboxdeliverylock (see 'postconf -d' output)\nHow to lock a UNIX-style local(8) mailbox before attempting delivery.\n",
                "subsections": []
            },
            "RESOURCE AND RATE CONTROLS": {
                "content": "commandtimelimit (1000s)\nTime limit for delivery to external commands.\n\nduplicatefilterlimit (1000)\nThe  maximal  number  of  addresses  remembered  by  the  address duplicate filter for\naliases(5) or virtual(5) alias expansion, or for showq(8) queue displays.\n\nmailboxsizelimit (51200000)\nThe maximal size of any local(8) individual mailbox  or  maildir  file,  or  zero  (no\nlimit).\n\nImplemented in the qmgr(8) daemon:\n\nlocaldestinationconcurrencylimit (2)\nThe maximal number of parallel deliveries via the local mail delivery transport to the\nsame recipient (when \"localdestinationrecipientlimit = 1\") or the maximal number of\nparallel  deliveries to the same local domain (when \"localdestinationrecipientlimit\n> 1\").\n\nlocaldestinationrecipientlimit (1)\nThe maximal number of recipients per message delivery  via  the  local  mail  delivery\ntransport.\n",
                "subsections": []
            },
            "SECURITY CONTROLS": {
                "content": "allowmailtocommands (alias, forward)\nRestrict local(8) mail delivery to external commands.\n\nallowmailtofiles (alias, forward)\nRestrict local(8) mail delivery to external files.\n\ncommandexpansionfilter (see 'postconf -d' output)\nRestrict the characters that the local(8) delivery agent allows in $name expansions of\n$mailboxcommand and $commandexecutiondirectory.\n\ndefaultprivs (nobody)\nThe default rights used by the local(8) delivery agent for delivery to  external  file\nor command.\n\nforwardexpansionfilter (see 'postconf -d' output)\nRestrict the characters that the local(8) delivery agent allows in $name expansions of\n$forwardpath.\n\nAvailable in Postfix version 2.2 and later:\n\nexecutiondirectoryexpansionfilter (see 'postconf -d' output)\nRestrict the characters that the local(8) delivery agent allows in $name expansions of\n$commandexecutiondirectory.\n\nAvailable in Postfix version 2.5.3 and later:\n\nstrictmailboxownership (yes)\nDefer delivery when a mailbox file is not owned by its recipient.\n",
                "subsections": []
            },
            "MISCELLANEOUS CONTROLS": {
                "content": "configdirectory (see 'postconf -d' output)\nThe default location of the Postfix main.cf and master.cf configuration files.\n\ndaemontimeout (18000s)\nHow  much time a Postfix daemon process may take to handle a request before it is ter‐\nminated by a built-in watchdog timer.\n\ndelayloggingresolutionlimit (2)\nThe maximal number of digits after the decimal point  when  logging  sub-second  delay\nvalues.\n\nexportenvironment (see 'postconf -d' output)\nThe  list  of  environment variables that a Postfix process will export to non-Postfix\nprocesses.\n\nipctimeout (3600s)\nThe time limit for sending or receiving information  over  an  internal  communication\nchannel.\n\nlocalcommandshell (empty)\nOptional shell program for local(8) delivery to non-Postfix command.\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\nprependdeliveredheader (command, file, forward)\nThe message delivery contexts where the Postfix local(8) delivery agent prepends a De‐\nlivered-To:  message header with the address that the mail was delivered to.\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\npropagateunmatchedextensions (canonical, virtual)\nWhat address lookup tables copy an address extension from the lookup key to the lookup\nresult.\n\nqueuedirectory (see 'postconf -d' output)\nThe location of the Postfix top-level queue directory.\n\nrecipientdelimiter (empty)\nThe  set  of  characters  that  can  separate a user name from its extension (example:\nuser+foo), or a .forward file name from its extension (example: .forward+foo).\n\nrequirehomedirectory (no)\nRequire that a local(8) recipient's home directory exists before mail delivery is  at‐\ntempted.\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 version 3.3 and later:\n\nenableoriginalrecipient (yes)\nEnable support for the original recipient address after an address is rewritten  to  a\ndifferent address (for example with aliasing or with canonical mapping).\n\nservicename (read-only)\nThe master.cf service name of a Postfix daemon process.\n\nAvailable in Postfix 3.5 and later:\n\ninfologaddressformat (external)\nThe email address form that will be used in non-debug logging (info, warning, etc.).\n",
                "subsections": []
            },
            "FILES": {
                "content": "The following are examples; details differ between systems.\n$HOME/.forward, per-user aliasing\n/etc/aliases, system-wide alias database\n/var/spool/mail, system mailboxes\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "qmgr(8), queue manager\nbounce(8), delivery status reports\nnewaliases(1), create/update alias database\npostalias(1), create/update alias database\naliases(5), format of alias database\npostconf(5), configuration parameters\nmaster(5), generic daemon options\npostlogd(8), Postfix logging\nsyslogd(8), system logging\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "The Secure Mailer license must be distributed with this software.\n",
                "subsections": []
            },
            "HISTORY": {
                "content": "The Delivered-To: message header appears in the qmail system by Daniel Bernstein.\n\nThe maildir structure appears in the qmail system by Daniel Bernstein.\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\nLOCAL(8postfix)",
                "subsections": []
            }
        }
    }
}