Hi:
I have installed Roundcube V.0.9.0 on an OSX Server running OSX 10.8.4. Roundcube is the webmail front-end to Postfix/Dovecot. Everything is working perfectly except for one thing. When an email is received which contains an image file named image.jpg the image is replaced with a pink box in the Roundcube interface. The pink box is a gif file, and seems to be a place holder replacing the original image.
I have set Roundcube's user preferences in Settings ==> Displaying Messages ==> Display Remote Images ==> to Always. That setting should allow Roundcube to properly display whatever image is received, but it doesn't. When I look at the raw email, or view it in a mailer like Thunderbird, I see a properly encoded email with mime-encoded images displayed properly. This RC behavior only happens with attached images which have .jpg extensions. If I attach the same file renamed image.jpeg it displays fine. Only images with extension jpg fail to display.
On my MACs, all Jpeg files are named with an extension of jpg, not jpeg. So emails sent from my MACs with images attached will have .jpg file attachments. Roundcube fails to recognize extension JPG as a JPEG file even though they are the same. Is there a fix for this? Where in Roundcube's internals can I turn off/change/correct this behavior? Or have I mis-configured something in the back-end? PHP perhaps? MySql? Something in Apache2? I have checked Apache's Mime.types and it has jpg and jpeg extensions properly listed.
TIA