Difference between revisions of "Postfix Email Server"

From Run Your Own
Jump to: navigation, search
(Created page with "== Installation == TODO == Troubleshooting == === Postfix queue control === Sometimes you may need to check what's in the queue of emails waiting to be fully processed. * '''...")
 
Line 13: Line 13:
 
* delete a specific email by its ID
 
* delete a specific email by its ID
 
  postsuper -d ID
 
  postsuper -d ID
 +
 +
[[Category:Email]]

Revision as of 11:49, 18 May 2018

Installation

TODO

Troubleshooting

Postfix queue control

Sometimes you may need to check what's in the queue of emails waiting to be fully processed.

  • Optional: stop Postfix, in case you need to investigate something and stop incoming/outgoing activity.
service postfix stop
  • print a list of all queued email:
postqueue -p | less
  • print a specific email by its ID
postcat -vq ID | less
  • delete a specific email by its ID
postsuper -d ID