Re: [imp] Trouble viewing a specific email in Imp

2017-10-20 Thread John H. Bennett III


Quoting Jan Schneider :


Zitat von John H. Bennett III :


Quoting "John H. Bennett III" :


Quoting Jan Schneider :


Zitat von John H. Bennett III :


Hello all,

I am having an issue viewing all of the content in a particular  
email.  I sent info offlist, as the email had some personal  
stuff in it, but the email was viewed fine, so I'm asking the  
larger list for any assistance.


The email has some text that is not being displayed in horde,  
but is showing up on my mobile device.  When I go to open the  
email in horde+, I see these errors in my log, which I didn't  
bother to check earlier.


Oct  10 18:52:59 www HORDE: [imp] Error running command:  
/usr/bin/identify -format "%n" /tmp/imgPysnjx Error:  
/invalidaccess in --run-- Operand stack:--dict:9/18(L)--
F2   78.591   --dict:6/6(L)--   --dict:6/6(L)--
ArialNarrow-Italic   --dict:11/12(ro)(G)--   --nostringval--
CIDFontObject   --dict:6/6(L)--   --dict:6/6(L)--   59231
--dict:6/6(L)--   --nostringval--   PDFCIDFontName
ArialNarrow-Italic Execution stack:%interp_exit   .runexec2   
 --nostringval--   --nostringval--   --nostringval--   2
%stopped_push   --nostringval--   --nostringval--
--nostringval--   false   1   %stopped_push   1862   1   3
%oparray_pop   1861   1   3   %oparray_pop   1845   1   3
%oparray_pop   --nostringval--   --nostringval--   2   1   1
--nostringval--   %for_pos_int_continue   --nostringval--
--nostringval--   --nostringval--   --nostringval--
%array_continue   --nostringval--   false   1   %stopped_push
--nostringval--   %loop_continue   --nostringval--
--nostringval--   --nostringval--   --nostringval--
--nostringval--   --nostringval--   %array_continue
--nostringval--   --nostringval--   --nostringval--
--nostringval--   --nostringval-- Dictionary stack: 
--dict:1154/1684(ro)(G)--   --dict:1/20(G)--
--dict:75/200(L)--   --dict:75/200(L)--
--dict:106/127(ro)(G)--   --dict:286/300(ro)(G)--
--dict:22/25(L)--   --dict:4/6(L)--   --dict:22/40(L)--
--dict:1/1(ro)(G)-- Current allocation mode is local [pid 20530  
on line 814 of "/usr/share/pear/Horde/Image/Im.php"]


This is probably just from creating an attachment preview. The  
body of the message should still render just fine.


Yes sir, I understand that is should render just fine, but it  
isn't for me using edge, chrome, FF, and that is what I am needing  
assistance with.  Mike showed it did on his system, so I'm hopeful  
that it's simply a matter of me having something misconfigured.   
What else could I look at?  mime_driver settings are where I plan  
to start next when I'm able to get back to looking into this.




Looking at the headers, I see these content-types

Content-Type: multipart/mixed; boundary="001a114e27f69963c9055ae41f12"

--001a114e27f69963c9055ae41f12
Content-Type: multipart/related; boundary="001a114e27f69963c7055ae41f11"

--001a114e27f69963c7055ae41f11
Content-Type: multipart/alternative;  
boundary="001a114e27f69963c3055ae41f10"


--001a114e27f69963c3055ae41f10
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable


My horde5 installation is up to date. I have this configured in  
horde, conf.php


$conf['image']['convert'] = '/usr/bin/convert';
$conf['image']['identify'] = '/usr/bin/identify';
$conf['image']['driver'] = 'Im';

I'm running a distro based on CentOS 6.

PHP 5.3.3 (cli) (built: Mar 22 2017 12:27:09)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies


I have this installed, ImageMagick-6.7.2.7-6.el6.x86_64

I see on the config page that the pecl version is the preferred  
on to use, but it requires at least php 5.4, and I'm not in a  
position to try to upgrade php on this system.


[root@www RPMS]# pecl install imagick
pecl/imagick requires PHP (version >= 5.4.0), installed version is 5.3.3

I would appreciate any help.

I will try setting this up on CentOS7, and see if the problem  
clears, and if so, then know that I need to get there, so I have  
more current packages installed.


Thank you in advanced,

John




--
Jan Schneider
The Horde Project
https://www.horde.org/

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Thank you again,

John


Finally had a chance to look at this more.  In my  
imp/config/mime_drivers.local.php file I have
$mime_drivers['html']['inline'] = true;.  If I change that to  
false, then I can see the text of the email that I reported having  
problems viewing in imp, that displays fine on my mobile device.   
But, that presents another issue in that html email now can't be  
viewed, because of the changed setting.


On some emails, I get the below message.

This message part contains HTML data, but inline HTML display is disabled.
View HTML data in new window.
Convert HTML data to plain text and view in new window.

Others I get the text

Re: [imp] Trouble viewing a specific email in Imp

2017-10-20 Thread Jan Schneider


Zitat von John H. Bennett III :


Quoting "John H. Bennett III" :


Quoting Jan Schneider :


Zitat von John H. Bennett III :


Hello all,

I am having an issue viewing all of the content in a particular  
email.  I sent info offlist, as the email had some personal stuff  
in it, but the email was viewed fine, so I'm asking the larger  
list for any assistance.


The email has some text that is not being displayed in horde, but  
is showing up on my mobile device.  When I go to open the email  
in horde+, I see these errors in my log, which I didn't bother to  
check earlier.


Oct  10 18:52:59 www HORDE: [imp] Error running command:  
/usr/bin/identify -format "%n" /tmp/imgPysnjx Error:  
/invalidaccess in --run-- Operand stack:--dict:9/18(L)--   F2  
  78.591   --dict:6/6(L)--   --dict:6/6(L)--   ArialNarrow-Italic  
  --dict:11/12(ro)(G)--   --nostringval--   CIDFontObject
--dict:6/6(L)--   --dict:6/6(L)--   59231   --dict:6/6(L)--
--nostringval--   PDFCIDFontName   ArialNarrow-Italic Execution  
stack:%interp_exit   .runexec2   --nostringval--
--nostringval--   --nostringval--   2   %stopped_push
--nostringval--   --nostringval--   --nostringval--   false   1
%stopped_push   1862   1   3   %oparray_pop   1861   1   3
%oparray_pop   1845   1   3   %oparray_pop   --nostringval--
--nostringval--   2   1   1   --nostringval--
%for_pos_int_continue   --nostringval--   --nostringval--
--nostringval--   --nostringval--   %array_continue
--nostringval--   false   1   %stopped_push   --nostringval--
%loop_continue   --nostringval--   --nostringval--
--nostringval--   --nostringval--   --nostringval--
--nostringval--   %array_continue   --nostringval--
--nostringval--   --nostringval--   --nostringval--
--nostringval-- Dictionary stack:--dict:1154/1684(ro)(G)--
--dict:1/20(G)--   --dict:75/200(L)--   --dict:75/200(L)--
--dict:106/127(ro)(G)--   --dict:286/300(ro)(G)--
--dict:22/25(L)--   --dict:4/6(L)--   --dict:22/40(L)--
--dict:1/1(ro)(G)-- Current allocation mode is local [pid 20530  
on line 814 of "/usr/share/pear/Horde/Image/Im.php"]


This is probably just from creating an attachment preview. The  
body of the message should still render just fine.


Yes sir, I understand that is should render just fine, but it isn't  
for me using edge, chrome, FF, and that is what I am needing  
assistance with.  Mike showed it did on his system, so I'm hopeful  
that it's simply a matter of me having something misconfigured.   
What else could I look at?  mime_driver settings are where I plan  
to start next when I'm able to get back to looking into this.




Looking at the headers, I see these content-types

Content-Type: multipart/mixed; boundary="001a114e27f69963c9055ae41f12"

--001a114e27f69963c9055ae41f12
Content-Type: multipart/related; boundary="001a114e27f69963c7055ae41f11"

--001a114e27f69963c7055ae41f11
Content-Type: multipart/alternative;  
boundary="001a114e27f69963c3055ae41f10"


--001a114e27f69963c3055ae41f10
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable


My horde5 installation is up to date. I have this configured in  
horde, conf.php


$conf['image']['convert'] = '/usr/bin/convert';
$conf['image']['identify'] = '/usr/bin/identify';
$conf['image']['driver'] = 'Im';

I'm running a distro based on CentOS 6.

PHP 5.3.3 (cli) (built: Mar 22 2017 12:27:09)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies


I have this installed, ImageMagick-6.7.2.7-6.el6.x86_64

I see on the config page that the pecl version is the preferred  
on to use, but it requires at least php 5.4, and I'm not in a  
position to try to upgrade php on this system.


[root@www RPMS]# pecl install imagick
pecl/imagick requires PHP (version >= 5.4.0), installed version is 5.3.3

I would appreciate any help.

I will try setting this up on CentOS7, and see if the problem  
clears, and if so, then know that I need to get there, so I have  
more current packages installed.


Thank you in advanced,

John




--
Jan Schneider
The Horde Project
https://www.horde.org/

--
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org


Thank you again,

John


Finally had a chance to look at this more.  In my  
imp/config/mime_drivers.local.php file I have
$mime_drivers['html']['inline'] = true;.  If I change that to false,  
then I can see the text of the email that I reported having problems  
viewing in imp, that displays fine on my mobile device.  But, that  
presents another issue in that html email now can't be viewed,  
because of the changed setting.


On some emails, I get the below message.

This message part contains HTML data, but inline HTML display is disabled.
View HTML data in new window.
Convert HTML data to plain text and view in new window.

Others I get the text piece, and if they offer a