Re: [SM-USERS] squirrelmail can not list folders

2010-07-04 Thread Michelle Konzack
Hello Tomas Kuliavas,

Am 2010-07-03 06:45:12, hacktest Du folgendes herunter:
> SquirrelMail folder listing code has few changes between 1.4.15 and 1.4.20
> versions. The only serious change is switch from ereg to pcre. Which PHP 
> version
> are you using? Can you test your PHP settings
> (http://www.squirrelmail.org/wiki/TestPHPSettings) and show memory_limit,

memory_limit32M 32M

> display_errors,

display_errors  On  On

> error_reporting,

error_reporting 61356135

> pcre.backtrack_limit
> and pcre.recursion_limit

Weird, because I have:

PCRE (Perl Compatible Regular Expressions) Support  enabled
PCRE Library Version6.7.7.4 2008-07-04 

but the two vars are not available.

> values. Do you use some PHP opcache extensions (apc, commercial zend 
> extensions
> from zend server or zend platform, xcache or others)?

No

> Can you install 1.4.15 and make sure that this version can list folders on
> account which fails in 1.4.20? You don't have to replace existing 1.4.20
> install. Just install 1.4.15 in different location.

If I klick on the Link "Folders" I get a page only with the  header  but
no list where I can select the folders.

Currently I have to try out:




But using suirrelmail together with mutt  screw  up  all.  Once  I  have
accessed my courier-imap through squirrelmail, ANY NEW MAILS inside mutt
are gone.

Sorry, but this is the last crap.  squirrelail should not mark mails  as
read if it check the directroies for existing messages.  Now I  can  not
acces the arround 200 folders where I have more  then  400.000  messages
stored.  So only squirrelmail know, where the new messages are but I can
not access the folders.

Also in my BTS_debian.* folder, any read messages marked as unread.
Exactly more then 180.000 messages.

Why does squirrelmail screw up things if peoples  have  more  then  four
folders?

> Are you sure that problem happens only after certain number of IMAP folders 
> and
> is not related to some specific IMAP folder. If courierimapsubscribe is too 
> big,
> are you sure that there is nothing strange in it. Like same folder is 
> subscribed
> several times.

No it is not, because "mutt" and "thunderbird" use it to  and  there  is
nothing wrong.

It seems I have to stop  squirrelmail  entirely  do  to  the  unexpected
behaviours.

And of course, WHY must "squirrelmail"  use  "courierimapsubscribe"  and
can not use its ownlist, if it aready create user config files?  If I am
on the road I do not want to use/see the same folders as if I am  on  my
local machine where my 4 servers has each a 10GE interface to the Switch
and each machine a 1 GE link.

After accessing the Courier server through squirelmail,  I  am  no  more
able to access the server using my Nokia Smartphone.  Even  my  TabletPC
using an TI Sitara AM3517 500MHz with plenty of memory has problems.

I think, there should be a feature in  squirrelmail  which  let  a  user
after loging choose, which profile he/she want to use.

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first-
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] squirrelmail can not list folders

2010-07-04 Thread Michelle Konzack
Hello Tomas Kuliavas,

Am 2010-07-03 10:31:55, hacktest Du folgendes herunter:
> sorting is enabled in SquirrelMail and check size of user's .pref file.

3815 bytes

> SquirrelMail can load src/folders.php with 2000+ mailboxes in 10-15 seconds.
> Both Courier and Dovecot have similar performance. Left listing takes 20 
> seconds
> (+ time required for transfer of 500KB file), if folders are not collapsed and
> we ignore Courier's EXAMINE/SELECT performance differences on larger 
> mailboxes.
> Peak memory usage is below default PHP memory limit. I could exceed default 
> PHP
> memory limit only in unoptimized setup.
> 
> How big your courierimapsubscribed was? Mine is less than 32KB.

194 entries with 6778 Bytes

> How big is your
> src/folders.php page, if you save it on your computer?

2696 Bytes (See attachment)

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/








SquirrelMail 1.4.20
















   


Sign 
Out
   




Compose  
Addresses  
Folders  
Options  
Search  
Help  
Fetch    



http://www.squirrelmail.org/"; target="_blank">SquirrelMail
   





Folders





signature.pgp
Description: Digital signature
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first-
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] squirrelmail can not list folders

2010-07-04 Thread Tomas Kuliavas
2010.07.04 20:26 Michelle Konzack rašė:
>> values. Do you use some PHP opcache extensions (apc, commercial zend
>> extensions
>> from zend server or zend platform, xcache or others)?
>
> No

Consider installing apc. It reduces peak memory usage and with 32MB memory
limit you might hit memory limits.

>> Can you install 1.4.15 and make sure that this version can list folders
>> on
>> account which fails in 1.4.20? You don't have to replace existing 1.4.20
>> install. Just install 1.4.15 in different location.
>
> If I klick on the Link "Folders" I get a page only with the  header  but
> no list where I can select the folders.
>
> Currently I have to try out:
> 
> 
> 
>
> But using suirrelmail together with mutt  screw  up  all.  Once  I  have
> accessed my courier-imap through squirrelmail, ANY NEW MAILS inside mutt
> are gone.
>
> Sorry, but this is the last crap.  squirrelail should not mark mails  as
> read if it check the directroies for existing messages.  Now I  can  not
> acces the arround 200 folders where I have more  then  400.000  messages
> stored.  So only squirrelmail know, where the new messages are but I can
> not access the folders.

SquirrelMail does not mark emails as read, if user does not ask for that.
Looks like your Mutt is setup to use Maildir directly and courier moved
new mails from new to cur after you logged in IMAP. Mutt stored
read/unread information differently.

> Also in my BTS_debian.* folder, any read messages marked as unread.
> Exactly more then 180.000 messages.

Is server side sorting turned on? Is Mutt set to use IMAP or works with
Maildir directly?

>> Are you sure that problem happens only after certain number of IMAP
>> folders and
>> is not related to some specific IMAP folder. If courierimapsubscribe is
>> too big,
>> are you sure that there is nothing strange in it. Like same folder is
>> subscribed
>> several times.
>
> No it is not, because "mutt" and "thunderbird" use it to  and  there  is
> nothing wrong.
>
> It seems I have to stop  squirrelmail  entirely  do  to  the  unexpected
> behaviours.
>
> And of course, WHY must "squirrelmail"  use  "courierimapsubscribe"  and
> can not use its ownlist, if it aready create user config files?  If I am
> on the road I do not want to use/see the same folders as if I am  on  my
> local machine where my 4 servers has each a 10GE interface to the Switch
> and each machine a 1 GE link.
>
> After accessing the Courier server through squirelmail,  I  am  no  more
> able to access the server using my Nokia Smartphone.  Even  my  TabletPC
> using an TI Sitara AM3517 500MHz with plenty of memory has problems.
>
> I think, there should be a feature in  squirrelmail  which  let  a  user
> after loging choose, which profile he/she want to use.

SquirrelMail uses standard IMAP subscription commands.
courierimapsubscribed is not used by SquirrelMail. It is used by
Courier-IMAP. Looks like your mobile mailer does some thing too and you
bombed it after you subscribed lots of folders in SquirrelMail.

How big is your user's pref file and is server side sorting turned on in
SquirrelMail configuration?

-- 
Tomas


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
-
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] squirrelmail can not list folders

2010-07-04 Thread Tomas Kuliavas


Michelle Konzack-2 wrote:
> 
>> How big is your
>> src/folders.php page, if you save it on your computer?
> 
> 2696 Bytes (See attachment)
> 
> Folders border="0">
> 
> 
> 
> 
> 

After that output SquirrelMail does
---
$imapConnection = sqimap_login ($username, $key, $imapServerAddress,
$imapPort, 0);

// force retrieval of a non cached folderlist
$boxes = sqimap_mailbox_list($imapConnection,true);
---
then other output starts

looks like sqimap_mailbox_list() function fails with fatal memory limit
related error. sqimap_login() should not fail. It is not that complex or
resource intensive. Main problem - I can't reproduce it on PHP 5.2.13. Will
try to increase number of messages in test folders tomorrow. Looks like you
get mailbox list in left_main.php, then mails are listed in right_main.php,
cached information overloads memory and src/folders.php hits memory limit
when tries to get uncached mailbox list.

-- 
Tomas
-- 
View this message in context: 
http://old.nabble.com/squirrelmail-can-not-list-folders-tp29040712p29070924.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
-
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] squirrelmail can not list folders

2010-07-04 Thread Michelle Konzack
Hello Tomas Kuliavas,

Am 2010-07-04 21:37:56, hacktest Du folgendes herunter:
> SquirrelMail does not mark emails as read, if user does not ask for that.
> Looks like your Mutt is setup to use Maildir directly and courier moved
> new mails from new to cur after you logged in IMAP. Mutt stored
> read/unread information differently.

No, I use mutt with IMAP

If a messages comes in, it is stored in the /new/ folder and  the  first
IMAP client which access the IMAP store, trigger  courier  to  move  the
messages to /cur/.  But now if I access the IMAP server with  mutt,  the
messges are all maked as "OLD" and not "NEW".  So mutt does not find any
messages to access.

I use in my own webmail tool "php5-imap" and here the behaviour is right

> Is server side sorting turned on? Is Mutt set to use IMAP or works with
> Maildir directly?

No, no server side sorting and "mutt2 use IMAP

> SquirrelMail uses standard IMAP subscription commands.
> courierimapsubscribed is not used by SquirrelMail. It is used by
> Courier-IMAP. Looks like your mobile mailer does some thing too and you
> bombed it after you subscribed lots of folders in SquirrelMail.

The file ~/Maildir/courierimapsubscribe had always  arround  15  folders
listed and mutt was configured to ignore the file using

set map_list_subscribed=no

because my Nokia has not such function which mean  I  have  to  use  the
standard courierimapsubscribe for it which was  modified  after  I  used
squirrelmail and had severa 100 folders isted.

> How big is your user's pref file and is server side sorting turned on in
> SquirrelMail configuration?

-rw-rw- 1 root www-data 3815 2010-07-04 19:46 
/var/lib/squirrelmail/data-tdnet/michelle.konzack.pref

Thanks, Greetings and nice Day/Evening
Michelle Konzack

-- 
# Debian GNU/Linux Consultant ##
   Development of Intranet and Embedded Systems with Debian GNU/Linux

itsyst...@tdnet France EURL   itsyst...@tdnet UG (limited liability)
Owner Michelle KonzackOwner Michelle Konzack

Apt. 917 (homeoffice)
50, rue de Soultz Kinzigstraße 17
67100 Strasbourg/France   77694 Kehl/Germany
Tel: +33-6-61925193 mobil Tel: +49-177-9351947 mobil
Tel: +33-9-52705884 fix

  
 

Jabber linux4miche...@jabber.ccc.de
ICQ#328449886

Linux-User #280138 with the Linux Counter, http://counter.li.org/


signature.pgp
Description: Digital signature
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first-
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