[imp] Trouble viewing a specific email in Imp
Jan Schneider
jan at horde.org
Fri Oct 20 09:37:40 UTC 2017
Zitat von John H. Bennett III <bennettj at thebennetthome.com>:
> Quoting "John H. Bennett III" <bennettj at thebennetthome.com>:
>
>> Quoting Jan Schneider <jan at horde.org>:
>>
>>> Zitat von John H. Bennett III <bennettj at thebennetthome.com>:
>>>
>>>> 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 at 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-unsubscribe at 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 link to view in
> browser, I can do that, or I can click on all parts in imp, then
> view the HTML.
>
> Not really what I want, but that seems to be how horde works, in at
> least what I am seeing and trying.
>
> I setup OL2013, and the latest thunderbird client, and all mail
> items display as I think they should. The mail I was having an
> issue with also has background stationary, and an image in the
> signature line, and those also display fine on these 2 clients, but
> doesn't in imp.
>
> So, it looks like I will need to make a decision on what to do.
> Either stay with using imp, and know that in some cases, I'm going
> to have to look at all parts in order to see the entire email
> contents, minus the possible signature and backgrounds, or not use
> imp, switch clients, and train others how to use that particular
> client.
>
> I'm not knocking imp because I have been using it since since horde
> 3, so if I have stated something wrong in how I am seeing and
> interpreting horde's behavior, I'll be happy to test/verify some
> other settings that may lead to a better solution.
>
> I also have a git install of horde, and did a git pull and it
> updated a lot of items, and the testing/results are the same with
> that version.
>
> Again, any additional things to look at are appreciated and welcomed.
>
> Thank you,
>
> John
Do you have the tidy PHP extension installed?
--
Jan Schneider
The Horde Project
https://www.horde.org/
More information about the imp
mailing list