Hi folks, I have a question for you.

I have a Centos 5.3 with postfix 2.3.3. I'm using Amavisd-new and clamav for 
virus checking. My server daily receive lots of messages with JPG files 
attached. The number of JPF files in each message is variable. 
My question is. When receiving an email with at least one JPG file attached can 
I check if filesize is greater than let's say 100K and if yes, extract that 
file, change it's resolution (lowering file size) and put it again in the email 
message without modifiying the rest of the email and them make the local 
delivery? 

I think GD could be useful, but I don't know how to integrate the hole process.

Thanks in advance David

Reply via email to