Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *** ENVELOPE RECORDS deferred/C/CEEFE416EAB5 ***
- message_size: 375 253 1 0 375
- message_arrival_time: Thu Dec 6 13:32:19 2018
- create_time: Thu Dec 6 13:33:48 2018
- named_attribute: rewrite_context=local
- sender_fullname: root
- sender: root@localhost.localdomain
- original_recipient: testmailreciever001@localhost.com
- recipient: testmailreciever001@localhost.com
- *** MESSAGE CONTENTS deferred/C/CEEFE416EAB5 ***
- Received: by localhost.localdomain (Postfix, from userid 0)
- id CEEFE416EAB5; Thu, 6 Dec 2018 13:33:48 +0900 (JST)
- From:testmailsender100@localhost.com
- To:testmailreciever001@localhost.com
- Subject:TestMail_Postfix
- Message-Id: <20181206043348.CEEFE416EAB5@localhost.localdomain>
- Date: Thu, 6 Dec 2018 13:32:19 +0900 (JST)
- Sending Testmail to testmailreciever001
- *** HEADER EXTRACTED deferred/C/CEEFE416EAB5 ***
- *** MESSAGE FILE END deferred/C/CEEFE416EAB5 ***
- OUTPUT FORMAT:
- QUEUE ID SUBJECT RECIPIENT
- EXPECTED OUTPUT:
- CEEFE416EAB5 TestMail_Postfix testmailreciever001@localhost.com
- CEEFE416EAB5 TestMail_Postfix testmailreciever001@localhost.com
- function grepdata
- {
- postcat -q $1 | grep '^Subject:'
- postcat -q $1 | grep '^recipient:'
- }
- grepdata $1
Add Comment
Please, Sign In to add comment