Check or read the contents of the email on Terminal for troubleshooting purposes.
The Postfix command below will show the entire original message with headers and body, or the email itself in raw format. Like reading email as a text file.
Get or grab the postfix ID, by typing: mailq or postqueue -p
Once the ID is known use the postcat command to view the contents of the ID.
postcat -bh -q F0ABD910CDE33 | less ## this command will show the contents of the email that is on the queue
To delete an email use the command below:
postqueue -d ID ## delete the queue ID / delete the email with the specific ID, the email will be deleted on the queue used sparingly
Proverbs 3:7 Do not consider yourself wise, fear God, and turn away from evil.
Comments
Post a Comment