Update Servers/Email/iRedMail/Query SMTP Outgoing Queue.md
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 7s
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 7s
This commit is contained in:
@@ -9,17 +9,23 @@ postqueue -p | awk '/^[A-F0-9]/ {id=$1} /from=<[^>]+>/ && $0 !~ /from=<>/ {print
|
||||
```
|
||||
|
||||
!!! example "Example Output"
|
||||
10392 problematic@bunny-lab.io
|
||||
301 prettybad@bunny-lab.io
|
||||
39 infrastructure@bunny-lab.io
|
||||
20 nicole.rappe@bunny-lab.io
|
||||
- 10392 problematic@bunny-lab.io
|
||||
- 301 prettybad@bunny-lab.io
|
||||
- 39 infrastructure@bunny-lab.io
|
||||
- 20 nicole.rappe@bunny-lab.io
|
||||
|
||||
### Investigating Individual Emails
|
||||
You can run the following command to read detailed information on any specific queued SMTP message:
|
||||
You can run the following command to list all queued messages: `postqueue -p`. You can then run `postcat -vq <message-ID>` to read detailed information on any specific queued SMTP message:
|
||||
|
||||
```sh
|
||||
postqueue -p
|
||||
postcat -vq 4dgHry5LZnzH6x08 # (1)
|
||||
```
|
||||
|
||||
1. Example message ID gathered from the previous `postqueue -p` command.
|
||||
1. Example message ID gathered from the previous `postqueue -p` command.
|
||||
|
||||
### Attempt to Gracefully Reload Postfix
|
||||
You may want to try to unstick things by gracefully "reloading" the postfix service via `postfix reload`. This will ensure that we don't drop / disconnect / lose all of the active outgoing SMTP sessions in the queue. It may not help resolve issues, but it's worth noting down:
|
||||
|
||||
### Reattempt Delivery
|
||||
You can attempt redelivery via running `postqueue -f` to try to free up the queue. Postfix will immediately re-attempt delivery of all queued messages instead of waiting for their scheduled retry time. It does not override remote rejections or fix underlying delivery errors; it only accelerates the next delivery attempt.
|
||||
Reference in New Issue
Block a user