check fetchmail documentacion... i guess there is a simple way to limit
the size...
or you can always write a simple POP3 client.
and use TOP number_message number_of_lines
I am working in something similar...let me know if you need more info
alberto
>From fetchmail man:
Resource Limit Control Options
-l, --limit
(Keyword: limit) Takes a maximum octet size argu-
ment. Messages larger than this size will not be
fetched, not be marked seen, and will be left on
the server (in foreground sessions, the progress
messages will note that they are "oversized"). An
explicit --limit of 0 overrides any limits set in
your run control file. This option is intended for
those needing to strictly control fetch time due to
expensive and variable phone rates. In daemon
mode, oversize notifications are mailed to the
calling user (see the --warnings option). This
option does not work with ETRN.
EB4GLO
Alberto Escudero
[EMAIL PROTECTED]
"Information is not knowledge"
"La informacion no es el conocimiento"