Koozali.org: home of the SME Server

roundcube -v- horde (imp/dimp)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: roundcube -v- horde (imp/dimp)
« Reply #15 on: May 05, 2009, 05:00:36 PM »
Cactus, before I open a bug I don't suppose you can tell me an easy way to find out if there's a user defined override?
I can only guess where it might be as I do not use horde webmail, but I suspect a entry for that might be in the horde_prefs table, you could try running this to see if it outputs anything, but it might be a long shot:
Code: [Select]
mysql -D horde -e "SELECT * FROM horde_prefs"
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 Elliott

  • ****
  • 150
  • +0/-0
Re: roundcube -v- horde (imp/dimp)
« Reply #16 on: May 05, 2009, 08:28:55 PM »
Okay... here is the grepped output of that for a single user... does this tell you anything? This is the account I was using to test the webmail functionality.

Code: [Select]
mace@dynamictrend.net horde last_login a:2:{s:4:"time";i:1241467616;s:4:"host";s:25:"pc-00105.local.net";}
mace@dynamictrend.net imp mail_domain yurplebliss.com
mace@dynamictrend.net turba addressbooks
mace@dynamictrend.net horde default_identity 0
mace@dynamictrend.net horde identities a:1:{i:0;a:14:{s:2:"id";s:4:"MACE";s:8:"fullname";s:13:"Kip Winger";s:9:"from_addr";s:20:"mace@yurplebliss.com";s:16:"default_identity";s:1:"0";s:12:"replyto_addr";s:0:"";s:10:"alias_addr";a:0:{}s:10:"tieto_addr";a:0:{}s:8:"bcc_addr";a:0:{}s:8:"mail_hdr";s:0:"";s:9:"signature";s:27:"http://www.yurplebliss.com/";s:10:"sig_dashes";i:1;s:9:"sig_first";i:0;s:14:"save_sent_mail";i:1;s:16:"sent_mail_folder";s:4:"Sent";}}
mace@dynamictrend.net horde theme azur
mace@dynamictrend.net horde summary_refresh_time 300
mace@dynamictrend.net horde show_sidebar 1
mace@dynamictrend.net horde sidebar_width 150
mace@dynamictrend.net horde menu_view both
mace@dynamictrend.net horde menu_refresh_time 300
mace@dynamictrend.net horde initial_application imp
mace@dynamictrend.net horde widget_accesskey 1
mace@dynamictrend.net horde show_last_login 1
mace@dynamictrend.net imp expanded_folders a:0:{}
mace@dynamictrend.net imp use_vinbox 0
mace@dynamictrend.net imp subscribe 1
mace@dynamictrend.net imp drafts_folder Drafts
mace@dynamictrend.net imp trash_folder Trash
mace@dynamictrend.net imp spam_folder junkmail
mace@dynamictrend.net horde sending_charset
mace@dynamictrend.net imp compose_popup 1
mace@dynamictrend.net imp compose_html 0
mace@dynamictrend.net imp compose_spellcheck 1
mace@dynamictrend.net imp num_words 3
mace@dynamictrend.net imp compose_confirm 0
mace@dynamictrend.net imp reply_quote 1
mace@dynamictrend.net imp reply_headers 0
mace@dynamictrend.net imp attrib_text Quoting %f:
mace@dynamictrend.net imp close_draft 1
mace@dynamictrend.net imp unseen_drafts 1
mace@dynamictrend.net imp set_priority 0
mace@dynamictrend.net imp default_encrypt 1
mace@dynamictrend.net imp save_attachments always
mace@dynamictrend.net imp disposition_request_read never
mace@dynamictrend.net imp filtering 0
mace@dynamictrend.net imp strip_attachments 0
mace@dynamictrend.net imp html_image_replacement 1
mace@dynamictrend.net imp html_image_addrbook 1
mace@dynamictrend.net imp highlight_text 1
mace@dynamictrend.net imp highlight_simple_markup 1
mace@dynamictrend.net imp show_quoteblocks thread
mace@dynamictrend.net imp dim_signature 1
mace@dynamictrend.net imp emoticons 1
mace@dynamictrend.net imp attachment_display inline
mace@dynamictrend.net imp default_msg_charset ISO-8859-1
mace@dynamictrend.net imp disposition_send_mdn 0
mace@dynamictrend.net imp delete_spam_after_report 2
mace@dynamictrend.net imp mailbox_return 1
mace@dynamictrend.net imp use_trash 1
mace@dynamictrend.net imp use_vtrash 0
mace@dynamictrend.net imp empty_trash_menu 1
mace@dynamictrend.net imp empty_spam_menu 1
mace@dynamictrend.net imp refresh_time 300
mace@dynamictrend.net imp nav_popup 1
mace@dynamictrend.net imp nav_audio 0
mace@dynamictrend.net imp mailbox_start 1
mace@dynamictrend.net imp sortby 1
mace@dynamictrend.net imp sortdir 1
mace@dynamictrend.net imp max_msgs 50
mace@dynamictrend.net imp from_link 1
mace@dynamictrend.net imp time_format %X
mace@dynamictrend.net imp nav_expanded 2
mace@dynamictrend.net imp nav_expanded_sidebar 2
mace@dynamictrend.net imp show_legend 1
mace@dynamictrend.net horde display_contact 1
mace@dynamictrend.net horde add_source localsql
mace@dynamictrend.net imp auto_expand 1
mace@dynamictrend.net imp save_recipients 1
mace@dynamictrend.net imp search_sources
mace@dynamictrend.net imp search_fields
mace@dynamictrend.net turba turba_maintenance_tasks a:2:{i:0;s:12:"upgradeprefs";i:1;s:12:"upgradelists";}
mace@dynamictrend.net imp sortpref a:1:{s:5:"INBOX";a:2:{s:1:"b";s:1:"0";s:1:"d";s:1:"1";}}
Elliott

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: roundcube -v- horde (imp/dimp)
« Reply #17 on: May 06, 2009, 02:21:37 AM »
Cactus, before I open a bug I don't suppose you can tell me an easy way to find out if there's a user defined override?

I've opened three different bugs in the past couple of weeks and every time it's been invalid.  :shock:

If it's inline html you are wanting to view then change /etc/e-smith/templates/home/httpd/html/horde/config/mime_drivers.php from false to true. 
Test, and if it works, then create a custom-template to preserve your setting.

A user can set in options, mail, message viewing,  Block images in HTML messages unless they are specifically requested? and/or Automatically show images in HTML messages when the sender is in my address book?

I am able to view inline images most of the time.  There are some issues I have with view certain types of mail with different content types, but I have been to lazy to see if they view fine in OL or TB to file a decent bug report to horde's bugtracker.

If you want to forward me an email you can't view, I could verify that I can either view it or not.  Make sure to forward with body text if you do.

John
......

Offline Elliott

  • ****
  • 150
  • +0/-0
Re: roundcube -v- horde (imp/dimp)
« Reply #18 on: May 06, 2009, 02:30:14 PM »
If you want to forward me an email you can't view, I could verify that I can either view it or not.  Make sure to forward with body text if you do.

John

John, what email could I forward one to you at?

Thanks,
E
Elliott

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: roundcube -v- horde (imp/dimp)
« Reply #19 on: May 06, 2009, 02:50:04 PM »
John, what email could I forward one to you at?
I'd say open a bug for it and attach it to that bug.
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 #20 on: May 06, 2009, 03:42:43 PM »
I'd say open a bug for it and attach it to that bug.

I wouldn't.  If it's a bug that needs to be opened, it needs to be opened upstream in horde's bug tracker.  This is nothing we can fix if it's other than inline html.  If it's it, then there is already a bug opened to make this setting a db entry. 

Attaching the message to the bug, will let someone see what you are getting.  Sending it will show if someone else can actually view it correctly, which I have done in the past and was able to help someone else with their settings.

John
« Last Edit: May 06, 2009, 03:50:18 PM by mrjhb3 »
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: roundcube -v- horde (imp/dimp)
« Reply #21 on: May 06, 2009, 03:48:30 PM »
John, what email could I forward one to you at?

Thanks,
E

You should be able to click on my profile and see that info.
......

Offline Elliott

  • ****
  • 150
  • +0/-0
Re: roundcube -v- horde (imp/dimp)
« Reply #22 on: May 06, 2009, 04:01:14 PM »
You should be able to click on my profile and see that info.

Nope... only you can see your email there.
« Last Edit: May 06, 2009, 04:17:46 PM by Elliott »
Elliott

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: roundcube -v- horde (imp/dimp)
« Reply #23 on: May 06, 2009, 04:13:47 PM »
Nope... only you can see your email there. If you feel safer about it, send an email to mace_AT_yurplebliss_DOT_com . I will monitor it for your email and send a few samples to you.

Thanks for that info.  Interesting, I have my profile set allow users to send email to my external account.  You can send it to me at bennettj at johnbennettservices.com

John
......

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
Re: roundcube -v- horde (imp/dimp)
« Reply #24 on: May 06, 2009, 05:28:40 PM »
For those following this thread, I was able to view the email from Elliot just fine with the inline image.  I'll work offline with him to work to correct it and if there is a bug, I'll post a link in this thread to it.

There may actually be a bug here in that in horde/config/mime_drivers.php is supposed to take care of the settings for all of the horde components and each individual horde-component/config/mime_drivers.php is supposed to override the horde settings.  We have horde's mime_drivers.php templated, but then we also have one in imp as well that is not templated and inline html viewing is set to false. 

So, if one enables it in horde, but is still disabled in imp, then imp should override and that could be the issue why when people change things in horde, it still doesn't work because it's been overridden by imp.

John
......

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: roundcube -v- horde (imp/dimp)
« Reply #25 on: May 06, 2009, 09:21:08 PM »
There may actually be a bug here in that in horde/config/mime_drivers.php is supposed to take care of the settings for all of the horde components and each individual horde-component/config/mime_drivers.php is supposed to override the horde settings.  We have horde's mime_drivers.php templated, but then we also have one in imp as well that is not templated and inline html viewing is set to false. 

So, if one enables it in horde, but is still disabled in imp, then imp should override and that could be the issue why when people change things in horde, it still doesn't work because it's been overridden by imp.
Thanks for the heads-up.
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 #26 on: May 07, 2009, 06:18:59 AM »
I added comments to this bug.  http://bugs.contribs.org/show_bug.cgi?id=5224
......

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: roundcube -v- horde (imp/dimp)
« Reply #27 on: May 07, 2009, 02:03:08 PM »
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 Elliott

  • ****
  • 150
  • +0/-0
Re: roundcube -v- horde (imp/dimp)
« Reply #28 on: May 07, 2009, 03:07:53 PM »
Okay so after comparing files I noticed (after John pointed it out) that imp's mime_drivers.php file had the HTML inline settings set to false.

I changed that to true and instantly was able to see inline images in horde/webmail.

If this isn't in the template's system then how do I ensure that it survives reboots? Also, is this something that should be attached to an existing bug in the tracker (like the one referenced above) or should we open a new one?

Cheers for the help!

-E
Elliott

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: roundcube -v- horde (imp/dimp)
« Reply #29 on: May 07, 2009, 03:40:36 PM »
If this isn't in the template's system then how do I ensure that it survives reboots? Also, is this something that should be attached to an existing bug in the tracker (like the one referenced above) or should we open a new one?
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
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)