procmail
[Top] [All Lists]

Saving attachements

2003-03-04 00:37:38
Hi,

I saw lots of posts on this list about exe's, zip's etc.etc. but I'm a
real n00b with content-types and what not.

Basically:

content(_at_)domain(_dot_)com

Get's mails with video attachements (avi,mpgs, lots of formats), and I
would like to:

-save video into a folder in $HOME (~/content) along with a text file with
the same name as the video file:

                -from who
                -text body of their messages (info)

So for an example:

~/content/myvideo.wmv
~/content/myvideo.wmv.txt

Where the text file is basically the message - attachement.

Problems:

I get sent nasty file names like "- 52 - myvideo" or filenames with bad
characters in like ' or " or other weird stuff. Is there a generic
"renamer" to scrap this?

Thanks for any pointers,

Oh yeah, they all have: Content-Type: multipart/mixed; for vids. And I
want to auto-reply with "Your content is being reviewed" so I don't get
sent millions of the same vid..

Poff

poff(_at_)sixbit(_dot_)org
SDF Public Access UNIX System - http://sdf.lonestar.org


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>
  • Saving attachements, poff <=