I am trying to grab information from the output of the mailq(postfix) Command. The problems is......The search criteria is on line 2 and the information (message ID) is on line 1. I searched and found several multiple line posts but none that quite cover this. It looks something like.
F0E413FBB 7462 Tue Oct 19 10:52:42 george@internet.com
(connect to mail.hisnet.com[66.11.222.120]: server dropped connection without sending the initial greeting)
george@hisnet.com
F0E413FBB 7462 Tue Oct 19 10:52:42 george@internet.com
(connect to mail.hisnet.com[66.11.222.120]: server dropped connection without sending the initial greeting)
george@hisnet.com