Just wrote a script to strip attachments from email, as I want email access to be fast ( no waiting for large attachments to download ). Since it reads the entire email into memory, don't use this on emails larger than available memory ;). That said, it works well in a procmail recipe:
MSG_MAX_SIZE=102400 MSG_URL=http://www.yourdomain.tld/mime/ MSG_DIR=/var/www/www.youdomain.tld/mime/. :0 fw * > $MSG_MAX_SIZE | $HOME/bin/mime_strip_to_dir.pyAnd works even better with mutt and urlview. ;)