[Email-SIG] I miss size() (and some latest frustration)
Steffen Daode Nurpmeso
sdaoden at googlemail.com
Sat Mar 26 16:56:53 CET 2011
First of all i have to say that i am sooo prowd of myself
that this mail manages to get addressed correctly right away!
Wow! (Or WAU! WAU! as those four-legged germans would say;)
Thanks for your understanding.
On Thu, Mar 24, 2011 at 05:41:49PM -0400, Barry Warsaw wrote:
> Certainly the normal FeedParser will see every byte of the
> message, even if it does save parts of it on disk. Mailman 3's
> LMTP server also sees every byte
I'm afraid of it, and i hate it from the bottom of my heart, but
it is to be expected that EMail 6 will see times where mails
actually contain entire 3-D Blockbusters as MIME attachments.
And the truth will not be far from that.
Thus i personally would really vote for the possibility that
parsing can be stopped at defined boundaries so that
write(target_file, yet_parsed_object.data())
while 1:
x = source_file.read()
target_file.write(x)
can be used directly (i.e. no swallowed boundary line).
Hooks are a fine thing but they are on the wrong side of the story
for this kind of problem (unless you have full, i.e. linewise,
control of the input side, too, and set one flag here and there.)
Have a nice weekend - it's cherry blossom, and it smells fantastic!
--
Steffen Daode Nurpmeso <sdaoden at gmail.com>
:wq steffen
More information about the Email-SIG
mailing list