Postfix skills and troubleshooting commands

Source: Internet
Author: User

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

  1. # Postqueue-p
  2.  
  3. # Mailq

If the queue is too long, you can use the tail pipeline to read it.

  1. # Mailq | tail

Clear queue

  1. # Postqueue-f

Immediately post all emails for a domain.com Domain Name

  1. # Postqueue-s domain.com

Delete all queues

  1. # Postsuper-d ALL

Deletes a specified message.

  1. # Postsuper-d messageid

Requeue or resend the specified email

  1. # Postfix-r msgid

Search for the mail version

  1. # Postconf-d mail_version
  2. 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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.