No, there isn't. Hacking it in would not be non-trivial, mainly
because the current code runs with the assumption that the entire
message is there, and determining when it actually needs to see the
entire body (to do demand loading) would not be easy.
...
would require the body to be read... It really is just better to
simply have sendmail enfore the limit. You should be doing it there
anyway to cut down on the totally trivial denial-of-service attacks and
because it's more efficient.
I don't know about anyone else, but here we're using Email as THE way to
transmit files about. As such we are using our system with very large mail
sizes (e.g. the 90Mb one I was talking about). Setting limits on how large
messages can be really isn't an option - however I can see that assuming
procmail could deal with such occurrences is asking a bit much (actually,
it's really not procmail's fault - I just need more memory.... ;-)
--
Jason Haar, Unix/Networking Specialist, Trimble Navigation New Zealand
Phone: +64 3 3391377 Fax: +64 3 3391417