That sounds a promising horizon, procmail. :)

On 8/2/05, Zak B. Elep <[EMAIL PROTECTED]> wrote:
> Mhac Janapin <[EMAIL PROTECTED]> writes:
> 
> > Sure I can go and extract them one by one and save it to folder, but I
> > think a bash script (even python) would be nice. Especially if I would
> > have more of these messages with attachments.
> 
> An `apt-cache search attachments` turned up this:
> 
> pdftk - A useful tool for manipulating PDF documents
> 
> But I think that doesn't answer your question.  I believe it is helpful,
> though, since you say you're working with a lot of PDFs.
> 
> I think you could also use procmail(1) to scan for PDF attachments and
> parse the data so you get rfc822s in one folder and the PDFs in another,
> with their original file names preserved (and possibly coded to prevent
> duplicates.)  See procmailrc(5) for some inspiration.
> 
> -- 
> ZAK B. ELEP   <[EMAIL PROTECTED]>     --      <http://zakame.spunge.org>
> 1024D/FA53851D                1486 7957 454D E529 E4F1  F75E 5787 B1FD FA53 
> 851D
> --  Running Debian GNU+Linux testing/unstable. GnuPG signed mail preferred.
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
> 


-- 
Mhac Janapin
PBTS SysAd
www.pbts.net.ph
=============
http://mulingsilang.blogspot.com
=============
I'm an Open Source Enthusiast. c",)
Mozilla Firefox 1 - getfirefox.com
Mozilla Thunderbird 1 - mozilla.org
OpenOffice.org 1
=============
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to