Doug Lumpkin <[EMAIL PROTECTED]> wrote:
> When downloading new mail to a palm pilot only the first 8000 characters are
> retrieved... Is there a way (I'm sure there is) to use a .qmail file to
> split the message into multiple parts (as well as leaving the original
> message intact).
>
> For instance freshmeat's update is always large, can a .qmail file split it
> into:
> 1. Freshmeat Part 1 of 3
> 2. Freshmeat Part 2 of 3
> 3. Freshmeat Part 3 of 3
> 4. Freshmeat -- Full Message
Just an idea, but how about using the .qmail-whatever file to pipe it to a
shell script. The script could:
1. Save the message to a file.
2. Extract the header (using 822header or like).
3. Extract the body and generate appropriate-sized chunks (with 'split'
or like).
4. Reinject the smaller pieces, each with a (modified) copy of the header
saved in (1) above. You could also save the pieces directly with
'safecat' or procmail or whatever.
Charles
--
----------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
Any opinions expressed are just that -- my opinions.
----------------------------------------------------