[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: howto process attachments out of a procmail script?



on Wed, Sep 10, 2003 at 12:25:58PM +0200, Bruno Boettcher (bboett@bboett.dyndns.org) wrote:
> Hello,
> 
>   i am getting doc files with announcements, i would like to process
>   them automaticly (means extracting the attachment, create a tmp dir,
>       run wvHtml on it, and transfer the resulting files onto a
>       webserver....)
> 
>   now in procmail i can identify the mails that should be processed that
>   way, but somehow unlike deliver i can't access the body or what's more
>   interesting extract the attachemnt(s)...
> 
>   so if someone has a suggestion...

First stop:  check the procmail FAQ:

    http://rhols66.adsl.netsonic.fi/era/procmail/mini-faq.html

Looks like "munpack" is where you want to start looking.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
    Windows Refund Day II:  fight for your right to refund
    http://www.windowsrefund.net/

Attachment: pgp5hCy2vSIMu.pgp
Description: PGP signature


Reply to: