procmail
[Top] [All Lists]

Re: converting .wav attachment to .mp3

2006-04-10 14:07:46
Eric Wood wrote:
I tring to convert all .wav attachments with an .mp3 version.
Does anyone have a recipe that will
for every  .wav attachment
  strip .wav attachment from email
  mpg123 -w filename.wav filename.mp3
  append .mp3 replacement attachment

   For all I know about attachments, it's never as simple as you
want it to be.

   If you are an admin and have access to sendmails config, I'd
suggest mimedefang.  It's a perl add-in that lets you basically
do anything you want to an email.  But the downside is that it's
not an easy thing to grasp.  Well, I don't know about anyone
else, but even with 5 years of perl knowledge, it still took me
half a day to figure out how to get it to strip an attachment
that we didn't want coming in to our office.

   Anyway, if you know perl at all, have access to the sendmail
server, and want to give it a try, you might look into it.
Otherwise, I can't help you.



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>