postcat
The postcat command prints the contents of the named files in human-readable form. The files are expected to be in Postfix queue file format. If no files are specified on the command line, the program reads from standard input.
root@Webserver:~# postcat -q 6761B21C519
*** ENVELOPE RECORDS active/6761B21C519 ***
message_size: 470 115
1 0
message_arrival_time: Sat Jul 15 14:56:33 2006
sender_fullname: www-data
sender: www-data@Webserver.local
*** MESSAGE CONTENTS active/6761B21C519 ***
Received: by Webserver (Postfix, from userid 33)
id 6761B21C519; Sat, 15 Jul 2006 14:56:33 -0700 (PDT)
To: info@barbesplayhouse.com
Subject: Auto message allert for new user barbe !
From: beckie@bizhat.com
X-Mailer: MyCP add user auto mailer
Message-Id: <20060715215633.6761B21C519@Webserver>
Date: Sat, 15 Jul 2006 14:56:33 -0700 (PDT)
Hello barbe !
Test mail from BizHat.com
Good luck!
*** HEADER EXTRACTED active/6761B21C519 ***
original_recipient: info@bizhat.com
recipient: info@bizhat.com
*** MESSAGE FILE END active/6761B21C519 ***
root@Webserver:~#
Back to Postfix Mail Server Tips
|