[SM-USERS] Blank pages / no response

2010-01-14 Thread squirrelmail


Hi,

Currently running CentOS5.2, with Squirrelmail 1.4.17, php 5.1.6  Our 
users normally check email through IMAP. We only use squirrelmail for 
users when they have no local mail client, or to set the out of 
office settings or other associated account data.


We are using the postfixadmin plugin for users to be able to set out 
office. I have a user that when she selects Options > Out of Office, 
she gets a blank page.

Further investigation shows
I can reproduce the problem by importing the database and her mail 
into a dev environment
Her "Compose" option also returns  blank page (aha!)
That deleting all of her messages causes both Compose and Out of 
Office to correct.

Which tells me that it's either a "bad" message in there somewhere of 
her 3200 messages, or maybe a timing issue somewhere?

Thanks for any insights you might have.

Rick


Rick Steeves
http://www.sinister.net

In reality nothing is more damaging to the adventurous spirit within 
a man than a secure future -  Alexander Supertramp


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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


Re: [SM-USERS] Blank pages / no response

2010-01-14 Thread squirrelmail


As my imap server supports threading and sort, it looks like fixing 
conf.cfg for
$allow_thread_sort= TRUE;
$allow_server_sort= TRUE;

resolves the problem(s)

Rick

At 01:38 PM 1/14/2010, squirrelm...@corwyn.net wrote:


>Hi,
>
>Currently running CentOS5.2, with Squirrelmail 1.4.17, php 5.1.6  Our
>users normally check email through IMAP. We only use squirrelmail for
>users when they have no local mail client, or to set the out of
>office settings or other associated account data.
>
>
>We are using the postfixadmin plugin for users to be able to set out
>office. I have a user that when she selects Options > Out of Office,
>she gets a blank page.
>
>Further investigation shows
>I can reproduce the problem by importing the database and her mail
>into a dev environment
>Her "Compose" option also returns  blank page (aha!)
>That deleting all of her messages causes both Compose and Out of
>Office to correct.
>
>Which tells me that it's either a "bad" message in there somewhere of
>her 3200 messages, or maybe a timing issue somewhere?
>
>Thanks for any insights you might have.
>
>Rick
>
>
>Rick Steeves
>http://www.sinister.net
>
>In reality nothing is more damaging to the adventurous spirit within
>a man than a secure future -  Alexander Supertramp
>
>
>--
>Throughout its 18-year history, RSA Conference consistently attracts the
>world's best and brightest in the field, creating opportunities for Conference
>attendees to learn about information security's most important issues through
>interactions with peers, luminaries and emerging and established companies.
>http://p.sf.net/sfu/rsaconf-dev2dev
>-
>squirrelmail-users mailing list
>Posting guidelines: http://squirrelmail.org/postingguidelines
>List address: squirrelmail-users@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




--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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


Re: [SM-USERS] Blank pages / no response

2010-01-14 Thread Tomas Kuliavas


squirrelmail-5 wrote:
> 
> Hi,
> 
> Currently running CentOS5.2, with Squirrelmail 1.4.17, php 5.1.6  Our 
> users normally check email through IMAP. We only use squirrelmail for 
> users when they have no local mail client, or to set the out of 
> office settings or other associated account data.
> 
> We are using the postfixadmin plugin for users to be able to set out 
> office. I have a user that when she selects Options > Out of Office, 
> she gets a blank page.
> 
> Further investigation shows
> I can reproduce the problem by importing the database and her mail 
> into a dev environment
> Her "Compose" option also returns  blank page (aha!)
> That deleting all of her messages causes both Compose and Out of 
> Office to correct.
> 
> Which tells me that it's either a "bad" message in there somewhere of 
> her 3200 messages, or maybe a timing issue somewhere?
> 
> Thanks for any insights you might have.
> 
white page on 3k messages usually means that you are using SquirrelMail php
based message sorting. Enable server side sorting in SquirrelMail
configuration, if your IMAP server supports it. You should not turn on
server side threading. It does not improve speed and only adds other option
with high I/O and memory usage.

Options -> Out Of Office error should not be related to mailbox or compose
and there is nothing that might trigger memory intensive usage or slow
execution. Postfixadmin plugin is old and might have issues with newer
SquirrelMail versions. Check your webservice and php error logs.

Some SquirrelMail configs can have higher memory usage. If you think that
you are hitting it, try increasing PHP memory limits, reduce number of
installed plugins (if I remember correctly, gpg and get_uuencode are primary
suspects) or install PHP APC extension. If you want more thorough analysis,
Zend sells Zend Platform.

-- 
Tomas
-- 
View this message in context: 
http://old.nabble.com/Blank-pages---no-response-tp27166220p27167143.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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


Re: [SM-USERS] Blank pages / no response

2010-01-14 Thread squirrelmail
At 02:52 PM 1/14/2010, Tomas Kuliavas wrote:
>white page on 3k messages usually means that you are using SquirrelMail php
>based message sorting. Enable server side sorting in SquirrelMail
>configuration, if your IMAP server supports it. You should not turn on
>server side threading. It does not improve speed and only adds other option
>with high I/O and memory usage.

thank you - good to know.

$allow_thread_sort= TRUE;
$allow_server_sort= FALSE;

however fixes it (I didn't need to set them both to TRUE, just 
thread_sort, only change I made)

$allow_thread_sort= FALSE;
$allow_server_sort= TRUE;
does not fix it.

>Options -> Out Of Office error should not be related to mailbox or compose
>and there is nothing that might trigger memory intensive usage or slow
>execution. Postfixadmin plugin is old and might have issues with newer
>SquirrelMail versions. Check your webservice and php error logs.

Well it fixed with the change above. Odd to me as well, but glad it's fixed.

rick




--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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


Re: [SM-USERS] Blank pages / no response

2010-01-14 Thread Tomas Kuliavas


squirrelmail-5 wrote:
> 
> At 02:52 PM 1/14/2010, Tomas Kuliavas wrote:
>>white page on 3k messages usually means that you are using SquirrelMail
php
>>based message sorting. Enable server side sorting in SquirrelMail
>>configuration, if your IMAP server supports it. You should not turn on
>>server side threading. It does not improve speed and only adds other
option
>>with high I/O and memory usage.
> 
> thank you - good to know.
> 
> $allow_thread_sort= TRUE;
> $allow_server_sort= FALSE;
> 
> however fixes it (I didn't need to set them both to TRUE, just 
> thread_sort, only change I made)
> 
> $allow_thread_sort= FALSE;
> $allow_server_sort= TRUE;
> does not fix it.
> 
Are you sure about it? Maybe you confused these two options.
$allow_thread_sort = TRUE; does not improve SquirrelMail performance. It
might do something only when user has threading turned on for selected
mailbox and server is good at sorting messages by thread. User can't turn on
threading for selected mailbox, if it is not enabled in SquirrelMail
configuration. If mailbox is not threaded, this option does nothing. You
can't fix problem just by turning it on in SquirrelMail configuration. User
does not use it. 

Turning off server side sorting is not good thing, if your IMAP server
supports SORT extension.

Could you set error reporting to E_ALL and turn on display of PHP errors?
Then switch threading off in SquirrelMail configuration and try to reproduce
your problem. Blank page can be caused by fatal PHP error or memory limit.

-- 
Tomas
-- 
View this message in context: 
http://old.nabble.com/Blank-pages---no-response-tp27166220p27173152.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@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