arjuna rao chavala rearranged electrons thusly:
> Recently, I asked my friends to send their photos and ended up getting
> messages with attachments of 500K or more, as their files are usually in
> BMP format.
nice for you ;)
> How can I control fetchmail to download messages only if the size is less
> than say 50 KB? Can I get a notification that there are mails on the
> server which exceed the size limit.? Then I can access the account
> through the web , view/delete the messages.
you _can_ run fetchmail with -l ...
from 'man fetchmail'
-l <maxbytes>, --limit <maxbytes>
(Keyword: limit) Takes a maximum octet size argu- ment. Messages larger
than this size will not be fetched and will be left on the server (in
fore- ground sessions, the progress messages will note that they are
"oversized"). ....
remember to have "keep" instead of "fetchall" in your .fetchmailrc or these
mails will be flushed from the server if they are not downloaded.
In the meantime, get in touch with your friends and tell them to zip their
bitmaps before sending them ...
--
Suresh Ramasubramanian + mallet<@>efn.org
You spamma my mailbox, I nukea da ass
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH