# POSTDROP(1) - man - phpman

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



## NAME
       postdrop - Postfix mail posting utility

## SYNOPSIS
       **postdrop** [**-rv**] [**-c** _config_dir_]

## DESCRIPTION
       The  [**postdrop**(1)](https://www.chedong.com/phpMan.php/man/postdrop/1/markdown) command creates a file in the **maildrop** directory and copies its standard in‐
       put to the file.

       Options:

### -c
              The **main.cf** configuration file is in the named directory instead of the  default  con‐
              figuration directory. See also the MAIL_CONFIG environment setting below.

### -r
              reporting status information on standard output. This is currently the only  supported
              method.

### -v -v
              increasingly verbose. As of Postfix 2.3, this option is available for  the  super-user
              only.

## SECURITY
       The  command  is  designed  to  run with set-group ID privileges, so that it can write to the
       **maildrop** queue directory and so that it can connect to Postfix daemon processes.

## DIAGNOSTICS
       Fatal errors: malformed input, I/O error, out of memory. Problems are logged to [**syslogd**(8)](https://www.chedong.com/phpMan.php/man/syslogd/8/markdown) or
       [**postlogd**(8)](https://www.chedong.com/phpMan.php/man/postlogd/8/markdown)  and  to  the  standard  error stream.  When the input is incomplete, or when the
       process receives a HUP, INT, QUIT or TERM signal, the queue file is deleted.

## ENVIRONMENT
       MAIL_CONFIG
              Directory with the **main.cf** file. In order to avoid exploitation of set-group ID privi‐
              leges, a non-standard directory is allowed only if:

              •      The  name  is listed in the standard **main.cf** file with the **alternate**___**config**___**di**‐‐
                     **rectories** configuration parameter.

              •      The command is invoked by the super-user.

## 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.

       **alternate**___**config**___**directories** **(empty)**
              A list of non-default Postfix configuration directories that may be specified with "-c
              config_directory" on the command line (in the case of [**sendmail**(1)](https://www.chedong.com/phpMan.php/man/sendmail/1/markdown), with the  "-C"  op‐
              tion), or via the MAIL_CONFIG environment parameter.

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

       **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.

       **syslog**___**facility** **(mail)**
              The syslog facility of Postfix logging.

       **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".

       **trigger**___**timeout** **(10s)**
              The  time  limit for sending a trigger to a Postfix daemon (for example, the [**pickup**(8)](https://www.chedong.com/phpMan.php/man/pickup/8/markdown)
              or [**qmgr**(8)](https://www.chedong.com/phpMan.php/man/qmgr/8/markdown) daemon).

       Available in Postfix version 2.2 and later:

       **authorized**___**submit**___**users** **(static:anyone)**
              List of users who are authorized to submit mail with the [**sendmail**(1)](https://www.chedong.com/phpMan.php/man/sendmail/1/markdown) command (and with
              the privileged [**postdrop**(1)](https://www.chedong.com/phpMan.php/man/postdrop/1/markdown) helper command).

       Available in Postfix version 3.6 and later:

       **local**___**login**___**sender**___**maps** **(static:*)**
              A  list  of  lookup tables that are searched by the UNIX login name, and that return a
              list of allowed envelope sender patterns separated by space or comma.

       **empty**___**address**___**local**___**login**___**sender**___**maps**___**lookup**___**key** **(<>)**
              The lookup key to be used in  local_login_sender_maps  tables,  instead  of  the  null
              sender address.

       **recipient**___**delimiter** **(empty)**
              The  set  of  characters that can separate an email address localpart, user name, or a
              .forward file name from its extension.

## FILES
       /var/spool/postfix/maildrop, maildrop queue

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

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



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