Hello, is here any way to show content of sent emails? When my emails are in quote, i can use command postcat -q ID of meesage and get info about this message etc Code: root@vm28069:~# postcat -q 601302ABE *** ENVELOPE RECORDS deferred/6/601302ABE *** message_size: 1434 731 1 0 1434 0 message_arrival_time: Mon Oct 25 08:50:20 2021 create_time: Mon Oct 25 08:50:20 2021 named_attribute: log_ident=601302ABE named_attribute: rewrite_context=local sender: webmaster@xxnamed_attribute: encoding=8bit named_attribute: log_client_name=localhost.localdomain named_attribute: log_client_address=127.0.0.1 named_attribute: log_client_port=54748 named_attribute: log_message_origin=localhost.localdomain[127.0.0.1] named_attribute: log_helo_name=localhost named_attribute: log_protocol_name=ESMTP named_attribute: client_name=localhost.localdomain named_attribute: reverse_client_name=localhost.localdomain named_attribute: client_address=127.0.0.1 named_attribute: client_port=54748 named_attribute: server_address=127.0.0.1 named_attribute: server_port=10025 named_attribute: helo_name=localhost named_attribute: protocol_name=ESMTP named_attribute: client_address_type=2 named_attribute: dsn_orig_rcpt=rfc822;x original_recipient: xxx recipient: xx*** MESSAGE CONTENTS deferred/6/601302ABE *** Received: from localhost (localhost.localdomain [127.0.0.1]) by vm28069.wedos.net (Postfix) with ESMTP id 601302ABE for <xx>; Mon, 25 Oct 2021 08:50:20 +0200 (CEST) Received: from xx ([127.0.0.1]) by localhost (xx [127.0.0.1]) (amavisd-new, port 100 24) with LMTP id 99xp_QwPReSU for <xx>; Mon, 25 Oct 2021 08:50:20 +0200 (CEST) Received: by xx (Postfix, from userid 5006) id F1E042993; Mon, 25 Oct 2021 08:50:19 +0200 (CEST) To: =?UTF-8?B?QWRtaW5pc3RyYXRvcg==?= <xx> Subject: =?UTF-8?B?QWt0aXZvdmF0IHXFvml2YXRlbHNrw70gw7rEjWV0?= X-PHP-Originating-Script: 0:functions_messenger.php From: <xx> Reply-To: <xx> Sender: <xx> MIME-Version: 1.0 Message-ID: <[email protected]> Date: Mon, 25 Oct 2021 08:50:19 +0200 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: phpBB3 X-MimeOLE: phpBB3 X-phpBB-Origin: phpbb://xxx I tried to use ID from list message-id, but this does not work, just for emails in quote. When i use message-id of sent message, i get jist Code: postcat: fatal: open queue file 239182A26: No such file or directory
Poscat shows messages that are still in the mail queue. If message has already been sent, it can not be shown since it is no longer available on the sending e-mail server. You should configure server to store a copy of sent e-mail if you need to access them.
Thank you for help.. Do you have any tips what exactly i should use to save it? I tried to search here on the board, but can not found something like this.
If it is just one account, enter something in the BCC field setting. If all e-mails must be copied, using Internet Search Engines finds proming results: Code: postfix store copy of sent e-mail site:howtoforge.com