Postfix: Difference between revisions
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* Delete all emails from Postfix mail queue | * Delete all emails from Postfix mail queue | ||
<syntaxhighlight lang="bash"> | |||
postsuper -d ALL | postsuper -d ALL | ||
</syntaxhighlight> | |||
* Delete all deferred emails from Postfix mail queue | * Delete all deferred emails from Postfix mail queue | ||
<syntaxhighlight lang="bash"> | |||
postsuper -d ALL deferred | postsuper -d ALL deferred | ||
</syntaxhighlight> | |||
== Installation == | == Installation == |
Revision as of 15:59, 17 August 2019
Cheatsheet
- Delete all emails from Postfix mail queue
postsuper -d ALL
- Delete all deferred emails from Postfix mail queue
postsuper -d ALL deferred
Installation
Install Package
Configuration
- main.cf
mailbox_transport = cyrus
- master.cf
# The Cyrus deliver program has changed incompatibly, multiple times. cyrus unix - n n - - pipe flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m "${extension}" ${user}
mailbox_transport = lmtp:unix:/var/run/lmtp lmtp unix - - n - - lmtp
adduser postfix mail
saslpasswd2 -c cyrus