Postfix - gestão da fila de e-mails (mail queue)

Gestão da fila de e-mails (mail queue) do postfix

  1. Visualizar a fila de e-mails:
    # mailq | more
    -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
    56B15D04       2637 Thu Sep 13 10:14:23  xxxxxxxxxxxxxxxxxxxxx
        (connect to xxxxxxxxxxxxxxxxxxxxxx[xxxxxxxxxxxx]:25: Connection timed out)
                                             xxxxxxxxxxxxxxxxxxxxxxxx
    
    5926FCED       2635 Thu Sep 13 10:14:25  xxxxxxxxxxxxxxxxxxxxx
        (connect to xxxxxxxxxxxxxxxxxxxxxx[xxxxxxxxxxxx]:25: Connection timed out)
                                             xxxxxxxxxxxxxxxxxxxxxxxx
    ...
  2. Visualizar um e-mail na fila:
    # postcat -q 56B15D04 | more
    *** ENVELOPE RECORDS deferred/5/56B15D04 ***
    message_size:            2637             690               2               0            2637
    message_arrival_time: Thu Sep 13 10:14:23 2018
    create_time: Thu Sep 13 10:14:23 2018
    named_attribute: rewrite_context=remote
    named_attribute: sasl_method=xxxxx
    named_attribute: sasl_username=xxxxxxxx
    sender: xxxxxxxxxxxxxxxxxxxxx
    named_attribute: log_client_name=unknown
    named_attribute: log_client_address=xxxxxxxxxx
    named_attribute: log_client_port=xxxxx
    named_attribute: log_message_origin=unknown[xxxxxxxxxx]
    named_attribute: log_helo_name=xxxxxxx
    named_attribute: log_protocol_name=ESMTP
    named_attribute: client_name=unknown
    named_attribute: reverse_client_name=unknown
    named_attribute: client_address=xxxxxxxxxx
    named_attribute: client_port=xxxxx
    named_attribute: helo_name=xxxxxxx
    named_attribute: protocol_name=ESMTP
    named_attribute: client_address_type=2
    warning_message_time: Wed Dec 31 21:00:00 1969
    named_attribute: dsn_orig_rcpt=rfc822;xxxxxxxxxxxxxxxxxxxxxxxx
    original_recipient: xxxxxxxxxxxxxxxxxxxxxxxx
    recipient: xxxxxxxxxxxxxxxxxxxxxxxx
    *** MESSAGE CONTENTS deferred/5/56B15D04 ***
    Received: from xxxxxxx (unknown [xxxxxxxxxx])
            by xxxxxxxxxxxxxxxxx (Postfix) with ESMTPA id 56B15D04
            for ; Thu, 13 Sep 2018 10:14:23 -0300 (BRT)
    DMARC-Filter: OpenDMARC Filter v1.3.2 xxxxxxxxxxxxxxxxx 56B15D04
    Authentication-Results: xxxxxxxxxxxxxxxxx; dmarc=none (p=none dis=none) header.from=xxxxxxxxxxxx
    Authentication-Results: xxxxxxxxxxxxxxxxx; spf=fail smtp.mailfrom=xxxxxxxxxxxxxxxxxxxxx
    DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xxxxxxxxxxxx;
            s=mail; t=1536844463;
            bh=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;
            h=From:To:In-Reply-To:Subject:Date;
            b=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
             xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
             xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    From: "xxxxxxxx" 
    To: "'xxxxxxxxxxxxxxx'" 
    In-Reply-To: 
    Subject: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    Date: Thu, 13 Sep 2018 09:12:29 -0300
    Message-ID: 
    MIME-Version: 1.0
    Content-Type: multipart/report;
            report-type=disposition-notification;
            boundary="----=_NextPart_000_071B_01D44B41.E8FDC690"
    ...
  3. Excluir um e-mail da fila:
    # postsuper -d 56B15D04
IP
3.229.142.91