Koozali.org: home of the SME Server

roundcube -v- horde (imp/dimp)

Offline Elliott

  • ****
  • 150
  • +0/-0
Re: roundcube -v- horde (imp/dimp)
« Reply #30 on: May 07, 2009, 03:46:31 PM »
Done... also referenced back to this thread in case my wording was less than stellar as is often the case.

-E
Elliott

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: roundcube -v- horde (imp/dimp)
« Reply #31 on: May 07, 2009, 03:51:45 PM »
If it is not templates it will not be overwritten on upgrades AFAIK. Please also add these details to http://bugs.contribs.org/show_bug.cgi?id=5224

Yes, it will be overwritten on upgrades of imp, but not e-smith-imp.  That's basically what I stated in my comments in the bug report about no longer templating the one in horde, and templating the one in imp.

John
......

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: roundcube -v- horde (imp/dimp)
« Reply #32 on: May 07, 2009, 04:05:33 PM »
Yes, it will be overwritten on upgrades of imp, but not e-smith-imp.  That's basically what I stated in my comments in the bug report about no longer templating the one in horde, and templating the one in imp.
Are you sure of that John? I though that yum took care of that by placing the new file with the extension .rpmnew when a file from a previous version of that package already existed when it was modified in regards to the package being uninstalled.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: roundcube -v- horde (imp/dimp)
« Reply #33 on: May 07, 2009, 04:27:51 PM »
Are you sure of that John? I though that yum took care of that by placing the new file with the extension .rpmnew when a file from a previous version of that package already existed when it was modified in regards to the package being uninstalled.

Yeah, I think you are right.  I actually have my imp, mime_drivers.php file in a custom template.  This is something I could test over the weekend to verify.

John
......

Offline calisun

  • *
  • 620
  • +0/-1
Re: roundcube -v- horde (imp/dimp)
« Reply #34 on: January 19, 2010, 08:25:37 AM »
Has anybody been able to get horde to display inline images?
I have followed cactus short howto, but no luck, I still get this:



Also, sometimes when I click on unnamed, a separate window opens up where I can view the message. But most of the time that does not even work, it looks like a separate window wants to open up, but all over sudden I get a message to download "unnamed"
« Last Edit: January 19, 2010, 08:28:32 AM by calisun »
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: roundcube -v- horde (imp/dimp)
« Reply #35 on: January 21, 2010, 03:52:09 AM »
To get inline images to work in imp
Code: [Select]

pico -w /home/httpd/html/horde/imp/config/mime_drivers.php

/**
 * Image driver settings
 */
$mime_drivers['imp']['images'] = array(
    'inline' => true,
    'handles' => array(
        'image/*'
    ),
    'icons' => array(
        'default' => 'image.png'
    ),
    /* Display thumbnails for all images, not just large images? */
    'allthumbs' => true
);
 
This file is not templated and will be overwritten on new imp version installs.  I've been thinking about untemplating horde's mime_drivers and templating imp's as imp's settings override horde's.  There is a bug open for that, don't remember what number.  As I got more free time, I'll look into that.
 
You might also need to login to webmail, options, message viewing, and uncheck, Block images in HTML messages unless they are specifically requested?
 
If I missed something, let me know.
 
HTH,
 
John Bennett
« Last Edit: January 21, 2010, 04:35:29 AM by mrjhb3 »
......

Offline calisun

  • *
  • 620
  • +0/-1
Re: roundcube -v- horde (imp/dimp)
« Reply #36 on: January 21, 2010, 06:44:34 AM »
Hi John,
Thank you very much for your reply.
Unfortunately when I did the change you suggested, I still would only see "unnamed" with "There are no parts that can be displayed inline"
But you pointed me in the right direction, I studied the file you suggested to change, and I did an additional change that did the trick. I changed false to true in this part:

Code: [Select]
* HTML driver settings
 */
$mime_drivers['imp']['html'] = array(
    'inline' => true,
    'handles' => array(
        'text/html'

Now, just to have a way to keep the file from getting overwritten.

Thank you John
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: roundcube -v- horde (imp/dimp)
« Reply #37 on: January 21, 2010, 03:59:13 PM »
See bug 5224.


John
......