Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-26-2006, 06:19 AM
Loyal Member
 
Posts: 79
Default java.io.IOException accessing big zimbra mail folder from squirrelmail client

Hi,

Some of the people at my office are on the road a lot, working at customers with old browsers that don't support ajax. For these situations I want to provide them with the squirrelmail webmail client.

I got it set up ok i think, the only problem is that viewing "big" folders doesn't work. My Sent Items folder for instance, contains over 9000 messages. When Squirrelmail tries to open it, it takes around 1 minute and then it shows me the browser download file dialog for the file right_mail.php. When I save that and open it, there's nothing in it.

The zimbra.log says:

2006-11-25 14:43:59,737 INFO [ImapServer-55] [ip=10.0.0.5;name=aaa@bbb.com;] imap - [ search is: in:"INBOX" (item:all ) ]
2006-11-25 14:44:11,926 INFO [ImapServer-55] [] ProtocolHandler - Exception occurred while handling connection
java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher .java:29)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.jav a:104)
at sun.nio.ch.IOUtil.write(IOUtil.java:75)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelIm pl.java:302)
at java.nio.channels.Channels.write(Channels.java:60)
at java.nio.channels.Channels.access$000(Channels.jav a:47)
at java.nio.channels.Channels$1.write(Channels.java:1 34)
at java.io.BufferedOutputStream.flushBuffer(BufferedO utputStream.java:65)
at java.io.BufferedOutputStream.write(BufferedOutputS tream.java:109)
at java.io.FilterOutputStream.write(FilterOutputStrea m.java:80)
at com.zimbra.cs.imap.ImapHandler.doFETCH(ImapHandler .java:1684)
at com.zimbra.cs.imap.ImapHandler.executeRequest(Imap Handler.java:394)
at com.zimbra.cs.imap.ImapHandler.processCommand(Imap Handler.java:227)
at com.zimbra.cs.tcpserver.ProtocolHandler.processCon nection(ProtocolHandler.java:231)
at com.zimbra.cs.tcpserver.ProtocolHandler.run(Protoc olHandler.java:198)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
2006-11-25 14:44:11,927 INFO [ImapServer-55] [] ProtocolHandler - Handler exiting normally


Before reporting it as a bug, has anyone seen this before?
Is there a parameter I missed?

I'm running 4.5.0_BETA1_440.UBUNTU6.

Any ideas would be appreciated.

kind regards, Bart.
Reply With Quote
  #2 (permalink)  
Old 11-26-2006, 07:22 AM
Intermediate Member
 
Posts: 23
Default Squirrelmail settings

I've seen this type of timeout errors reported on the SquirrelMail mailing list several times. It has to do with (IIRC) IMAP server side sorting setting. Try searching the SM mailing list also.
Reply With Quote
  #3 (permalink)  
Old 11-26-2006, 01:38 PM
Loyal Member
 
Posts: 79
Default

hmm, I searched somewhat more and found suggestions about memory limits and timeouts settings in php.ini.
I played around but it didn't help.

Then I saw that I had my mail folders sorted in squirrelmail. I removed that and now it works. I guess something doesn't like those 9000 messages being passed from zimbra to squirrelmail to be sorted. I did however see (from TOP) that it was not the sorting part that caused the problem. The pipe broke while the messages were being transferred.

By the way, why isn't the imap command SORT implemented by zimbra?

cheers Bart.
Reply With Quote
  #4 (permalink)  
Old 11-27-2006, 09:08 AM
Zimbra Employee
 
Posts: 1,434
Default SORT extension

Quote:
Originally Posted by eombah View Post
By the way, why isn't the imap command SORT implemented by zimbra?
It's a work-in-progress extension that hasn't yet been finalized, and -- believe it or not -- nobody has ever asked for it before. If you'd like to see it, please file an enhancement request in bugzilla!
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #5 (permalink)  
Old 11-27-2006, 02:36 PM
Loyal Member
 
Posts: 79
Default

I entered
bug 12491
cheers Bart.
Reply With Quote
  #6 (permalink)  
Old 11-28-2006, 01:21 AM
Zimbra Consultant & Moderator
 
Posts: 11,508
Default

Quote:
Originally Posted by eombah View Post
I entered
bug 12491
cheers Bart.
Vote on it as well.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 11-29-2006, 03:07 PM
Loyal Member
 
Posts: 79
Default

done
----------
Reply With Quote
  #8 (permalink)  
Old 11-30-2006, 12:24 PM
Intermediate Member
 
Posts: 16
Default Excellent!

I have on my todo to provide access to zimbra from squirrelmail as well, so any detailed info you have would interest me!

On a separate topic, since you have bugzilla accouts, I am trying to raise some attention to bug 451: Ability to manually merge multiple conversations as I think that would be a wonderful feature. Please vote if you are interested!

Thanks,
Patrick
Reply With Quote
  #9 (permalink)  
Old 12-03-2006, 01:43 PM
Zimbra Employee
 
Posts: 4,784
Default

FYI - The next beta of 4.5 will include the first cut of our HTML-lite client. This is a pure HTML/CSS client for mail and contacts. It will give you the same Zimbra look and feel but with reduced client and network requirements. Users on older computers, slow network connections, or other places where AJAX is too resource intensive will be to manage their mail with ease. Please take a look when the next beta is released and let us know what you think.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #10 (permalink)  
Old 12-03-2006, 02:20 PM
Loyal Member
 
Posts: 79
Default

sounds just what we need. i will look out for the next beta.
regards Bart.
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0