lately, i've been seeing email with gigantic headers. 120 header lines are not that uncommon. unfortunately upas has sometimes inserts a blank line about (but not exactly) 4k into the file. a bit of digging, upas/send was assuming that if yacc didn't stop at a blank line, one should be inserted. unfortunately, yacc was stopping because it ran out of stack space. the hack is to increase YYMAXDEPTH. ideally, each line should be parsed independently, thus making yacc's depth depend only on the complexity of a line.
nupas on sources has the fix. - erik