# POSTLOGD(8postfix) - man - phpman

[POSTLOGD(8postfix)](https://www.chedong.com/phpMan.php/man/POSTLOGD/8postfix/markdown)                                                                [POSTLOGD(8postfix)](https://www.chedong.com/phpMan.php/man/POSTLOGD/8postfix/markdown)



## NAME
       postlogd - Postfix internal log server

## SYNOPSIS
       **postlogd** [generic Postfix daemon options]

## DESCRIPTION
       This program logs events on behalf of Postfix programs when the maillog configuration parame‐
       ter specifies a non-empty value.

## BUGS
       Non-daemon Postfix programs don't know that they should log to the internal  logging  service
       before  they have processed command-line options and main.cf parameters. These programs still
       log earlier events to the syslog service.

       If Postfix is down, the non-daemon programs [**postfix**(1)](https://www.chedong.com/phpMan.php/man/postfix/1/markdown), [**postsuper**(1)](https://www.chedong.com/phpMan.php/man/postsuper/1/markdown), [**postmulti**(1)](https://www.chedong.com/phpMan.php/man/postmulti/1/markdown), and **post**‐‐
       [**log**(1)](https://www.chedong.com/phpMan.php/man/log/1/markdown),  will  log  directly  to **$maillog**___**file**. These programs expect to run with root privi‐
       leges, for example during Postfix start-up, reload, or shutdown.

       Other non-daemon Postfix programs will never write directly to **$maillog**___**file**  (also,  logging
       to  stdout  would interfere with the operation of some of these programs). These programs can
       log to [**postlogd**(8)](https://www.chedong.com/phpMan.php/man/postlogd/8/markdown) if they are run by the super-user, or if their executable file has set-gid
       permission. Do not set this permission on programs other than [**postdrop**(1)](https://www.chedong.com/phpMan.php/man/postdrop/1/markdown) and [**postqueue**(1)](https://www.chedong.com/phpMan.php/man/postqueue/1/markdown).

## CONFIGURATION PARAMETERS
       Changes  to **main.cf** are picked up automatically, as [**postlogd**(8)](https://www.chedong.com/phpMan.php/man/postlogd/8/markdown) processes run for only a lim‐
       ited amount of time. Use the command "**postfix** **reload**" to speed up a change.

       The text below provides only a parameter summary. See [**postconf**(5)](https://www.chedong.com/phpMan.php/man/postconf/5/markdown) for more details  including
       examples.

       **config**___**directory** **(see** **'postconf** **-d'** **output)**
              The default location of the Postfix main.cf and master.cf configuration files.

       **maillog**___**file** **(empty)**
              The name of an optional logfile that is written by the Postfix [**postlogd**(8)](https://www.chedong.com/phpMan.php/man/postlogd/8/markdown) service.

       **process**___**id** **(read-only)**
              The process ID of a Postfix command or daemon process.

       **process**___**name** **(read-only)**
              The process name of a Postfix command or daemon process.

       **syslog**___**name** **(see** **'postconf** **-d'** **output)**
              A  prefix  that is prepended to the process name in syslog records, so that, for exam‐
              ple, "smtpd" becomes "prefix/smtpd".

       **service**___**name** **(read-only)**
              The master.cf service name of a Postfix daemon process.

       **postlogd**___**watchdog**___**timeout** **(10s)**
              How much time a [**postlogd**(8)](https://www.chedong.com/phpMan.php/man/postlogd/8/markdown) process may take to process a request before it is  termi‐
              nated by a built-in watchdog timer.

## SEE ALSO
       [postconf(5)](https://www.chedong.com/phpMan.php/man/postconf/5/markdown), configuration parameters
       [syslogd(8)](https://www.chedong.com/phpMan.php/man/syslogd/8/markdown), system logging

## READMEFILES
       Use "**postconf** **readme**___**directory**" or "**postconf** **html**___**directory**" to locate this information.
       MAILLOG_README, Postfix logging to file or stdout

## LICENSE
       The Secure Mailer license must be distributed with this software.

## HISTORY
       This service was introduced with Postfix version 3.4.

**AUTHOR(S)**
       Wietse Venema
       Google, Inc.
       111 8th Avenue
       New York, NY 10011, USA



                                                                                  [POSTLOGD(8postfix)](https://www.chedong.com/phpMan.php/man/POSTLOGD/8postfix/markdown)
