On 20 Aug 2015, at 14:49, Joe Quinn wrote:
That said, header fields are likely never going to be long enough for
what you currently have to be a performance concern.
(I was about to say it was impossible, but then I saw there is no
length limit on headers:
http://stackoverflow.com/questions/2721605/maximum-size-of-email-x-headers)
On the other hand, there's no discernible downside to putting generous
hard limits outside of (and ahead of) SA for standard headers. No matter
what the RFCs say, sending mail with 600-byte From or Subject headers is
not something people who are worth communicating with do intentionally
and it can be very cheap to reject such junk before SA sees it.