[CentOS] email subject length issue

Wed Apr 12 20:24:50 UTC 2017
Richard <lists-centos at listmail.innovate.net>

> Date: Wednesday, April 12, 2017 16:17:38 -0400
> From: Jerry Geis <jerry.geis at gmail.com>
> Oh I understand now what is happening. The subject is coming in as
> three lines.
> Subject: Tornado Monday, 03/27/2017 at 20:27:02. The Point
> BB.OBSURGRH is  in Alarm at PRI3 with a value of 63.4
> %.Informational Text: OB SURGERY  HUMIDITY ALARM
> I'm not getting the second two lines.
> How "should" one correctly get the subject ???
> What I did was in my .procmailrc file
> SUBJECT=`cat | grep Subject:`
> So this resulted in only the first line and not grabbing the
> additional 2 lines.
> Is there a way to correctly get the subject that I have not found?
> Thanks for the tips. It led me to the above.
> Jerry

There's supposed to be a "null" line between the structured (header)
text lines and the rest of the body. The "Subject:" is generally the
last of the structured text lines, so you should be able to start
your read with the "Subject:" tag and continue reading until you hit
the "null" line.