To take this whole thing one step further:
I realized that we have an all or nothing situation here.
Either you backup the whole piece of email (when it's under the size
set) or you get only the headers.
Any ideas for a way to get it to save just the first x bytes of the
email? Then we eliminate the testing of size, we just save up to x and
throw the rest away. Sort of like a "split" command.
If we have to use the "split" command, then to speed it up we WOULD use a
size test, because it's pointless to call the "split" command to truncate
an email to x bytes if the email is already under x -- thus we'd use
"split" only when it was over x.
Director of Technical Services (410) 602-1350
Project Genesis http://www.torah.org/