daily pastebin goal
50%
SHARE
TWEET

Untitled

a guest Dec 9th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. *** ENVELOPE RECORDS deferred/C/CEEFE416EAB5 ***
  2. message_size:             375             253               1               0             375
  3. message_arrival_time: Thu Dec  6 13:32:19 2018
  4. create_time: Thu Dec  6 13:33:48 2018
  5. named_attribute: rewrite_context=local
  6. sender_fullname: root
  7. sender: root@localhost.localdomain
  8. original_recipient: testmailreciever001@localhost.com
  9. recipient: testmailreciever001@localhost.com
  10. *** MESSAGE CONTENTS deferred/C/CEEFE416EAB5 ***
  11. Received: by localhost.localdomain (Postfix, from userid 0)
  12.     id CEEFE416EAB5; Thu,  6 Dec 2018 13:33:48 +0900 (JST)
  13. From:testmailsender100@localhost.com
  14. To:testmailreciever001@localhost.com
  15. Subject:TestMail_Postfix
  16. Message-Id: <20181206043348.CEEFE416EAB5@localhost.localdomain>
  17. Date: Thu,  6 Dec 2018 13:32:19 +0900 (JST)
  18.  
  19. Sending Testmail to testmailreciever001
  20.  
  21. *** HEADER EXTRACTED deferred/C/CEEFE416EAB5 ***
  22. *** MESSAGE FILE END deferred/C/CEEFE416EAB5 ***
  23.    
  24. OUTPUT FORMAT:
  25. QUEUE ID         SUBJECT              RECIPIENT
  26.  
  27. EXPECTED OUTPUT:
  28. CEEFE416EAB5     TestMail_Postfix     testmailreciever001@localhost.com
  29.    
  30. CEEFE416EAB5 TestMail_Postfix testmailreciever001@localhost.com
  31.    
  32. function grepdata
  33. {
  34.     postcat -q $1 | grep '^Subject:'
  35.     postcat -q $1 | grep '^recipient:'
  36. }
  37. grepdata $1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top