Re: Emailing myself pictures to a Maildir; how to extract with script?
On Sat, Sep 11, 2004 at 03:09:26PM -0400, William Ballard wrote:
> I'm emailing myself pics from my cell and procmail puts them into a
> special maildir. I'd like to iterate over each message in this maildir,
> extract the attachments to individual .jpgs, and then delete the
> message. (Lazy, done no research yet, but hoping someone can grunt a
> one word answer).
The munpack utility (part of the mpack package) will do this. It also
works as a pipe, so you can call it directly from your procmail recipe.
Dave Thayer | WARNING: Persons denying the existence of
Denver, Colorado USA | robots may be robots themselves.