postsuper
postsuper [-psv] [-c config_dir] [-d queue_id]
[-h queue_id] [-H queue_id]
[-r queue_id] [directory ...]
The postsuper command does maintenance jobs on the Postfix queue. Use of the command is restricted to the superuser. See the postqueue command for unprivileged queue operations such as listing or flushing the mail queue.
By default, postsuper performs the operations requested with the -s and -p command-line options on all Postfix queue directories - this includes the incoming, active and deferred directories with mail files and the bounce, defer, trace and flush directories with log files.
Options:
-c config_dir
The main.cf configuration file is in the named directory instead of the default configuration directory.
postsuper -d queue_id
Delete one message with the named queue ID from the named mail queue
postsuper -d ALL = remove all messages from queue.
postsuper -d ALL deferred = remove all mails in deferred queue.
|