At 01:04 1999-01-19 +0200, Alikcey A. Kerym wrote:
Well, the point is to del it off the ISP pop server without downloading as I
have dial-up conection as there is no other way and no ftp server.
Can't you run procmail on the ISP server (requires a shell account at that
end of course). If so, then use the scripts which Era provided. If not,
then procmail quite simply isn't the tool for your situation.
I'm not familiar with fetchpop, but fetchmail has an option '-limit' which
allows you to specifiy a maximum message octet size, and only transfer
those messages which are smaller than that. Followed immediately by a
'-kill' as a separate session, and you might be able to accomplish
something like you're asking -- but you WILL NOT have record of the
transaction, and you run the (not insignifigant) risk of deleting messages
that may arrive between the two sessions.
You _could_ write a shell script to communicate with your ISP server, get
an index of messages, and purge those which exceed the limit. Heck, you
could probably hack fetchmail (or your fetchpop) to do this without too
much grief.
---
Please DO NOT carbon me on list replies. I'll get my copy from the list.
Sean B. Straw / Professional Software Engineering
Post Box 2395 / San Rafael, CA 94912-2395