Postfix-commands

Aus xinux.net
Zur Navigation springen Zur Suche springen

Conf-related

Show all Postfix parameters and their effective values
  • postconf
Show value for the given parameter
  • postconf smtpd_tls_security_level
Show all parameters that have been explicitly set in main.cf
  • postconf -n
Show all default values
  • postconf -d
Show default value of the given parameter

postconf -d alias_maps

Queue-related

Show mails that are currently queued
  • postqueue -p
Flush the queue (try to send)
  • postqueue -f
Delete a mail from the queue (ids can be found in mail.log)
  • postsuper -d <id> #
Delete all mails from the queue
  • postsuper -d ALL
Show mails that are currently queued
  • postqueue -p
Flush the queue (try to send)
  • postqueue -f
Delete a mail from the queue (ids can be found in mail.log)
  • postsuper -d <id>
Delete all mails from the queue
  • postsuper -d ALL