Postfix skills and troubleshooting commands
Here are some commands I use every day. Of course, other email administrators will also use them, so I will write them down in case I forget them.
LIST/print the current Message Queue
- # Postqueue-p
-
- # Mailq
If the queue is too long, you can use the tail pipeline to read it.
- # Mailq | tail
Clear queue
- # Postqueue-f
Immediately post all emails for a domain.com Domain Name
- # Postqueue-s domain.com
Delete all queues
- # Postsuper-d ALL
Deletes a specified message.
- # Postsuper-d messageid
Requeue or resend the specified email
- # Postfix-r msgid
Search for the mail version
- # Postconf-d mail_version
- Mail_version = 2.6.6
You can also view the following connections. There are many examples of this connection and a good explanation document, which can be used to configure postfix: Postfix Configuration.
Install and configure the Postfix email service in CentOS 6.4
Install the mail server Postfix in CentOS 5.5
Build a Postfix email server for Red Hat Enterprise Linux 5.4
Postfix (authentication) for secure email servers in Linux)
20 questions about Postfix
Postfix details: click here
Postfix: click here
This article permanently updates the link address: