Discussion:
[SM-USERS] Occasional Empty fields in 'From' and 'Subject' after migrating to new server
r***@hushmail.com
2016-07-04 14:36:43 UTC
Permalink
Hello guys,

I have a weird one here. I migrated from a Digital Ocean machine to my own privately owned device running Ubuntu 16.04. After installing Postfix 3.1.0 and Dovecot 2.2.22 I copied the data directory and the virtual host inboxes across. It was late at night, I logged into the new machine and wow, it worked. All my mail from the past three years is right there.

Today, I logged in to check my email, and I noticed a peculiar thing happened. About 10% of my emails are missing text from their Subject field, which makes them impossible to open. Some of these are even missing text for the From field. This text is visible on my old host, but not visible on the new host. I tried to highlight the page in case the text/background were the same color, but that wasn't true.

There is no pattern to the mix. One message from a particular sender, "***@e.twitter.com" was missing the subject text, but another from the same sender did have a subject text. Has anybody seen this behavior before? I wish I could be of more help, but heisenbugs like these are quite confounding to somebody such as me as I've never studied the Squirrelmail source.

Here is an example:

http://picpaste.com/Screen_Shot_2016-07-04_at_4.32.23_PM.png

Any ideas?

Thanks!



------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-***@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Andrés Chandía
2016-07-04 14:44:16 UTC
Permalink
Check this, maybe you will have to wait for SM to be ready for php7, like me....

http://comments.gmane.org/gmane.mail.squirrelmail.user/39990


_______________________
            andrés
chandía

NMT | Dungupeyem | Corlexim

administrador de:
parles.upf | delingua | amind
terapia | mapuche koyaktu | mail ong mapuche koyaktu | mail psicoaching |
P No imprima innecesariamente. ¡Cuide el medio ambiente!
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-***@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
r***@hushmail.com
2016-07-04 15:35:27 UTC
Permalink
I didn't ask for PHP7. I took it because that was what I got when I ran

#apt-get install squirrelmail

The exact files dropped in my var/cache/apt/archives are:

squirrelmail_2%3a1.4.23~svn20120406-2ubuntu1_all.deb
squirrelmail-locales_1.4.18-20090526-1_all.deb
squirrelmail-viewashtml_3.8-3_all.deb

So, how is it that I do a straightforward install and end up with the wrong version of PHP? Why couldn't it just install the older version that it needed?

Rick.

On 7/4/2016 at 5:00 PM, "Andrés Chandía" <***@chandia.net> wrote:
>
>Check this, maybe you will have to wait for SM to be ready for
>php7, like me....
>
>http://comments.gmane.org/gmane.mail.squirrelmail.user/39990
>
>
>_______________________
>            andrés
>chandía
>
>NMT | Dungupeyem | Corlexim
>
>administrador de:
>parles.upf | delingua | amind
>terapia | mapuche koyaktu | mail ong mapuche koyaktu | mail
>psicoaching |
>P No imprima innecesariamente. ¡Cuide el medio ambiente!
>-------------------------------------------------------------------
>-----------
>Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park
>in San
>Francisco, CA to explore cutting-edge tech and listen to tech
>luminaries
>present their vision of the future. This family event has
>something for
>everyone, including kids. Get more information and register today.
>http://sdm.link/attshape
>-----
>squirrelmail-users mailing list
>Posting guidelines: http://squirrelmail.org/postingguidelines
>List address: squirrelmail-***@lists.sourceforge.net
>List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
>List info (subscribe/unsubscribe/change options):
>https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-***@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/
Andrés Chandía
2016-07-04 16:52:01 UTC
Permalink
When you install squirrelmail it does not install php, php is installed with your ubuntu
distribution, the last ubuntu has php7 by default.



_______________________
            andrés
chandía

NMT | Dungupeyem | Corlexim

administrador de:
parles.upf | delingua | amind
terapia | mapuche koyaktu | mail ong mapuche koyaktu | mail psicoaching |
P No imprima innecesariamente. ¡Cuide el medio ambiente!
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-***@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Niclas Arndt
2016-07-04 19:58:43 UTC
Permalink
I didn't ask for PHP7. I took it because that was what I got when I ran

#apt-get install squirrelmail

The exact files dropped in my var/cache/apt/archives are:

squirrelmail_2%3a1.4.23~svn20120406-2ubuntu1_all.deb
squirrelmail-locales_1.4.18-20090526-1_all.deb
squirrelmail-viewashtml_3.8-3_all.deb

So, how is it that I do a straightforward install and end up with the wrong version of PHP? Why couldn't it just install the older version that it needed?

Rick.

---

This might be old information, but I had a lot of problems when I installed Squirrelmail on OpenSUSE 13.2. A summary of that working config can be found in the mailing list history for December 2014 / January 2015.

I am currently successfully running a patched Squirrelmail 1.4.22 on OpenSUSE Leap 42.1.I installed the distribution packages just to get the dependencies right, but then installed 1.4.22 from the Squirrelmail web site. To get the subjects right, you need to apply a patch. Start looking for it in the Dec 2014 / Jan 2015 mailing list and you will find a link to the patch (v2).

I am sorry that I don't have a simpler answer, but the above should solve your problem.

BR

Niclas

<https://lists.sourceforge.net/lists/listinfo/squirrelmail-users>
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-***@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Tóth Attila
2016-07-04 20:07:46 UTC
Permalink
2016.Július 4.(H) 16:36 időpontban ***@hushmail.com ezt írta:
> I have a weird one here. I migrated from a Digital Ocean machine to my
> own privately owned device running Ubuntu 16.04. After installing Postfix
> 3.1.0 and Dovecot 2.2.22 I copied the data directory and the virtual host
> inboxes across. It was late at night, I logged into the new machine and
> wow, it worked. All my mail from the past three years is right there.
>
> Today, I logged in to check my email, and I noticed a peculiar thing
> happened. About 10% of my emails are missing text from their Subject
> field, which makes them impossible to open. Some of these are even
> missing text for the From field. This text is visible on my old host, but
> not visible on the new host. I tried to highlight the page in case the
> text/background were the same color, but that wasn't true.
>
> There is no pattern to the mix. One message from a particular sender,
> "***@e.twitter.com" was missing the subject text, but another from the
> same sender did have a subject text. Has anybody seen this behavior
> before? I wish I could be of more help, but heisenbugs like these are
> quite confounding to somebody such as me as I've never studied the
> Squirrelmail source.
>
> Here is an example:
>
> http://picpaste.com/Screen_Shot_2016-07-04_at_4.32.23_PM.png
>
> Any ideas?
>
> Thanks!
>

Take a look at on this one, and try the latest patch:
https://sourceforge.net/p/squirrelmail/bugs/2806/

BR: Dw.
--
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057

>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> -----
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-***@lists.sourceforge.net
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>



------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-***@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sou
Niclas Arndt
2016-07-06 08:45:58 UTC
Permalink
This patch fixes the problem for me with OpenSUSE Leap 42.1, Squirrelmail 1.4.22, for Swedish characters:


- open /path/squirrelmail/functions/i18n.php
- in function charset_decode line 187:

if (! $save_html) $string = htmlspecialchars ($string);

change it to:

if (! $save_html) $string = htmlspecialchars ($string, ENT_COMPAT, 'ISO-8859-1');




------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-***@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Paul Lesniewski
2016-07-06 08:52:49 UTC
Permalink
On 2016年07月06日 01:45, Niclas Arndt wrote:
> This patch fixes the problem for me with OpenSUSE Leap 42.1, Squirrelmail 1.4.22, for Swedish characters:
>
>
> - open /path/squirrelmail/functions/i18n.php
> - in function charset_decode line 187:
>
> if (! $save_html) $string = htmlspecialchars ($string);
>
> change it to:
>
> if (! $save_html) $string = htmlspecialchars ($string, ENT_COMPAT, 'ISO-8859-1');

In which case, you should pay note to the message that was sent on this
thread before your last.

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-***@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/
r***@hushmail.com
2016-11-18 21:21:30 UTC
Permalink
I noticed on the page:

http://squirrelmail.org/wiki/PatchingSquirrelMail

That if I'm using RPM, I should update via RPM. Does that suggestion extend to any package manager, such as apt in my case as I am running an OS (Ubuntu) that is a variant of Debian?

Also, the current installed version is identified by apt as being:

squirrelmail/xenial,xenial,now 2:1.4.23~svn20120406-2ubuntu1

Which postdates the most recent issue (CVE-2012-0323) in the patch by a couple weeks. That makes me question the efficacy of the patch. Is it certain that this patch can in fact correct this issue, even though my installation version is newer?

Thanks!



On 7/4/2016 at 3:08 PM, "Tóth Attila" <***@atoth.sote.hu> wrote:
>
>2016.Július 4.(H) 16:36 időpontban ***@hushmail.com ezt
>írta:
>> I have a weird one here. I migrated from a Digital Ocean
>machine to my
>> own privately owned device running Ubuntu 16.04. After
>installing Postfix
>> 3.1.0 and Dovecot 2.2.22 I copied the data directory and the
>virtual host
>> inboxes across. It was late at night, I logged into the new
>machine and
>> wow, it worked. All my mail from the past three years is right
>there.
>>
>> Today, I logged in to check my email, and I noticed a peculiar
>thing
>> happened. About 10% of my emails are missing text from their
>Subject
>> field, which makes them impossible to open. Some of these are
>even
>> missing text for the From field. This text is visible on my old
>host, but
>> not visible on the new host. I tried to highlight the page in
>case the
>> text/background were the same color, but that wasn't true.
>>
>> There is no pattern to the mix. One message from a particular
>sender,
>> "***@e.twitter.com" was missing the subject text, but another
>from the
>> same sender did have a subject text. Has anybody seen this
>behavior
>> before? I wish I could be of more help, but heisenbugs like
>these are
>> quite confounding to somebody such as me as I've never studied
>the
>> Squirrelmail source.
>>
>> Here is an example:
>>
>> http://picpaste.com/Screen_Shot_2016-07-04_at_4.32.23_PM.png
>>
>> Any ideas?
>>
>> Thanks!
>>
>
>Take a look at on this one, and try the latest patch:
>https://sourceforge.net/p/squirrelmail/bugs/2806/
>
>BR: Dw.
>--
>dr Tóth Attila, Radiológus, 06-20-825-8057
>Attila Toth MD, Radiologist, +36-20-825-8057
>
>>
>>
>> -----------------------------------------------------------------
>-------------
>> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park
>in San
>> Francisco, CA to explore cutting-edge tech and listen to tech
>luminaries
>> present their vision of the future. This family event has
>something for
>> everyone, including kids. Get more information and register
>today.
>> http://sdm.link/attshape
>> -----
>> squirrelmail-users mailing list
>> Posting guidelines: http://squirrelmail.org/postingguidelines
>> List address: squirrelmail-***@lists.sourceforge.net
>> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
>> List info (subscribe/unsubscribe/change options):
>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>>
>
>
>
>-------------------------------------------------------------------
>-----------
>Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park
>in San
>Francisco, CA to explore cutting-edge tech and listen to tech
>luminaries
>present their vision of the future. This family event has
>something for
>everyone, including kids. Get more information and register today.
>http://sdm.link/attshape
>-----
>squirrelmail-users mailing list
>Posting guidelines: http://squirrelmail.org/postingguidelines
>List address: squirrelmail-***@lists.sourceforge.net
>List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
>List info (subscribe/unsubscribe/change options):
>https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Paul Lesniewski
2016-11-26 04:17:55 UTC
Permalink
On 2016年11月18日 13:21, ***@hushmail.com wrote:
> I noticed on the page:
>
> http://squirrelmail.org/wiki/PatchingSquirrelMail
>
> That if I'm using RPM, I should update via RPM. Does that suggestion extend to any package manager, such as apt in my case as I am running an OS (Ubuntu) that is a variant of Debian?

Yes. The point is that you shouldn't try to mix and match
installation/update processes.

> Also, the current installed version is identified by apt as being:
>
> squirrelmail/xenial,xenial,now 2:1.4.23~svn20120406-2ubuntu1
>
> Which postdates the most recent issue (CVE-2012-0323) in the patch by a couple weeks. That makes me question the efficacy of the patch. Is it certain that this patch can in fact correct this issue, even though my installation version is newer?

Many times third party packages include patches that postdate the
version that they forked from us. You could try asking in the Ubuntu
community.

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
r***@hushmail.com
2016-11-27 18:46:50 UTC
Permalink
I've decided to change to a different software package. Not sure yet which one, but I need something that works. At one time years back, this package just worked and was maintained.

On 11/25/2016 at 10:18 PM, "Paul Lesniewski" <***@squirrelmail.org> wrote:
>
>On 2016年11月18日 13:21, ***@hushmail.com wrote:
>> I noticed on the page:
>>
>> http://squirrelmail.org/wiki/PatchingSquirrelMail
>>
>> That if I'm using RPM, I should update via RPM. Does that
>suggestion extend to any package manager, such as apt in my case
>as I am running an OS (Ubuntu) that is a variant of Debian?
>
>Yes. The point is that you shouldn't try to mix and match
>installation/update processes.
>
>> Also, the current installed version is identified by apt as
>being:
>>
>> squirrelmail/xenial,xenial,now 2:1.4.23~svn20120406-2ubuntu1
>>
>> Which postdates the most recent issue (CVE-2012-0323) in the
>patch by a couple weeks. That makes me question the efficacy of
>the patch. Is it certain that this patch can in fact correct this
>issue, even though my installation version is newer?
>
>Many times third party packages include patches that postdate the
>version that they forked from us. You could try asking in the
>Ubuntu
>community.
>
>--
>Paul Lesniewski
>SquirrelMail Team
>Please support Open Source Software by donating to SquirrelMail!
>http://squirrelmail.org/donate_paul_lesniewski.php
>
>-------------------------------------------------------------------
>-----------
>-----
>squirrelmail-users mailing list
>Posting guidelines: http://squirrelmail.org/postingguidelines
>List address: squirrelmail-***@lists.sourceforge.net
>List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
>List info (subscribe/unsubscribe/change options):
>https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Craig Arno
2016-11-27 20:41:48 UTC
Permalink
I'm running Ubuntu 16.04 LTS x64 on an 8-core system and Squirrelmail
1.4.23svn works without issue. It's the <other> web email package which
is having problems on my system! :-)

Craig

On 11/27/2016 10:46 AM, ***@hushmail.com wrote:
> I've decided to change to a different software package. Not sure yet which one, but I need something that works. At one time years back, this package just worked and was maintained.
>
> On 11/25/2016 at 10:18 PM, "Paul Lesniewski" <***@squirrelmail.org> wrote:
>> On 2016年11月18日 13:21, ***@hushmail.com wrote:
>>> I noticed on the page:
>>>
>>> http://squirrelmail.org/wiki/PatchingSquirrelMail
>>>
>>> That if I'm using RPM, I should update via RPM. Does that
>> suggestion extend to any package manager, such as apt in my case
>> as I am running an OS (Ubuntu) that is a variant of Debian?
>>
>> Yes. The point is that you shouldn't try to mix and match
>> installation/update processes.
>>
>>> Also, the current installed version is identified by apt as
>> being:
>>> squirrelmail/xenial,xenial,now 2:1.4.23~svn20120406-2ubuntu1
>>>
>>> Which postdates the most recent issue (CVE-2012-0323) in the
>> patch by a couple weeks. That makes me question the efficacy of
>> the patch. Is it certain that this patch can in fact correct this
>> issue, even though my installation version is newer?
>>
>> Many times third party packages include patches that postdate the
>> version that they forked from us. You could try asking in the
>> Ubuntu
>> community.
>>
>> --
>> Paul Lesniewski
>> SquirrelMail Team
>> Please support Open Source Software by donating to SquirrelMail!
>> http://squirrelmail.org/donate_paul_lesniewski.php
>>
>> -------------------------------------------------------------------
>> -----------
>> -----
>> squirrelmail-users mailing list
>> Posting guidelines: http://squirrelmail.org/postingguidelines
>> List address: squirrelmail-***@lists.sourceforge.net
>> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
>> List info (subscribe/unsubscribe/change options):
>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
> ------------------------------------------------------------------------------
> -----
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-***@lists.sourceforge.net
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Paul Lesniewski
2016-11-28 06:50:46 UTC
Permalink
On 2016年11月27日 10:46, ***@hushmail.com wrote:
> I've decided to change to a different software package. Not sure yet which one, but I need something that works. At one time years back, this package just worked and was maintained.

Please spare us childish responses like this. Your questions were
answered and there is not any indication that our product is broken.
You can always install our package directly and not use the one forked
by your distro if they are behind on updating it.

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php
Loading...