# postkick(1) - man - phpman

[POSTKICK(1)](https://www.chedong.com/phpMan.php/man/POSTKICK/1/markdown)                            General Commands Manual                           [POSTKICK(1)](https://www.chedong.com/phpMan.php/man/POSTKICK/1/markdown)



## NAME
       postkick - kick a Postfix service

## SYNOPSIS
       **postkick** [**-c** _config_dir_] [**-v**] _class_ _service_ _request_

## DESCRIPTION
       The  [**postkick**(1)](https://www.chedong.com/phpMan.php/man/postkick/1/markdown)  command sends _request_ to the specified _service_ over a local transport chan‐
       nel.  This command makes Postfix private IPC  accessible  for  use  in,  for  example,  shell
       scripts.

       Options:

### -c
              Read the **main.cf** configuration file in the named directory instead of the default con‐
              figuration directory.

### -v -v
              increasingly verbose.

       Arguments:

       _class_  Name of a class of local transport channel endpoints, either **public** (accessible by any
              local user) or **private** (administrative access only).

       _service_
              The name of a local transport endpoint within the named class.

       _request_
              A string. The list of valid requests is service-specific.

## DIAGNOSTICS
       Problems and transactions are logged to the standard error stream.

## ENVIRONMENT
       **MAIL**___**CONFIG**
              Directory with Postfix configuration files.

       **MAIL**___**VERBOSE**
              Enable verbose logging for debugging purposes.

## CONFIGURATION PARAMETERS
       The following **main.cf** parameters are especially relevant to this  program.   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.

       **application**___**event**___**drain**___**time** **(100s)**
              How  long  the  [**postkick**(1)](https://www.chedong.com/phpMan.php/man/postkick/1/markdown)  command  waits  for a request to enter the Postfix daemon
              process input buffer before giving up.

       **import**___**environment** **(see** **'postconf** **-d'** **output)**
              The list of environment parameters that a privileged Postfix process will import  from
              a non-Postfix parent process, or name=value environment overrides.

       **queue**___**directory** **(see** **'postconf** **-d'** **output)**
              The location of the Postfix top-level queue directory.

## FILES
       /var/spool/postfix/private, private class endpoints
       /var/spool/postfix/public, public class endpoints

## SEE ALSO
       [qmgr(8)](https://www.chedong.com/phpMan.php/man/qmgr/8/markdown), queue manager trigger protocol
       [pickup(8)](https://www.chedong.com/phpMan.php/man/pickup/8/markdown), local pickup daemon
       [postconf(5)](https://www.chedong.com/phpMan.php/man/postconf/5/markdown), configuration parameters

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

**AUTHOR(S)**
       Wietse Venema
       IBM T.J. Watson Research
       P.O. Box 704
       Yorktown Heights, NY 10598, USA

       Wietse Venema
       Google, Inc.
       111 8th Avenue
       New York, NY 10011, USA



                                                                                         [POSTKICK(1)](https://www.chedong.com/phpMan.php/man/POSTKICK/1/markdown)
