People keep sending me email with huge attachments, and they're
consuming too much of my disk space. In addition, about half of
them are MS-Winders files that I don't have any use for anyway.
Sometimes the files come through in the message area rather than
as attachments.
What I think I'd like to do is
- Examine the total number of lines in a message (text
plus attachments), and forward it to /dev/null if that
number exceeds some limit I set. If I can use bytes
instead of lines, that'd probably be better....
- If possible, deliver the first 100 lines or so of the
message to my default mailbox, just in case the textual
part of the message was important.
- Autorespond to the sender (unless the value of the
precedence header is list, junk or bulk), explaining what
happened and why.
Any suggestions? Thanks in advance....
Mark Shaw <mshaw(_at_)ti(_dot_)com>