POSTKICK(1) General Commands Manual POSTKICK(1)

# [NAME](#NAME)

postkick - kick a Postfix service

# [SYNOPSIS](#SYNOPSIS)

```

```

**postkick** \[**-c config\_dir**] \[**-v**] *class service request*

# [DESCRIPTION](#DESCRIPTION)

The [**postkick**(1)](/man/os/postfix/postkick.1) command sends *request* to the specified *service* over a local transport channel. This command makes Postfix private IPC accessible for use in, for example, shell scripts.

Options:

[**-c** *config\_dir*](#c)

Read the **main.cf** configuration file in the named directory instead of the default configuration directory.

[**-v**](#v)

Enable verbose logging for debugging purposes. Multiple **-v** options make the software increasingly verbose.

Arguments:

[*class*](#class)

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

[*service*](#service)

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

[*request*](#request)

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

# [DIAGNOSTICS](#DIAGNOSTICS)

Problems and transactions are logged to the standard error stream.

# [ENVIRONMENT](#ENVIRONMENT)

```

```

[**MAIL\_CONFIG**](#MAIL_CONFIG)

Directory with Postfix configuration files.

[**MAIL\_VERBOSE**](#MAIL_VERBOSE)

Enable verbose logging for debugging purposes.

# [CONFIGURATION PARAMETERS](#CONFIGURATION_PARAMETERS)

```

```

The following **main.cf** parameters are especially relevant to this program. The text below provides only a parameter summary. See [**postconf**(5)](/man/os/postfix/postconf.5) for more details including examples.

[**config\_directory (see 'postconf -d' output)**](#config_directory)

The default location of the Postfix main.cf and master.cf configuration files.

[**application\_event\_drain\_time (100s)**](#application_event_drain_time)

How long the [**postkick**(1)](/man/os/postfix/postkick.1) command waits for a request to enter the Postfix daemon process input buffer before giving up.

[**import\_environment (see 'postconf -d' output)**](#import_environment)

The list of environment variables that a privileged Postfix process will import from a non-Postfix parent process, or name=value environment overrides.

[**queue\_directory (see 'postconf -d' output)**](#queue_directory)

The location of the Postfix top-level queue directory.

# [FILES](#FILES)

```
/var/spool/postfix/private, private class endpoints
/var/spool/postfix/public, public class endpoints
```

# [SEE ALSO](#SEE_ALSO)

```
qmgr(8), queue manager trigger protocol
pickup(8), local pickup daemon
postconf(5), configuration parameters
```

# [LICENSE](#LICENSE)

```

```

The Secure Mailer license must be distributed with this software.

# [AUTHOR(S)](#AUTHOR%28S%29)

```
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
```

---

Document: postkick(1) from postfix 3.11.7-r2 (Chainguard OS)
Source: https://github.com/vdukhovni/postfix
