Attachment file conversion

Glenn Steen glenn.steen at gmail.com
Mon Apr 25 21:41:29 IST 2011


On 25 April 2011 16:05, Michael Masse <mrm at medicine.wisc.edu> wrote:
> We are in the process of changing voicemail vendors and this new vendor
> sends voicemail attachments in .wav format only.   Our old vendor used
> mp3.    I really don't like the idea of using 10x the disk space for the
> attachments which people tend to hang on to forever.    Is there some way
> that MailScanner can call an external program to modify an attachment while
> it has an email disassembled, and then reassemble the email and foward
> on?   Specifically I'd like to convert the wav attachments to mp3 via some
> external program, and then reassemble the email and forward it on so that
> the user really doesn't know the file is being converted?    I started to
> look at procmail to see if it could do this, but I don't know how I would
> get it to reassemble the email back together again.   Any clues would be
> greatly appreciated.
>
> -Mike
>
<hsven't cooked procmail recipies in years, but .. isn't that what
formail is all about?
BTW, why not go for an open sound format (ie Ogg Vorbis)?

Cheers!
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list